active_mocker 2.6.1.beta → 2.6.1.beta2

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
2
  SHA1:
3
- metadata.gz: bef80549ecc7fff2879bd261103cbde42ed7939f
4
- data.tar.gz: 5965d36b46ae431e93b70507911dfcdf56f52f12
3
+ metadata.gz: 380a7a869f713e299aeb753431527628534128bb
4
+ data.tar.gz: 0e2253e679969d16ad94ff1dbdaf07a1905b83de
5
5
  SHA512:
6
- metadata.gz: c05810f552eed2f24c4dee009aa393ab0c006af900c87474925b113d47f2246c81bca29290c566b3eb21803dda45f46f4bcc7408750e63424492f6e94037917b
7
- data.tar.gz: 6802f02bbc7b88bbcb7d89963a1d361ee46ddd9a7e4161383653a87aef4f598a35b1a69a45226d1b6bbda520e6a0194de576787d0509653a6aa01eb5111991da
6
+ metadata.gz: 4472cbac55a5d82a7e84ac94a7f4cc50dc8a3cfd6c700fb173056e320af90e1a2f1bc2249b8c3073cc18480f7fd05c2157272a44e403ebf5506fd41035fcf14e
7
+ data.tar.gz: 861f0d27e1d2ed921ef4730dfa13525f4d03beb95c7de6286f28dbdc9bbd50bd8e5b4ab681ee96057c7bbb3139a74a90ed46cbed97a01f39bfd44d4d05366126
@@ -32,7 +32,7 @@ module ActiveMocker
32
32
  def ast_scopes
33
33
  @ast_scopes ||= class_introspector
34
34
  .parsed_source
35
- .class_begin
35
+ .send(:class_begin)
36
36
  .children
37
37
  .select { |n| n.try(:type) == :send && n.try { children[1] == :scope } }
38
38
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module ActiveMocker
3
- VERSION = "2.6.1.beta"
3
+ VERSION = "2.6.1.beta2"
4
4
  module Mock
5
5
  VERSION = "2" # This increments when breaking changes happen in the generated mocks
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_mocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1.beta
4
+ version: 2.6.1.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler
@@ -133,6 +133,9 @@ dependencies:
133
133
  - - "~>"
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0.9'
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 0.9.1
136
139
  type: :runtime
137
140
  prerelease: false
138
141
  version_requirements: !ruby/object:Gem::Requirement
@@ -140,6 +143,9 @@ dependencies:
140
143
  - - "~>"
141
144
  - !ruby/object:Gem::Version
142
145
  version: '0.9'
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: 0.9.1
143
149
  - !ruby/object:Gem::Dependency
144
150
  name: bundler
145
151
  requirement: !ruby/object:Gem::Requirement