redis-objects-daily-counter 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.circleci/config.yml +204 -0
- data/.gem_comet.yml +24 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +39 -0
- data/.rubocop_todo.yml +32 -0
- data/CHANGELOG.md +21 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Dockerfile +7 -0
- data/Gemfile +18 -0
- data/Gemfile.lock +95 -0
- data/LICENSE.txt +21 -0
- data/README.md +122 -0
- data/Rakefile +12 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docker-compose.yml +17 -0
- data/lib/redis/annual_counter.rb +18 -0
- data/lib/redis/base_counter_object.rb +54 -0
- data/lib/redis/daily_counter.rb +18 -0
- data/lib/redis/hourly_counter.rb +26 -0
- data/lib/redis/minutely_counter.rb +26 -0
- data/lib/redis/monthly_counter.rb +18 -0
- data/lib/redis/objects/annual_counters.rb +41 -0
- data/lib/redis/objects/daily-counter/version.rb +11 -0
- data/lib/redis/objects/daily_counters.rb +41 -0
- data/lib/redis/objects/hourly_counters.rb +41 -0
- data/lib/redis/objects/minutely_counters.rb +41 -0
- data/lib/redis/objects/monthly_counters.rb +41 -0
- data/lib/redis/objects/weekly_counters.rb +41 -0
- data/lib/redis/weekly_counter.rb +18 -0
- data/lib/redis-objects-daily-counter.rb +37 -0
- data/redis-objects-daily-counter.gemspec +35 -0
- metadata +93 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/redis/objects/daily-counter/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'redis-objects-daily-counter'
|
7
|
+
spec.version = Redis::Objects::Daily::Counter::VERSION
|
8
|
+
spec.authors = ['ryz310']
|
9
|
+
spec.email = ['ryz310@gmail.com']
|
10
|
+
|
11
|
+
spec.summary = 'Daily counter within Redis::Objects'
|
12
|
+
spec.description = 'Daily counter within Redis::Objects. Works with any class or ORM.'
|
13
|
+
spec.homepage = 'https://github.com/ryz310/redis-objects-daily-counter'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
17
|
+
spec.metadata['source_code_uri'] = 'https://github.com/ryz310/redis-objects-daily-counter'
|
18
|
+
spec.metadata['changelog_uri'] = 'https://github.com/ryz310/redis-objects-daily-counter/blob/master/CHANGELOG.md'
|
19
|
+
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
24
|
+
end
|
25
|
+
spec.bindir = 'exe'
|
26
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ['lib']
|
28
|
+
|
29
|
+
spec.required_ruby_version = '>= 2.6.0'
|
30
|
+
|
31
|
+
spec.add_dependency 'redis-objects'
|
32
|
+
|
33
|
+
# For more information and examples about making a new gem, checkout our
|
34
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
35
|
+
end
|
metadata
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: redis-objects-daily-counter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ryz310
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: redis-objects
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: Daily counter within Redis::Objects. Works with any class or ORM.
|
28
|
+
email:
|
29
|
+
- ryz310@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".circleci/config.yml"
|
35
|
+
- ".gem_comet.yml"
|
36
|
+
- ".gitignore"
|
37
|
+
- ".rspec"
|
38
|
+
- ".rubocop.yml"
|
39
|
+
- ".rubocop_todo.yml"
|
40
|
+
- CHANGELOG.md
|
41
|
+
- CODE_OF_CONDUCT.md
|
42
|
+
- Dockerfile
|
43
|
+
- Gemfile
|
44
|
+
- Gemfile.lock
|
45
|
+
- LICENSE.txt
|
46
|
+
- README.md
|
47
|
+
- Rakefile
|
48
|
+
- bin/console
|
49
|
+
- bin/setup
|
50
|
+
- docker-compose.yml
|
51
|
+
- lib/redis-objects-daily-counter.rb
|
52
|
+
- lib/redis/annual_counter.rb
|
53
|
+
- lib/redis/base_counter_object.rb
|
54
|
+
- lib/redis/daily_counter.rb
|
55
|
+
- lib/redis/hourly_counter.rb
|
56
|
+
- lib/redis/minutely_counter.rb
|
57
|
+
- lib/redis/monthly_counter.rb
|
58
|
+
- lib/redis/objects/annual_counters.rb
|
59
|
+
- lib/redis/objects/daily-counter/version.rb
|
60
|
+
- lib/redis/objects/daily_counters.rb
|
61
|
+
- lib/redis/objects/hourly_counters.rb
|
62
|
+
- lib/redis/objects/minutely_counters.rb
|
63
|
+
- lib/redis/objects/monthly_counters.rb
|
64
|
+
- lib/redis/objects/weekly_counters.rb
|
65
|
+
- lib/redis/weekly_counter.rb
|
66
|
+
- redis-objects-daily-counter.gemspec
|
67
|
+
homepage: https://github.com/ryz310/redis-objects-daily-counter
|
68
|
+
licenses:
|
69
|
+
- MIT
|
70
|
+
metadata:
|
71
|
+
homepage_uri: https://github.com/ryz310/redis-objects-daily-counter
|
72
|
+
source_code_uri: https://github.com/ryz310/redis-objects-daily-counter
|
73
|
+
changelog_uri: https://github.com/ryz310/redis-objects-daily-counter/blob/master/CHANGELOG.md
|
74
|
+
post_install_message:
|
75
|
+
rdoc_options: []
|
76
|
+
require_paths:
|
77
|
+
- lib
|
78
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.6.0
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
requirements: []
|
89
|
+
rubygems_version: 3.2.3
|
90
|
+
signing_key:
|
91
|
+
specification_version: 4
|
92
|
+
summary: Daily counter within Redis::Objects
|
93
|
+
test_files: []
|