timecop-rspec 1.0.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
- checksums.yaml.gz.sig +0 -0
- data/.devcontainer/devcontainer.json +26 -0
- data/.env.local.example +3 -0
- data/.envrc +41 -0
- data/.github/FUNDING.yml +13 -0
- data/.github/dependabot.yml +12 -0
- data/.github/workflows/ancient.yml +77 -0
- data/.github/workflows/auto-assign.yml +21 -0
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/coverage.yml +126 -0
- data/.github/workflows/current.yml +85 -0
- data/.github/workflows/dependency-review.yml +20 -0
- data/.github/workflows/deps_locked.yml +75 -0
- data/.github/workflows/deps_unlocked.yml +84 -0
- data/.github/workflows/discord-notifier.yml +38 -0
- data/.github/workflows/heads.yml +84 -0
- data/.github/workflows/jruby.yml +75 -0
- data/.github/workflows/legacy.yml +67 -0
- data/.github/workflows/style.yml +64 -0
- data/.github/workflows/supported.yml +82 -0
- data/.github/workflows/truffle.yml +75 -0
- data/.github/workflows/unsupported.yml +75 -0
- data/.gitignore +45 -0
- data/.gitlab-ci.yml +44 -0
- data/.idea/.gitignore +8 -0
- data/.idea/GitLink.xml +6 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/timecop-rspec.iml +120 -0
- data/.idea/vcs.xml +6 -0
- data/.junie/TASK_NOTE.md +1 -0
- data/.junie/guidelines.md +139 -0
- data/.qlty/qlty.toml +79 -0
- data/.rspec +8 -0
- data/.rubocop.yml +15 -0
- data/.rubocop_gradual.lock +76 -0
- data/.simplecov +11 -0
- data/.tool-versions +1 -0
- data/.yard_gfm_support.rb +22 -0
- data/.yardopts +11 -0
- data/Appraisal.root.gemfile +12 -0
- data/Appraisals +104 -0
- data/CHANGELOG.md +27 -0
- data/CITATION.cff +20 -0
- data/CNAME +1 -0
- data/CODE_OF_CONDUCT.md +134 -0
- data/CONTRIBUTING.md +145 -0
- data/Gemfile +38 -0
- data/Gemfile.lock +315 -0
- data/LICENSE.txt +22 -0
- data/README.md +563 -0
- data/REEK +0 -0
- data/RUBOCOP.md +71 -0
- data/Rakefile +287 -0
- data/SECURITY.md +21 -0
- data/bin/appraisal +16 -0
- data/bin/bundle-audit +16 -0
- data/bin/bundler-audit +16 -0
- data/bin/code_climate_reek +16 -0
- data/bin/coderay +16 -0
- data/bin/console +38 -0
- data/bin/erb +16 -0
- data/bin/gem_checksums +16 -0
- data/bin/htmldiff +16 -0
- data/bin/irb +16 -0
- data/bin/kramdown +16 -0
- data/bin/ldiff +16 -0
- data/bin/nokogiri +16 -0
- data/bin/pry +16 -0
- data/bin/racc +16 -0
- data/bin/rake +16 -0
- data/bin/rdbg +16 -0
- data/bin/rdoc +16 -0
- data/bin/reek +16 -0
- data/bin/ri +16 -0
- data/bin/rspec +16 -0
- data/bin/rubocop +16 -0
- data/bin/rubocop-gradual +16 -0
- data/bin/ruby-parse +16 -0
- data/bin/ruby-rewrite +16 -0
- data/bin/setup +33 -0
- data/bin/standardrb +16 -0
- data/bin/thor +16 -0
- data/bin/yard +16 -0
- data/bin/yard-junk +16 -0
- data/bin/yardoc +16 -0
- data/bin/yri +16 -0
- data/certs/pboling.pem +27 -0
- data/checksums/timecop-rspec-1.0.0.gem.sha256 +1 -0
- data/checksums/timecop-rspec-1.0.0.gem.sha512 +1 -0
- data/docs/Timecop/Rspec/ExampleDecorator.html +626 -0
- data/docs/Timecop/Rspec/SequentialTimeMachine.html +338 -0
- data/docs/Timecop/Rspec/TimeMachine.html +357 -0
- data/docs/Timecop/Rspec/TravelLog.html +440 -0
- data/docs/Timecop/Rspec/Traveler.html +353 -0
- data/docs/Timecop/Rspec/Version.html +154 -0
- data/docs/Timecop/Rspec.html +474 -0
- data/docs/Timecop.html +149 -0
- data/docs/_index.html +218 -0
- data/docs/class_list.html +54 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +503 -0
- data/docs/file.CHANGELOG.html +99 -0
- data/docs/file.CITATION.html +92 -0
- data/docs/file.CODE_OF_CONDUCT.html +201 -0
- data/docs/file.CONTRIBUTING.html +220 -0
- data/docs/file.LICENSE.html +70 -0
- data/docs/file.README.html +523 -0
- data/docs/file.REEK.html +71 -0
- data/docs/file.RUBOCOP.html +171 -0
- data/docs/file.SECURITY.html +101 -0
- data/docs/file.rspec.html +109 -0
- data/docs/file.timecop.html +72 -0
- data/docs/file_list.html +109 -0
- data/docs/frames.html +22 -0
- data/docs/index.html +523 -0
- data/docs/js/app.js +344 -0
- data/docs/js/full_list.js +242 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +198 -0
- data/docs/top-level-namespace.html +110 -0
- data/gemfiles/audit.gemfile +10 -0
- data/gemfiles/coverage.gemfile +10 -0
- data/gemfiles/current.gemfile +8 -0
- data/gemfiles/deps_unlocked.gemfile +13 -0
- data/gemfiles/head.gemfile +9 -0
- data/gemfiles/modular/audit.gemfile +5 -0
- data/gemfiles/modular/coverage.gemfile +6 -0
- data/gemfiles/modular/documentation.gemfile +11 -0
- data/gemfiles/modular/style.gemfile +14 -0
- data/gemfiles/ruby_2_3.gemfile +5 -0
- data/gemfiles/ruby_2_4.gemfile +5 -0
- data/gemfiles/ruby_2_5.gemfile +5 -0
- data/gemfiles/ruby_2_6.gemfile +8 -0
- data/gemfiles/ruby_2_7.gemfile +8 -0
- data/gemfiles/ruby_3_0.gemfile +8 -0
- data/gemfiles/ruby_3_1.gemfile +8 -0
- data/gemfiles/ruby_3_2.gemfile +8 -0
- data/gemfiles/ruby_3_3.gemfile +8 -0
- data/gemfiles/style.gemfile +10 -0
- data/lib/timecop/rspec/example_decorator.rb +100 -0
- data/lib/timecop/rspec/sequential_time_machine.rb +80 -0
- data/lib/timecop/rspec/time_machine.rb +58 -0
- data/lib/timecop/rspec/travel_log.rb +103 -0
- data/lib/timecop/rspec/traveler.rb +68 -0
- data/lib/timecop/rspec/version.rb +37 -0
- data/lib/timecop/rspec.rb +78 -0
- data/sig/timecop/rspec.rbs +40 -0
- data/sig/timecop.rbs +2 -0
- data/timecop-rspec.gemspec +146 -0
- data.tar.gz.sig +2 -0
- metadata +434 -0
- metadata.gz.sig +0 -0
data/Rakefile
ADDED
@@ -0,0 +1,287 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Galtzo FLOSS Rakefile v1.0.7 - 2025-08-17
|
4
|
+
#
|
5
|
+
# CHANGELOG
|
6
|
+
# v1.0.0 - initial release w/ support for rspec, minitest, rubocop, reek, yard, and stone_checksums
|
7
|
+
# v1.0.1 - fix test / spec tasks running 2x
|
8
|
+
# v1.0.2 - fix duplicate task warning from RuboCop
|
9
|
+
# v1.0.3 - add bench tasks to run mini benchmarks (add scripts to /benchmarks)
|
10
|
+
# v1.0.4 - add support for floss_funding:install
|
11
|
+
# v1.0.5 - add support for halting in Rake tasks with binding.b (from debug gem)
|
12
|
+
# v1.0.6 - add RBS files and checksums to YARD-generated docs site
|
13
|
+
# v1.0.7 - works with vanilla ruby, non-gem, bundler-managed, projects
|
14
|
+
#
|
15
|
+
# MIT License (see License.txt)
|
16
|
+
#
|
17
|
+
# Copyright (c) 2025 Peter H. Boling (galtzo.com)
|
18
|
+
#
|
19
|
+
# Expected to work in any project that uses Bundler.
|
20
|
+
#
|
21
|
+
# Sets up tasks for floss_funding, rspec, minitest, rubocop, reek, yard, and stone_checksums.
|
22
|
+
#
|
23
|
+
# rake bench # Run all benchmarks (alias for bench:run)
|
24
|
+
# rake bench:list # List available benchmark scripts
|
25
|
+
# rake bench:run # Run all benchmark scripts (skips on CI)
|
26
|
+
# rake build # Build my_gem-1.0.0.gem into the pkg directory
|
27
|
+
# rake build:checksum # Generate SHA512 checksum of my_gem-1.0.0.gem into the checksums directory
|
28
|
+
# rake build:generate_checksums # Generate both SHA256 & SHA512 checksums into the checksums directory, and git commit them
|
29
|
+
# rake bundle:audit:check # Checks the Gemfile.lock for insecure dependencies
|
30
|
+
# rake bundle:audit:update # Updates the bundler-audit vulnerability database
|
31
|
+
# rake clean # Remove any temporary products
|
32
|
+
# rake clobber # Remove any generated files
|
33
|
+
# rake coverage # Run specs w/ coverage and open results in browser
|
34
|
+
# rake install # Build and install my_gem-1.0.0.gem into system gems
|
35
|
+
# rake install:local # Build and install my_gem-1.0.0.gem into system gems without network access
|
36
|
+
# rake reek # Check for code smells
|
37
|
+
# rake reek:update # Run reek and store the output into the REEK file
|
38
|
+
# rake release[remote] # Create tag v1.0.0 and build and push my_gem-1.0.0.gem to rubygems.org
|
39
|
+
# rake rubocop # alias rubocop task to rubocop_gradual
|
40
|
+
# rake rubocop_gradual # Run RuboCop Gradual
|
41
|
+
# rake rubocop_gradual:autocorrect # Run RuboCop Gradual with autocorrect (only when it's safe)
|
42
|
+
# rake rubocop_gradual:autocorrect_all # Run RuboCop Gradual with autocorrect (safe and unsafe)
|
43
|
+
# rake rubocop_gradual:check # Run RuboCop Gradual to check the lock file
|
44
|
+
# rake rubocop_gradual:force_update # Run RuboCop Gradual to force update the lock file
|
45
|
+
# rake spec # Run RSpec code examples
|
46
|
+
# rake test # Run tests
|
47
|
+
# rake yard # Generate YARD Documentation
|
48
|
+
|
49
|
+
DEBUGGING = ENV.fetch("DEBUG", "false").casecmp("true").zero?
|
50
|
+
|
51
|
+
# External gems
|
52
|
+
require "bundler/gem_tasks" if !Dir["*.gemspec"].empty?
|
53
|
+
require "debug" if DEBUGGING
|
54
|
+
|
55
|
+
defaults = []
|
56
|
+
|
57
|
+
is_ci = ENV.fetch("CI", "false").casecmp("true") == 0
|
58
|
+
|
59
|
+
### DEVELOPMENT TASKS
|
60
|
+
# Setup Floss Funding
|
61
|
+
begin
|
62
|
+
require "floss_funding"
|
63
|
+
FlossFunding.install_tasks
|
64
|
+
rescue LoadError
|
65
|
+
desc("(stub) floss_funding is unavailable")
|
66
|
+
namespace(:floss_funding) do
|
67
|
+
task("install") do
|
68
|
+
warn("NOTE: floss_funding isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Setup Kettle Soup Cover
|
74
|
+
begin
|
75
|
+
require "kettle-soup-cover"
|
76
|
+
|
77
|
+
Kettle::Soup::Cover.install_tasks
|
78
|
+
# NOTE: Coverage on CI is configured independent of this task.
|
79
|
+
# This task is for local development, as it opens results in browser
|
80
|
+
defaults << "coverage" unless Kettle::Soup::Cover::IS_CI
|
81
|
+
rescue LoadError
|
82
|
+
desc("(stub) coverage is unavailable")
|
83
|
+
task("coverage") do
|
84
|
+
warn("NOTE: kettle-soup-cover isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# Setup Bundle Audit
|
89
|
+
begin
|
90
|
+
require "bundler/audit/task"
|
91
|
+
|
92
|
+
Bundler::Audit::Task.new
|
93
|
+
defaults.push("bundle:audit:update", "bundle:audit")
|
94
|
+
rescue LoadError
|
95
|
+
desc("(stub) bundle:audit is unavailable")
|
96
|
+
task("bundle:audit") do
|
97
|
+
warn("NOTE: bundler-audit isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
98
|
+
end
|
99
|
+
desc("(stub) bundle:audit:update is unavailable")
|
100
|
+
task("bundle:audit:update") do
|
101
|
+
warn("NOTE: bundler-audit isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# Setup RSpec
|
106
|
+
begin
|
107
|
+
require "rspec/core/rake_task"
|
108
|
+
|
109
|
+
RSpec::Core::RakeTask.new(:spec)
|
110
|
+
# This takes the place of `coverage` task when running as CI=true
|
111
|
+
defaults << "spec" if !defined?(Kettle::Soup::Cover) || Kettle::Soup::Cover::IS_CI
|
112
|
+
rescue LoadError
|
113
|
+
desc("spec task stub")
|
114
|
+
task(:spec) do
|
115
|
+
warn("NOTE: rspec isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# Setup MiniTest
|
120
|
+
begin
|
121
|
+
require "rake/testtask"
|
122
|
+
|
123
|
+
Rake::TestTask.new(:test) do |t|
|
124
|
+
t.test_files = FileList["tests/**/test_*.rb"]
|
125
|
+
end
|
126
|
+
rescue LoadError
|
127
|
+
desc("test task stub")
|
128
|
+
task(:test) do
|
129
|
+
warn("NOTE: minitest isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# rubocop:disable Rake/DuplicateTask
|
134
|
+
if Rake::Task.task_defined?("spec") && !Rake::Task.task_defined?("test")
|
135
|
+
desc "run spec task with test task"
|
136
|
+
task :test => :spec
|
137
|
+
elsif !Rake::Task.task_defined?("spec") && Rake::Task.task_defined?("test")
|
138
|
+
desc "run test task with spec task"
|
139
|
+
task :spec => :test
|
140
|
+
else
|
141
|
+
# Add spec as pre-requisite to 'test'
|
142
|
+
Rake::Task[:test].enhance(["spec"])
|
143
|
+
end
|
144
|
+
# rubocop:enable Rake/DuplicateTask
|
145
|
+
|
146
|
+
# Setup RuboCop-LTS
|
147
|
+
begin
|
148
|
+
require "rubocop/lts"
|
149
|
+
|
150
|
+
Rubocop::Lts.install_tasks
|
151
|
+
# Make autocorrect the default rubocop task
|
152
|
+
defaults << "rubocop_gradual:autocorrect"
|
153
|
+
rescue LoadError
|
154
|
+
desc("(stub) rubocop_gradual is unavailable")
|
155
|
+
task(:rubocop_gradual) do
|
156
|
+
warn("NOTE: rubocop-lts isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# Setup Reek
|
161
|
+
begin
|
162
|
+
require "reek/rake/task"
|
163
|
+
|
164
|
+
Reek::Rake::Task.new do |t|
|
165
|
+
t.fail_on_error = true
|
166
|
+
t.verbose = false
|
167
|
+
t.source_files = "{lib,spec,tests}/**/*.rb"
|
168
|
+
end
|
169
|
+
|
170
|
+
# Store current Reek output into REEK file
|
171
|
+
require "open3"
|
172
|
+
desc("Run reek and store the output into the REEK file")
|
173
|
+
task("reek:update") do
|
174
|
+
# Run via Bundler if available to ensure the right gem version is used
|
175
|
+
cmd = [Gem.bindir ? File.join(Gem.bindir, "bundle") : "bundle", "exec", "reek"]
|
176
|
+
|
177
|
+
output, status = Open3.capture2e(*cmd)
|
178
|
+
|
179
|
+
File.write("REEK", output)
|
180
|
+
|
181
|
+
# Mirror the failure semantics of the standard reek task
|
182
|
+
unless status.success?
|
183
|
+
abort("reek:update failed (reek reported smells). Output written to REEK")
|
184
|
+
end
|
185
|
+
end
|
186
|
+
defaults << "reek:update" unless is_ci
|
187
|
+
rescue LoadError
|
188
|
+
desc("(stub) reek is unavailable")
|
189
|
+
task(:reek) do
|
190
|
+
warn("NOTE: reek isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
# Setup Yard
|
195
|
+
begin
|
196
|
+
require "yard"
|
197
|
+
|
198
|
+
YARD::Rake::YardocTask.new(:yard) do |t|
|
199
|
+
t.files = [
|
200
|
+
# Source Splats (alphabetical)
|
201
|
+
"lib/**/*.rb",
|
202
|
+
"-", # source and extra docs are separated by "-"
|
203
|
+
# Extra Files (alphabetical)
|
204
|
+
"*.cff",
|
205
|
+
"*.md",
|
206
|
+
"*.txt",
|
207
|
+
"checksums/**/*.sha256",
|
208
|
+
"checksums/**/*.sha512",
|
209
|
+
"REEK",
|
210
|
+
"sig/**/*.rbs",
|
211
|
+
]
|
212
|
+
end
|
213
|
+
defaults << "yard"
|
214
|
+
rescue LoadError
|
215
|
+
desc("(stub) yard is unavailable")
|
216
|
+
task(:yard) do
|
217
|
+
warn("NOTE: yard isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
### RELEASE TASKS
|
222
|
+
# Setup stone_checksums
|
223
|
+
begin
|
224
|
+
require "stone_checksums"
|
225
|
+
|
226
|
+
GemChecksums.install_tasks
|
227
|
+
rescue LoadError
|
228
|
+
desc("(stub) build:generate_checksums is unavailable")
|
229
|
+
task("build:generate_checksums") do
|
230
|
+
warn("NOTE: stone_checksums isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
# --- Benchmarks (dev-only) ---
|
235
|
+
namespace :bench do
|
236
|
+
desc "List available benchmark scripts"
|
237
|
+
task :list do
|
238
|
+
bench_files = Dir[File.join(__dir__, "benchmarks", "*.rb")].sort
|
239
|
+
if bench_files.empty?
|
240
|
+
puts "No benchmark scripts found under benchmarks/."
|
241
|
+
else
|
242
|
+
bench_files.each { |f| puts File.basename(f) }
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
desc "Run all benchmark scripts (skips on CI)"
|
247
|
+
task :run do
|
248
|
+
if ENV.fetch("CI", "false").casecmp("true").zero?
|
249
|
+
puts "Benchmarks are disabled on CI. Skipping."
|
250
|
+
next
|
251
|
+
end
|
252
|
+
|
253
|
+
ruby = RbConfig.ruby
|
254
|
+
bundle = Gem.bindir ? File.join(Gem.bindir, "bundle") : "bundle"
|
255
|
+
bench_files = Dir[File.join(__dir__, "benchmarks", "*.rb")].sort
|
256
|
+
if bench_files.empty?
|
257
|
+
puts "No benchmark scripts found under benchmarks/."
|
258
|
+
next
|
259
|
+
end
|
260
|
+
|
261
|
+
use_bundler = ENV.fetch("BENCH_BUNDLER", "0") == "1"
|
262
|
+
|
263
|
+
bench_files.each do |script|
|
264
|
+
puts "\n=== Running: #{File.basename(script)} ==="
|
265
|
+
if use_bundler
|
266
|
+
cmd = [bundle, "exec", ruby, "-Ilib", script]
|
267
|
+
system(*cmd) || abort("Benchmark failed: #{script}")
|
268
|
+
else
|
269
|
+
# Run benchmarks without Bundler to reduce overhead and better reflect plain ruby -Ilib
|
270
|
+
begin
|
271
|
+
require "bundler"
|
272
|
+
Bundler.with_unbundled_env do
|
273
|
+
system(ruby, "-Ilib", script) || abort("Benchmark failed: #{script}")
|
274
|
+
end
|
275
|
+
rescue LoadError
|
276
|
+
# If Bundler isn't available, just run directly
|
277
|
+
system(ruby, "-Ilib", script) || abort("Benchmark failed: #{script}")
|
278
|
+
end
|
279
|
+
end
|
280
|
+
end
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
desc "Run all benchmarks (alias for bench:run)"
|
285
|
+
task :bench => "bench:run"
|
286
|
+
|
287
|
+
task :default => defaults
|
data/SECURITY.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Security Policy
|
2
|
+
|
3
|
+
## Supported Versions
|
4
|
+
|
5
|
+
| Version | Supported |
|
6
|
+
|----------|-----------|
|
7
|
+
| 1.latest | ✅ |
|
8
|
+
|
9
|
+
## Security contact information
|
10
|
+
|
11
|
+
To report a security vulnerability, please use the
|
12
|
+
[Tidelift security contact](https://tidelift.com/security).
|
13
|
+
Tidelift will coordinate the fix and disclosure.
|
14
|
+
|
15
|
+
## Additional Support
|
16
|
+
|
17
|
+
If you are interested in support for versions older than the latest release,
|
18
|
+
please consider sponsoring the project / maintainer @ https://liberapay.com/pboling/donate,
|
19
|
+
or find other sponsorship links in the [README].
|
20
|
+
|
21
|
+
[README]: README.md
|
data/bin/appraisal
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'appraisal' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("appraisal2", "appraisal")
|
data/bin/bundle-audit
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'bundle-audit' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("bundler-audit", "bundle-audit")
|
data/bin/bundler-audit
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'bundler-audit' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("bundler-audit", "bundler-audit")
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'code_climate_reek' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("reek", "code_climate_reek")
|
data/bin/coderay
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'coderay' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("coderay", "coderay")
|
data/bin/console
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# The MIT License (MIT)
|
4
|
+
|
5
|
+
# Copyright (c) 2014-2017 Avant
|
6
|
+
|
7
|
+
# Author Zach Taylor
|
8
|
+
|
9
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
10
|
+
# of this software and associated documentation files (the "Software"), to deal
|
11
|
+
# in the Software without restriction, including without limitation the rights
|
12
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
13
|
+
# copies of the Software, and to permit persons to whom the Software is
|
14
|
+
# furnished to do so, subject to the following conditions:
|
15
|
+
|
16
|
+
# The above copyright notice and this permission notice shall be included in
|
17
|
+
# all copies or substantial portions of the Software.
|
18
|
+
|
19
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
20
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
21
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
23
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
24
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
25
|
+
# THE SOFTWARE.
|
26
|
+
|
27
|
+
require "bundler/setup"
|
28
|
+
require "timecop/rspec"
|
29
|
+
|
30
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
31
|
+
# with your gem easier. You can also use a different console, if you like.
|
32
|
+
|
33
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
34
|
+
# require 'pry'
|
35
|
+
# Pry.start
|
36
|
+
|
37
|
+
require "irb"
|
38
|
+
IRB.start(__FILE__)
|
data/bin/erb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'erb' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("erb", "erb")
|
data/bin/gem_checksums
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'gem_checksums' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("stone_checksums", "gem_checksums")
|
data/bin/htmldiff
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'htmldiff' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("diff-lcs", "htmldiff")
|
data/bin/irb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'irb' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("irb", "irb")
|
data/bin/kramdown
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'kramdown' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("kramdown", "kramdown")
|
data/bin/ldiff
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'ldiff' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("diff-lcs", "ldiff")
|
data/bin/nokogiri
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'nokogiri' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("nokogiri", "nokogiri")
|
data/bin/pry
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'pry' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("pry", "pry")
|
data/bin/racc
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'racc' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("racc", "racc")
|
data/bin/rake
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rake' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("rake", "rake")
|
data/bin/rdbg
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rdbg' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("debug", "rdbg")
|
data/bin/rdoc
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rdoc' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("rdoc", "rdoc")
|
data/bin/reek
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'reek' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("reek", "reek")
|
data/bin/ri
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'ri' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
require "rubygems"
|
14
|
+
require "bundler/setup"
|
15
|
+
|
16
|
+
load Gem.bin_path("rdoc", "ri")
|