timecop-rspec 1.0.1 → 1.0.3

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.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +36 -2
  4. data/CONTRIBUTING.md +1 -3
  5. data/README.md +39 -13
  6. data/checksums/timecop-rspec-1.0.2.gem.sha256 +1 -0
  7. data/checksums/timecop-rspec-1.0.2.gem.sha512 +1 -0
  8. data/checksums/timecop-rspec-1.0.3.gem.sha256 +1 -0
  9. data/checksums/timecop-rspec-1.0.3.gem.sha512 +1 -0
  10. data/lib/timecop/rspec/version.rb +1 -1
  11. data.tar.gz.sig +2 -1
  12. metadata +53 -140
  13. metadata.gz.sig +0 -0
  14. data/.devcontainer/devcontainer.json +0 -26
  15. data/.env.local.example +0 -3
  16. data/.envrc +0 -41
  17. data/.github/FUNDING.yml +0 -13
  18. data/.github/dependabot.yml +0 -12
  19. data/.github/workflows/ancient.yml +0 -77
  20. data/.github/workflows/auto-assign.yml +0 -21
  21. data/.github/workflows/codeql-analysis.yml +0 -70
  22. data/.github/workflows/coverage.yml +0 -126
  23. data/.github/workflows/current.yml +0 -85
  24. data/.github/workflows/dependency-review.yml +0 -20
  25. data/.github/workflows/deps_locked.yml +0 -75
  26. data/.github/workflows/deps_unlocked.yml +0 -84
  27. data/.github/workflows/discord-notifier.yml +0 -38
  28. data/.github/workflows/heads.yml +0 -84
  29. data/.github/workflows/jruby.yml +0 -75
  30. data/.github/workflows/legacy.yml +0 -67
  31. data/.github/workflows/style.yml +0 -64
  32. data/.github/workflows/supported.yml +0 -82
  33. data/.github/workflows/truffle.yml +0 -75
  34. data/.github/workflows/unsupported.yml +0 -75
  35. data/.gitignore +0 -45
  36. data/.gitlab-ci.yml +0 -44
  37. data/.idea/.gitignore +0 -8
  38. data/.idea/GitLink.xml +0 -6
  39. data/.idea/misc.xml +0 -4
  40. data/.idea/modules.xml +0 -8
  41. data/.idea/timecop-rspec.iml +0 -122
  42. data/.idea/vcs.xml +0 -6
  43. data/.junie/TASK_NOTE.md +0 -1
  44. data/.junie/guidelines.md +0 -139
  45. data/.qlty/qlty.toml +0 -79
  46. data/.rspec +0 -8
  47. data/.rubocop.yml +0 -15
  48. data/.rubocop_gradual.lock +0 -76
  49. data/.simplecov +0 -11
  50. data/.tool-versions +0 -1
  51. data/.yard_gfm_support.rb +0 -22
  52. data/.yardopts +0 -11
  53. data/Appraisal.root.gemfile +0 -12
  54. data/Appraisals +0 -104
  55. data/CNAME +0 -1
  56. data/Gemfile +0 -38
  57. data/Gemfile.lock +0 -293
  58. data/Rakefile +0 -287
  59. data/bin/appraisal +0 -16
  60. data/bin/bundle-audit +0 -16
  61. data/bin/bundler-audit +0 -16
  62. data/bin/code_climate_reek +0 -16
  63. data/bin/coderay +0 -16
  64. data/bin/console +0 -12
  65. data/bin/erb +0 -16
  66. data/bin/gem_checksums +0 -16
  67. data/bin/htmldiff +0 -16
  68. data/bin/irb +0 -16
  69. data/bin/kramdown +0 -16
  70. data/bin/ldiff +0 -16
  71. data/bin/nokogiri +0 -16
  72. data/bin/pry +0 -16
  73. data/bin/racc +0 -16
  74. data/bin/rake +0 -16
  75. data/bin/rdbg +0 -16
  76. data/bin/rdoc +0 -16
  77. data/bin/reek +0 -16
  78. data/bin/ri +0 -16
  79. data/bin/rspec +0 -16
  80. data/bin/rubocop +0 -16
  81. data/bin/rubocop-gradual +0 -16
  82. data/bin/ruby-parse +0 -16
  83. data/bin/ruby-rewrite +0 -16
  84. data/bin/setup +0 -7
  85. data/bin/standardrb +0 -16
  86. data/bin/thor +0 -16
  87. data/bin/yard +0 -16
  88. data/bin/yard-junk +0 -16
  89. data/bin/yardoc +0 -16
  90. data/bin/yri +0 -16
  91. data/certs/pboling.pem +0 -27
  92. data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
  93. data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
  94. data/docs/Timecop/Rspec/TimeMachine.html +0 -357
  95. data/docs/Timecop/Rspec/TravelLog.html +0 -440
  96. data/docs/Timecop/Rspec/Traveler.html +0 -353
  97. data/docs/Timecop/Rspec/Version.html +0 -154
  98. data/docs/Timecop/Rspec.html +0 -476
  99. data/docs/Timecop.html +0 -143
  100. data/docs/_index.html +0 -224
  101. data/docs/class_list.html +0 -54
  102. data/docs/css/common.css +0 -1
  103. data/docs/css/full_list.css +0 -58
  104. data/docs/css/style.css +0 -503
  105. data/docs/file.CHANGELOG.html +0 -110
  106. data/docs/file.CITATION.html +0 -92
  107. data/docs/file.CODE_OF_CONDUCT.html +0 -201
  108. data/docs/file.CONTRIBUTING.html +0 -220
  109. data/docs/file.LICENSE.html +0 -70
  110. data/docs/file.README.html +0 -531
  111. data/docs/file.REEK.html +0 -71
  112. data/docs/file.RUBOCOP.html +0 -171
  113. data/docs/file.SECURITY.html +0 -101
  114. data/docs/file.rspec.html +0 -109
  115. data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
  116. data/docs/file.timecop.html +0 -72
  117. data/docs/file_list.html +0 -119
  118. data/docs/frames.html +0 -22
  119. data/docs/index.html +0 -531
  120. data/docs/js/app.js +0 -344
  121. data/docs/js/full_list.js +0 -242
  122. data/docs/js/jquery.js +0 -4
  123. data/docs/method_list.html +0 -198
  124. data/docs/top-level-namespace.html +0 -110
  125. data/gemfiles/audit.gemfile +0 -10
  126. data/gemfiles/coverage.gemfile +0 -10
  127. data/gemfiles/current.gemfile +0 -8
  128. data/gemfiles/deps_unlocked.gemfile +0 -13
  129. data/gemfiles/head.gemfile +0 -9
  130. data/gemfiles/modular/audit.gemfile +0 -5
  131. data/gemfiles/modular/coverage.gemfile +0 -6
  132. data/gemfiles/modular/documentation.gemfile +0 -11
  133. data/gemfiles/modular/style.gemfile +0 -14
  134. data/gemfiles/ruby_2_3.gemfile +0 -5
  135. data/gemfiles/ruby_2_4.gemfile +0 -5
  136. data/gemfiles/ruby_2_5.gemfile +0 -5
  137. data/gemfiles/ruby_2_6.gemfile +0 -8
  138. data/gemfiles/ruby_2_7.gemfile +0 -8
  139. data/gemfiles/ruby_3_0.gemfile +0 -8
  140. data/gemfiles/ruby_3_1.gemfile +0 -8
  141. data/gemfiles/ruby_3_2.gemfile +0 -8
  142. data/gemfiles/ruby_3_3.gemfile +0 -8
  143. data/gemfiles/style.gemfile +0 -10
  144. data/timecop-rspec.gemspec +0 -146
@@ -1,75 +0,0 @@
1
- name: JRuby
2
-
3
- env:
4
- K_SOUP_COV_DO: false
5
-
6
- on:
7
- push:
8
- branches:
9
- - 'main'
10
- tags:
11
- - '!*' # Do not execute on tags
12
- pull_request:
13
- branches:
14
- - '*'
15
- # Allow manually triggering the workflow.
16
- workflow_dispatch:
17
-
18
- permissions:
19
- contents: read
20
-
21
- # Cancels all previous workflow runs for the same branch that have not yet completed.
22
- concurrency:
23
- # The concurrency group contains the workflow name and the branch name.
24
- group: "${{ github.workflow }}-${{ github.ref }}"
25
- cancel-in-progress: true
26
-
27
- jobs:
28
- test:
29
- name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
30
- if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
31
- runs-on: ubuntu-22.04
32
- continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
33
- env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
34
- BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
35
- strategy:
36
- matrix:
37
- include:
38
- # TODO: truffleruby does not support upgrading rubygems; VALIDATE ASSUMPTION that same applies to JRuby
39
- # jruby-9.3 (targets Ruby 2.6 compatibility)
40
- - ruby: "jruby-9.3"
41
- appraisal: "ruby-2-6"
42
- exec_cmd: "rake test"
43
- gemfile: "Appraisal.root"
44
- rubygems: default
45
- bundler: default
46
-
47
- # jruby-9.4 (targets Ruby 3.1 compatibility)
48
- - ruby: "jruby-9.4"
49
- appraisal: "ruby-3-1"
50
- exec_cmd: "rake test"
51
- gemfile: "Appraisal.root"
52
- rubygems: default
53
- bundler: default
54
-
55
- steps:
56
- - name: Checkout
57
- uses: actions/checkout@v5
58
-
59
- - name: Setup Ruby & RubyGems
60
- uses: ruby/setup-ruby@v1
61
- with:
62
- ruby-version: ${{ matrix.ruby }}
63
- rubygems: ${{ matrix.rubygems }}
64
- bundler: ${{ matrix.bundler }}
65
- bundler-cache: false
66
-
67
- # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
68
- # We need to do this first to get appraisal installed.
69
- # NOTE: This does not use the main Gemfile at all.
70
- - name: Install Root Appraisal
71
- run: bundle
72
- - name: Appraisal for ${{ matrix.appraisal }}
73
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle
74
- - name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
75
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
@@ -1,67 +0,0 @@
1
- name: MRI 3.0 (EOL)
2
-
3
- env:
4
- K_SOUP_COV_DO: false
5
-
6
- on:
7
- push:
8
- branches:
9
- - 'main'
10
- tags:
11
- - '!*' # Do not execute on tags
12
- pull_request:
13
- branches:
14
- - '*'
15
- # Allow manually triggering the workflow.
16
- workflow_dispatch:
17
-
18
- permissions:
19
- contents: read
20
-
21
- # Cancels all previous workflow runs for the same branch that have not yet completed.
22
- concurrency:
23
- # The concurrency group contains the workflow name and the branch name.
24
- group: "${{ github.workflow }}-${{ github.ref }}"
25
- cancel-in-progress: true
26
-
27
- jobs:
28
- test:
29
- name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
30
- if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
31
- runs-on: ubuntu-22.04
32
- continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
33
- env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
34
- BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
35
- strategy:
36
- fail-fast: false
37
- matrix:
38
- include:
39
- # Ruby 3.0
40
- - ruby: "ruby-3.0"
41
- appraisal: "ruby-3-0"
42
- exec_cmd: "rake test"
43
- gemfile: "Appraisal.root"
44
- rubygems: '3.5.23'
45
- bundler: '2.5.23'
46
-
47
- steps:
48
- - name: Checkout
49
- uses: actions/checkout@v5
50
-
51
- - name: Setup Ruby & RubyGems
52
- uses: ruby/setup-ruby@v1
53
- with:
54
- ruby-version: ${{ matrix.ruby }}
55
- rubygems: ${{ matrix.rubygems }}
56
- bundler: ${{ matrix.bundler }}
57
- bundler-cache: false
58
-
59
- # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
60
- # We need to do this first to get appraisal installed.
61
- # NOTE: This does not use the main Gemfile at all.
62
- - name: Install Root Appraisal
63
- run: bundle
64
- - name: Appraisal for ${{ matrix.appraisal }}
65
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle
66
- - name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
67
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
@@ -1,64 +0,0 @@
1
- name: Style
2
-
3
- on:
4
- push:
5
- branches:
6
- - 'main'
7
- tags:
8
- - '!*' # Do not execute on tags
9
- pull_request:
10
- branches:
11
- - '*'
12
- # Allow manually triggering the workflow.
13
- workflow_dispatch:
14
-
15
- permissions:
16
- contents: read
17
-
18
- # Cancels all previous workflow runs for the same branch that have not yet completed.
19
- concurrency:
20
- # The concurrency group contains the workflow name and the branch name.
21
- group: "${{ github.workflow }}-${{ github.ref }}"
22
- cancel-in-progress: true
23
-
24
- jobs:
25
- rubocop:
26
- name: Style on ${{ matrix.ruby }}@current
27
- if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
28
- runs-on: ubuntu-latest
29
- continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
30
- env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
31
- BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
32
- strategy:
33
- fail-fast: false
34
- matrix:
35
- include:
36
- # Style
37
- - ruby: "ruby"
38
- appraisal: "style"
39
- exec_cmd: "rake rubocop_gradual:check"
40
- gemfile: "Appraisal.root"
41
- rubygems: latest
42
- bundler: latest
43
-
44
- steps:
45
- - name: Checkout
46
- uses: actions/checkout@v5
47
-
48
- - name: Setup Ruby & RubyGems
49
- uses: ruby/setup-ruby@v1
50
- with:
51
- ruby-version: ${{ matrix.ruby }}
52
- rubygems: ${{ matrix.rubygems }}
53
- bundler: ${{ matrix.bundler }}
54
- bundler-cache: false
55
-
56
- # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
57
- # We need to do this first to get appraisal installed.
58
- # NOTE: This does not use the main Gemfile at all.
59
- - name: Install Root Appraisal
60
- run: bundle
61
- - name: Appraisal for ${{ matrix.appraisal }}
62
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle
63
- - name: Run ${{ matrix.appraisal }} checks via ${{ matrix.exec_cmd }}
64
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
@@ -1,82 +0,0 @@
1
- name: MRI Non-EOL
2
-
3
- env:
4
- K_SOUP_COV_DO: false
5
-
6
- on:
7
- push:
8
- branches:
9
- - 'main'
10
- tags:
11
- - '!*' # Do not execute on tags
12
- pull_request:
13
- branches:
14
- - '*'
15
- # Allow manually triggering the workflow.
16
- workflow_dispatch:
17
-
18
- permissions:
19
- contents: read
20
-
21
- # Cancels all previous workflow runs for the same branch that have not yet completed.
22
- concurrency:
23
- # The concurrency group contains the workflow name and the branch name.
24
- group: "${{ github.workflow }}-${{ github.ref }}"
25
- cancel-in-progress: true
26
-
27
- jobs:
28
- test:
29
- name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
30
- if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
31
- runs-on: ubuntu-latest
32
- continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
33
- env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
34
- BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
35
- strategy:
36
- matrix:
37
- include:
38
- # Ruby 3.1
39
- - ruby: "ruby-3.1"
40
- appraisal: "ruby-3-1"
41
- exec_cmd: "rake test"
42
- gemfile: "Appraisal.root"
43
- rubygems: latest
44
- bundler: latest
45
-
46
- # Ruby 3.2
47
- - ruby: "ruby-3.2"
48
- appraisal: "ruby-3-2"
49
- exec_cmd: "rake test"
50
- gemfile: "Appraisal.root"
51
- rubygems: latest
52
- bundler: latest
53
-
54
- # Ruby 3.3
55
- - ruby: "ruby-3.3"
56
- appraisal: "ruby-3-3"
57
- exec_cmd: "rake test"
58
- gemfile: "Appraisal.root"
59
- rubygems: latest
60
- bundler: latest
61
-
62
- steps:
63
- - name: Checkout
64
- uses: actions/checkout@v5
65
-
66
- - name: Setup Ruby & RubyGems
67
- uses: ruby/setup-ruby@v1
68
- with:
69
- ruby-version: ${{ matrix.ruby }}
70
- rubygems: ${{ matrix.rubygems }}
71
- bundler: ${{ matrix.bundler }}
72
- bundler-cache: false
73
-
74
- # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
75
- # We need to do this first to get appraisal installed.
76
- # NOTE: This does not use the main Gemfile at all.
77
- - name: Install Root Appraisal
78
- run: bundle
79
- - name: Appraisal for ${{ matrix.ruby }} ${{ matrix.appraisal }}
80
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle
81
- - name: Tests for ${{ matrix.ruby }} ${{ matrix.appraisal }} via ${{ matrix.exec_cmd }}
82
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
@@ -1,75 +0,0 @@
1
- name: Truffle
2
-
3
- env:
4
- K_SOUP_COV_DO: false
5
-
6
- on:
7
- push:
8
- branches:
9
- - 'main'
10
- tags:
11
- - '!*' # Do not execute on tags
12
- pull_request:
13
- branches:
14
- - '*'
15
- # Allow manually triggering the workflow.
16
- workflow_dispatch:
17
-
18
- permissions:
19
- contents: read
20
-
21
- # Cancels all previous workflow runs for the same branch that have not yet completed.
22
- concurrency:
23
- # The concurrency group contains the workflow name and the branch name.
24
- group: "${{ github.workflow }}-${{ github.ref }}"
25
- cancel-in-progress: true
26
-
27
- jobs:
28
- test:
29
- name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
30
- if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
31
- runs-on: ubuntu-22.04
32
- continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
33
- env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
34
- BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
35
- strategy:
36
- matrix:
37
- include:
38
- # NOTE: truffleruby does not support upgrading rubygems.
39
- # truffleruby-23.0 (targets Ruby 3.1 compatibility)
40
- - ruby: "truffleruby-23.0"
41
- appraisal: "ruby-3-1"
42
- exec_cmd: "rake test"
43
- gemfile: "Appraisal.root"
44
- rubygems: default
45
- bundler: default
46
-
47
- # truffleruby-23.1 (targets Ruby 3.2 compatibility)
48
- - ruby: "truffleruby-23.1"
49
- appraisal: "ruby-3-2"
50
- exec_cmd: "rake test"
51
- gemfile: "Appraisal.root"
52
- rubygems: default
53
- bundler: default
54
-
55
- steps:
56
- - name: Checkout
57
- uses: actions/checkout@v5
58
-
59
- - name: Setup Ruby & RubyGems
60
- uses: ruby/setup-ruby@v1
61
- with:
62
- ruby-version: ${{ matrix.ruby }}
63
- rubygems: ${{ matrix.rubygems }}
64
- bundler: ${{ matrix.bundler }}
65
- bundler-cache: false
66
-
67
- # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
68
- # We need to do this first to get appraisal installed.
69
- # NOTE: This does not use the main Gemfile at all.
70
- - name: Install Root Appraisal
71
- run: bundle
72
- - name: Appraisal for ${{ matrix.appraisal }}
73
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle
74
- - name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
75
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
@@ -1,75 +0,0 @@
1
- name: MRI 2.6 & 2.7 (EOL)
2
-
3
- env:
4
- K_SOUP_COV_DO: false
5
-
6
- on:
7
- push:
8
- branches:
9
- - 'main'
10
- tags:
11
- - '!*' # Do not execute on tags
12
- pull_request:
13
- branches:
14
- - '*'
15
- # Allow manually triggering the workflow.
16
- workflow_dispatch:
17
-
18
- permissions:
19
- contents: read
20
-
21
- # Cancels all previous workflow runs for the same branch that have not yet completed.
22
- concurrency:
23
- # The concurrency group contains the workflow name and the branch name.
24
- group: "${{ github.workflow }}-${{ github.ref }}"
25
- cancel-in-progress: true
26
-
27
- jobs:
28
- test:
29
- name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
30
- if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
31
- runs-on: ubuntu-22.04
32
- continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
33
- env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
34
- BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
35
- strategy:
36
- fail-fast: false
37
- matrix:
38
- include:
39
- # Ruby 2.6
40
- - ruby: "ruby-2.6"
41
- appraisal: "ruby-2-6"
42
- exec_cmd: "rake test"
43
- gemfile: "Appraisal.root"
44
- rubygems: '3.4.22'
45
- bundler: '2.4.22'
46
-
47
- # Ruby 2.7
48
- - ruby: "ruby-2.7"
49
- appraisal: "ruby-2-7"
50
- exec_cmd: "rake test"
51
- gemfile: "Appraisal.root"
52
- rubygems: '3.4.22'
53
- bundler: '2.4.22'
54
-
55
- steps:
56
- - name: Checkout
57
- uses: actions/checkout@v5
58
-
59
- - name: Setup Ruby & RubyGems
60
- uses: ruby/setup-ruby@v1
61
- with:
62
- ruby-version: ${{ matrix.ruby }}
63
- rubygems: ${{ matrix.rubygems }}
64
- bundler: ${{ matrix.bundler }}
65
- bundler-cache: false
66
-
67
- # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
68
- # We need to do this first to get appraisal installed.
69
- # NOTE: This does not use the main Gemfile at all.
70
- - name: Install Root Appraisal
71
- run: bundle
72
- - name: Appraisal for ${{ matrix.appraisal }}
73
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle
74
- - name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
75
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
data/.gitignore DELETED
@@ -1,45 +0,0 @@
1
- # Build Artifacts
2
- /pkg/
3
- /tmp/
4
- *.gem
5
-
6
- # Bundler
7
- /.bundle/
8
- /gemfiles/*.lock
9
- /gemfiles/.bundle/
10
- /gemfiles/.bundle/config
11
- /gemfiles/vendor/
12
- Appraisal.*.gemfile.lock
13
-
14
- # Specs
15
- .rspec_status
16
- /coverage/
17
- /spec/reports/
18
- /results/
19
-
20
- # Documentation
21
- /.yardoc/
22
- /_yardoc/
23
- /rdoc/
24
- /doc/
25
-
26
- # Ruby Version Managers (RVM, rbenv, etc)
27
- # Ignored because we currently use .tool-versions
28
- .rvmrc
29
- .ruby-version
30
- .ruby-gemset
31
-
32
- # Benchmarking
33
- /measurement/
34
-
35
- # Debugger detritus
36
- .byebug_history
37
-
38
- # direnv - brew install direnv
39
- .env.local
40
-
41
- # OS Detritus
42
- .DS_Store
43
-
44
- # Editors
45
- *~
data/.gitlab-ci.yml DELETED
@@ -1,44 +0,0 @@
1
- default:
2
- image: ruby
3
-
4
- variables:
5
- BUNDLE_INSTALL_FLAGS: "--quiet --jobs=$(nproc) --retry=3"
6
- BUNDLE_FROZEN: "false" # No lockfile!
7
- BUNDLE_GEMFILE: gemfiles/current.gemfile
8
- K_SOUP_COV_DEBUG: true
9
- K_SOUP_COV_DO: true
10
- K_SOUP_COV_HARD: true
11
- K_SOUP_COV_MIN_BRANCH: 100
12
- K_SOUP_COV_MIN_LINE: 100
13
- K_SOUP_COV_VERBOSE: true
14
- K_SOUP_COV_FORMATTERS: "html,xml,rcov,lcov,json,tty"
15
- K_SOUP_COV_MULTI_FORMATTERS: true
16
- K_SOUP_COV_COMMAND_NAME: "RSpec Coverage"
17
-
18
- workflow:
19
- rules:
20
- # For merge requests, create a pipeline.
21
- - if: '$CI_MERGE_REQUEST_IID'
22
- # For the ` main ` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
23
- - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
24
- # For tags, create a pipeline.
25
- - if: '$CI_COMMIT_TAG'
26
-
27
- .current_ruby_template: &current_ruby_template
28
- image: ruby:${RUBY_VERSION}
29
- stage: test
30
- script:
31
- - gem update --system > /dev/null 2>&1
32
- - bundle config --local path vendor
33
- - bundle
34
- - bundle exec rake
35
- cache:
36
- key: ${CI_JOB_IMAGE}
37
- paths:
38
- - vendor/ruby
39
-
40
- current-ruby:
41
- <<: *current_ruby_template
42
- parallel:
43
- matrix:
44
- - RUBY_VERSION: ["3.2", "3.3", "3.4"]
data/.idea/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- # Default ignored files
2
- /shelf/
3
- /workspace.xml
4
- # Editor-based HTTP Client requests
5
- /httpRequests/
6
- # Datasource local storage ignored files
7
- /dataSources/
8
- /dataSources.local.xml
data/.idea/GitLink.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="uk.co.ben_gibson.git.link.SettingsState">
4
- <option name="host" value="72037fcc-cb9c-4c22-960a-ffe73fd5e229" />
5
- </component>
6
- </project>
data/.idea/misc.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="mise: 2.7.8" project-jdk-type="RUBY_SDK" />
4
- </project>
data/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/timecop-rspec.iml" filepath="$PROJECT_DIR$/.idea/timecop-rspec.iml" />
6
- </modules>
7
- </component>
8
- </project>