receptacle 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/LICENSE.txt +1 -1
- data/lib/receptacle/test_support.rb +8 -0
- data/lib/receptacle/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cf73a17e7eb57b985f1b21d82784a2387ed5edc
|
4
|
+
data.tar.gz: 6964567a2581f9cb0d4e6be72ee52ac312a44fff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3720c2ae69bc18032ef7b48663496559a83f0826afa81c12f58a60fbcf124fccd94960f6754131ab11be5368da06cf571aac9ee64808d9dd0e181528b3d5959e
|
7
|
+
data.tar.gz: 34f4e120c2c0d807dd65b9dc1772bfbad020dc010c43715214e931916ec873bb11b5b76180ca1694dcd5a1eac0aaaded4bff199d86fe1e0f5118897a5b376c10
|
data/CHANGELOG.md
ADDED
data/LICENSE.txt
CHANGED
@@ -43,5 +43,13 @@ module Receptacle
|
|
43
43
|
yield
|
44
44
|
repo.strategy original_strategy
|
45
45
|
end
|
46
|
+
|
47
|
+
# rspec mocks/stubs don't like the lazy defined delegate methods use this to
|
48
|
+
# make sure the methods are already defined
|
49
|
+
def ensure_method_delegators(repo)
|
50
|
+
Receptacle::Registration.repositories[repo].methods.each do |method_name|
|
51
|
+
repo.__build_method(method_name)
|
52
|
+
end
|
53
|
+
end
|
46
54
|
end
|
47
55
|
end
|
data/lib/receptacle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: receptacle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Eger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -175,6 +175,7 @@ files:
|
|
175
175
|
- ".gitignore"
|
176
176
|
- ".rubocop.yml"
|
177
177
|
- ".travis.yml"
|
178
|
+
- CHANGELOG.md
|
178
179
|
- CODE_OF_CONDUCT.md
|
179
180
|
- Gemfile
|
180
181
|
- Guardfile
|