rspec-power_assert 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d49a8fb894a9110c5488df87d91c774b624cbeda
4
- data.tar.gz: d6f1ab6d4de4c534a39b002885a02b3ccbe3ec8b
2
+ SHA256:
3
+ metadata.gz: aa6508e75aa2faf5a2d430250027dcb6ee44ba9548a801b10f6199db157a76cf
4
+ data.tar.gz: 8809e0ed06e38bda52c869c69f72447daa7963b5ba0d68ecc24b402c732948fc
5
5
  SHA512:
6
- metadata.gz: bf3cb09c9b955cceba47da0c22b3f103b1756aa5414ee042ae17d03282e3a71571299347715456b930626c4456231eea35c9a332bc962094fb3fd7dda0206d47
7
- data.tar.gz: f9f8d54f4d23f3f654b8f75d68012d511a8f83a2d14d5a9fbaafbff83a4c515635fb07bbb1b8505d531ca9b496ac04954bf68945e4462a01b044d63705a17b14
6
+ metadata.gz: a60b8cf941a7f35728110dc53e06f5274c9bd37053840a96b71f5424feda01f14269a378612b402f2572d4c08bd9229af7a851d03ca25ab78d01ba7220b96a9b
7
+ data.tar.gz: 5c377f562bdec065eab4c456094dbeebf3d4e428eb6d80c5081d7c13b6858c3dc80dfdaf73b810589803775810a439ff5f24482798501aaee689f334f861c5e0
@@ -0,0 +1,24 @@
1
+ name: RSpec
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+
7
+ jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ ruby-version: ['2.7', '3.0', '3.1', '3.2']
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Set up Ruby
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: ${{ matrix.ruby-version }}
19
+ bundler-cache: true
20
+ - name: Run tests
21
+ run: bundle exec rake
22
+ continue-on-error: true
23
+ - name: "Ignore Error"
24
+ run: echo "I only want messages of test failures"
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
  ## Support
5
5
  - RSpec 2.14 or later
6
+ - If you use ruby-3.2.x or later, please use rspec-power_assert-1.2.0 or later
6
7
 
7
8
  ## Installation
8
9
 
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module PowerAssert
3
- VERSION = "1.0.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require "rspec/core"
3
3
  require "power_assert"
4
4
 
5
5
  module PowerAssert
6
- IGNORED_LIB_DIRS[RSpec::PowerAssert] = __dir__
6
+ INTERNAL_LIB_DIRS[RSpec::PowerAssert] = File.dirname(caller_locations(1, 1).first.path)
7
7
  end
8
8
 
9
9
  module RSpec
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "power_assert", "~> 1.0.0"
21
+ spec.add_runtime_dependency "power_assert", "~> 2.0"
22
22
  spec.add_runtime_dependency "rspec", ">= 2.14"
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.7"
24
+ spec.add_development_dependency "bundler", "~> 2.0"
25
25
  spec.add_development_dependency "rake"
26
26
  end
@@ -109,18 +109,6 @@ describe RSpec::PowerAssert do
109
109
  end
110
110
 
111
111
  describe Object do
112
- before do
113
- PowerAssert.configure do |c|
114
- c._trace_alias_method = true
115
- end
116
- end
117
-
118
- after do
119
- PowerAssert.configure do |c|
120
- c._trace_alias_method = false
121
- end
122
- end
123
-
124
112
  let(:object) {
125
113
  Class.new {
126
114
  def foo
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-power_assert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2023-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: power_assert
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.7'
47
+ version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.7'
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -73,9 +73,9 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".github/workflows/rspec.yml"
76
77
  - ".gitignore"
77
78
  - ".rspec"
78
- - ".travis.yml"
79
79
  - Gemfile
80
80
  - LICENSE.txt
81
81
  - README.md
@@ -90,7 +90,7 @@ homepage: https://github.com/joker1007/rspec-power_assert
90
90
  licenses:
91
91
  - MIT
92
92
  metadata: {}
93
- post_install_message:
93
+ post_install_message:
94
94
  rdoc_options: []
95
95
  require_paths:
96
96
  - lib
@@ -105,9 +105,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
- rubyforge_project:
109
- rubygems_version: 2.6.8
110
- signing_key:
108
+ rubygems_version: 3.4.1
109
+ signing_key:
111
110
  specification_version: 4
112
111
  summary: Power Assert for RSpec.
113
112
  test_files:
data/.travis.yml DELETED
@@ -1,3 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1.3