redis-objects-periodical 0.7.0 → 0.8.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 +4 -4
- data/.agents/skills/dependabot-batch-maintenance/SKILL.md +141 -0
- data/.github/dependabot.yml +32 -3
- data/.github/scripts/dependabot-auto-merge.cjs +182 -0
- data/.github/scripts/dependabot-auto-merge.test.cjs +278 -0
- data/.github/scripts/dependabot-policy.cjs +132 -0
- data/.github/scripts/dependabot-policy.test.cjs +235 -0
- data/.github/scripts/timezone-inventory.cjs +48 -0
- data/.github/scripts/timezone-inventory.test.cjs +86 -0
- data/.github/workflows/checks.yml +124 -0
- data/.github/workflows/ci.yml +191 -0
- data/.github/workflows/dependabot-auto-merge.yml +61 -0
- data/.github/workflows/release.yml +59 -0
- data/.github/workflows/rubocop_challenge.yml +71 -0
- data/.rspec +1 -0
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +16 -16
- data/AGENTS.md +133 -0
- data/CHANGELOG.md +47 -0
- data/CONTRIBUTING.md +203 -0
- data/Dockerfile +3 -2
- data/Gemfile +6 -6
- data/Gemfile.lock +70 -65
- data/README.md +58 -221
- data/docker-compose.yml +1 -3
- data/docs/maintaining.md +237 -0
- data/docs/usage.md +216 -0
- data/docs/verification/2026-10-27-timezone.md +25 -0
- data/gemfiles/active_support/Gemfile +5 -0
- data/gemfiles/active_support/Gemfile.lock +137 -0
- data/lib/redis/objects/periodical/version.rb +1 -1
- data/lib/redis/objects/periodical_counters.rb +1 -1
- data/lib/redis/objects/periodical_hashes.rb +1 -1
- data/lib/redis/objects/periodical_sets.rb +1 -1
- data/lib/redis/objects/periodical_values.rb +1 -1
- data/lib/redis/periodical_counter.rb +1 -1
- data/lib/redis/periodical_hash_key.rb +1 -1
- data/lib/redis/periodical_set.rb +1 -1
- data/lib/redis/periodical_value.rb +1 -1
- data/lib/redis/recurring_at_intervals/weekly.rb +3 -1
- data/lib/redis/recurring_at_intervals.rb +3 -3
- data/redis-objects-periodical.gemspec +1 -1
- metadata +26 -8
- data/.circleci/config.yml +0 -212
data/.circleci/config.yml
DELETED
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
# Ruby CircleCI 2.0 configuration file
|
|
2
|
-
#
|
|
3
|
-
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
|
|
4
|
-
#
|
|
5
|
-
version: 2.1
|
|
6
|
-
|
|
7
|
-
orbs:
|
|
8
|
-
ruby-orbs: sue445/ruby-orbs@1.6.2
|
|
9
|
-
code-climate: rvla/code-climate@0.0.2
|
|
10
|
-
|
|
11
|
-
references:
|
|
12
|
-
- &ruby_version
|
|
13
|
-
ruby_version:
|
|
14
|
-
type: enum
|
|
15
|
-
enum: ["2.7", "3.0", "3.1", "3.2"]
|
|
16
|
-
default: "3.2"
|
|
17
|
-
|
|
18
|
-
executors:
|
|
19
|
-
default:
|
|
20
|
-
parameters:
|
|
21
|
-
<<: *ruby_version
|
|
22
|
-
docker:
|
|
23
|
-
- image: cimg/ruby:<< parameters.ruby_version >>
|
|
24
|
-
- image: redis:latest
|
|
25
|
-
name: redis
|
|
26
|
-
working_directory: ~/repo
|
|
27
|
-
|
|
28
|
-
commands:
|
|
29
|
-
run_rspec:
|
|
30
|
-
description: "Run RSpec"
|
|
31
|
-
steps:
|
|
32
|
-
- run:
|
|
33
|
-
name: "Execute RSpec"
|
|
34
|
-
command: |
|
|
35
|
-
mkdir /tmp/test-results
|
|
36
|
-
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
|
|
37
|
-
cc-test-reporter before-build
|
|
38
|
-
bundle exec rspec --format documentation \
|
|
39
|
-
--color \
|
|
40
|
-
--format RspecJunitFormatter \
|
|
41
|
-
--out /tmp/test-results/rspec.xml \
|
|
42
|
-
$TEST_FILES
|
|
43
|
-
- code-climate/format-coverage:
|
|
44
|
-
input-type: simplecov
|
|
45
|
-
prefix: $(readlink -f .)
|
|
46
|
-
coverage-file: coverage/coverage.json
|
|
47
|
-
output: coverage/codeclimate.$CIRCLE_BUILD_NUM.json
|
|
48
|
-
- persist_to_workspace:
|
|
49
|
-
root: coverage
|
|
50
|
-
paths:
|
|
51
|
-
- codeclimate.*.json
|
|
52
|
-
- store_test_results:
|
|
53
|
-
path: /tmp/test-results
|
|
54
|
-
- store_artifacts:
|
|
55
|
-
path: /tmp/test-results
|
|
56
|
-
destination: test-results
|
|
57
|
-
rubocop:
|
|
58
|
-
steps:
|
|
59
|
-
- run:
|
|
60
|
-
name: Run RuboCop
|
|
61
|
-
command: bundle exec rubocop
|
|
62
|
-
yardoc:
|
|
63
|
-
description: "Generate YARDoc"
|
|
64
|
-
steps:
|
|
65
|
-
- run: bundle exec yardoc -o ./yardoc
|
|
66
|
-
- store_artifacts:
|
|
67
|
-
path: ./yardoc
|
|
68
|
-
destination: yardoc
|
|
69
|
-
rake_build:
|
|
70
|
-
steps:
|
|
71
|
-
- run:
|
|
72
|
-
name: Rake Build
|
|
73
|
-
command: bundle exec rake build
|
|
74
|
-
rubocop_challenge:
|
|
75
|
-
steps:
|
|
76
|
-
- run:
|
|
77
|
-
name: Rubocop Challenge
|
|
78
|
-
command: |
|
|
79
|
-
gem install rubocop_challenger
|
|
80
|
-
rubocop_challenger go --email=ryz310@gmail.com --name=ryz310
|
|
81
|
-
release:
|
|
82
|
-
description: Release to RubyGems.org
|
|
83
|
-
steps:
|
|
84
|
-
- run:
|
|
85
|
-
name: Create Rubygems Credentials
|
|
86
|
-
command: |
|
|
87
|
-
mkdir ~/.gem || true
|
|
88
|
-
echo -e "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}" > ~/.gem/credentials
|
|
89
|
-
chmod 0600 ~/.gem/credentials
|
|
90
|
-
- run:
|
|
91
|
-
name: Release Gem
|
|
92
|
-
command: |
|
|
93
|
-
git push --set-upstream origin ${CIRCLE_BRANCH}
|
|
94
|
-
bundle exec rake release --trace
|
|
95
|
-
setup:
|
|
96
|
-
description: Setup for Job Working
|
|
97
|
-
parameters:
|
|
98
|
-
<<: *ruby_version
|
|
99
|
-
steps:
|
|
100
|
-
- checkout
|
|
101
|
-
- ruby-orbs/bundle-install:
|
|
102
|
-
cache_key_prefix: v1-dependencies-<< parameters.ruby_version >>
|
|
103
|
-
test_and_build:
|
|
104
|
-
description: Build the RubyGem
|
|
105
|
-
steps:
|
|
106
|
-
- code-climate/install
|
|
107
|
-
- run_rspec
|
|
108
|
-
- rake_build
|
|
109
|
-
|
|
110
|
-
jobs:
|
|
111
|
-
build:
|
|
112
|
-
parameters:
|
|
113
|
-
<<: *ruby_version
|
|
114
|
-
executor:
|
|
115
|
-
name: default
|
|
116
|
-
ruby_version: << parameters.ruby_version >>
|
|
117
|
-
steps:
|
|
118
|
-
- setup:
|
|
119
|
-
ruby_version: << parameters.ruby_version >>
|
|
120
|
-
- test_and_build
|
|
121
|
-
upload-coverage:
|
|
122
|
-
executor: default
|
|
123
|
-
steps:
|
|
124
|
-
- attach_workspace:
|
|
125
|
-
at: ~/repo
|
|
126
|
-
- code-climate/install
|
|
127
|
-
- code-climate/sum-coverage:
|
|
128
|
-
input: codeclimate.*.json
|
|
129
|
-
parts: 4
|
|
130
|
-
- code-climate/upload-coverage
|
|
131
|
-
rubocop:
|
|
132
|
-
parameters:
|
|
133
|
-
<<: *ruby_version
|
|
134
|
-
executor:
|
|
135
|
-
name: default
|
|
136
|
-
ruby_version: << parameters.ruby_version >>
|
|
137
|
-
steps:
|
|
138
|
-
- setup:
|
|
139
|
-
ruby_version: << parameters.ruby_version >>
|
|
140
|
-
- rubocop
|
|
141
|
-
yardoc:
|
|
142
|
-
executor: default
|
|
143
|
-
steps:
|
|
144
|
-
- setup
|
|
145
|
-
- yardoc
|
|
146
|
-
rubocop_challenge:
|
|
147
|
-
executor: default
|
|
148
|
-
steps:
|
|
149
|
-
- checkout
|
|
150
|
-
- rubocop_challenge
|
|
151
|
-
release:
|
|
152
|
-
executor: default
|
|
153
|
-
steps:
|
|
154
|
-
- setup
|
|
155
|
-
- release
|
|
156
|
-
|
|
157
|
-
workflows:
|
|
158
|
-
version: 2
|
|
159
|
-
|
|
160
|
-
commit:
|
|
161
|
-
jobs:
|
|
162
|
-
- build:
|
|
163
|
-
name: build_on_ruby_2.7
|
|
164
|
-
ruby_version: "2.7"
|
|
165
|
-
- build:
|
|
166
|
-
name: build_on_ruby_3.0
|
|
167
|
-
ruby_version: "3.0"
|
|
168
|
-
- build:
|
|
169
|
-
name: build_on_ruby_3.1
|
|
170
|
-
ruby_version: "3.1"
|
|
171
|
-
- build:
|
|
172
|
-
name: build_on_ruby_3.2
|
|
173
|
-
ruby_version: "3.2"
|
|
174
|
-
- rubocop:
|
|
175
|
-
ruby_version: "2.7"
|
|
176
|
-
- yardoc
|
|
177
|
-
- upload-coverage:
|
|
178
|
-
requires:
|
|
179
|
-
- build_on_ruby_2.7
|
|
180
|
-
- build_on_ruby_3.0
|
|
181
|
-
- build_on_ruby_3.1
|
|
182
|
-
- build_on_ruby_3.2
|
|
183
|
-
- release:
|
|
184
|
-
context: RubyGems API Key
|
|
185
|
-
requires:
|
|
186
|
-
- build_on_ruby_2.7
|
|
187
|
-
- build_on_ruby_3.0
|
|
188
|
-
- build_on_ruby_3.1
|
|
189
|
-
- build_on_ruby_3.2
|
|
190
|
-
- rubocop
|
|
191
|
-
filters:
|
|
192
|
-
branches:
|
|
193
|
-
only:
|
|
194
|
-
- release
|
|
195
|
-
|
|
196
|
-
challenge:
|
|
197
|
-
triggers:
|
|
198
|
-
- schedule:
|
|
199
|
-
cron: "30 23 * * *" # 8:30am every day (JST)
|
|
200
|
-
filters:
|
|
201
|
-
branches:
|
|
202
|
-
only:
|
|
203
|
-
- master
|
|
204
|
-
jobs:
|
|
205
|
-
- rubocop_challenge
|
|
206
|
-
|
|
207
|
-
experimental:
|
|
208
|
-
notify:
|
|
209
|
-
branches:
|
|
210
|
-
only:
|
|
211
|
-
- master
|
|
212
|
-
- release
|