没有合适的资源?快使用搜索试试~ 我知道了~
forever-alone:检查消息在一段时间内的唯一性
共23个文件
rb:15个
gitignore:1个
rspec:1个
需积分: 9 0 下载量 18 浏览量
2021-06-07
20:01:47
上传
评论
收藏 12KB ZIP 举报
温馨提示
永远的孤独 这个 gem 使用 Redis 来保存最近的短信列表。 ForeverAlone 计算消息的十六进制摘要,并在给定的有效期内将它们存储到 Redis 中。 安装 将此行添加到应用程序的 Gemfile 中: gem 'forever-alone' 然后执行: $ bundle 或者自己安装: $ gem install forever-alone 用法 # init ForeverAlone with default timeout(30 minutes) forever_alone = ForeverAlone . new ( "some message" ) # or with custom timeout forever_alone = ForeverAlone . new ( "some message" , 5 . minutes )
资源推荐
资源详情
资源评论
收起资源包目录
forever-alone-master.zip (23个子文件)
forever-alone-master
.gitignore 217B
.rspec 30B
.travis.yml 157B
LICENSE.txt 1KB
spec
forever-alone
validator
unique_spec.rb 382B
key_spec.rb 568B
flush_locks_spec.rb 381B
remember_spec.rb 356B
ensure_spec.rb 772B
redis_spec.rb 133B
new_spec.rb 344B
configuration_spec.rb 1KB
spec_helper.rb 4KB
README.md 2KB
lib
forever-alone.rb 528B
forever-alone
validator.rb 895B
configuration.rb 351B
version.rb 44B
errors.rb 71B
forever
alone.rb 24B
forever-alone.gemspec 1KB
Gemfile 98B
Rakefile 29B
共 23 条
- 1
资源评论
胡説个球
- 粉丝: 25
- 资源: 4613
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功