rubicure 0.4.5 → 0.4.6
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 +4 -4
- data/CHANGELOG.md +8 -1
- data/lib/rubicure/series.rb +4 -3
- data/lib/rubicure/version.rb +1 -1
- data/spec/series_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ffa2a1b26287b9f61243c1b9d55f29af347e2a2
|
4
|
+
data.tar.gz: f1b6ceb0d898e909d0a59bef5330d763a800d690
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bfd565f081c61dbbd409564fb1a169271f1982f6b7cae93c8ad0ae8db41c6326db854f0d997e07c7543a0e475fbcd319c99be3011bf51083a5eebabc67f70a0
|
7
|
+
data.tar.gz: 9817c0b9f2bf2d86bbf3912dbdf87732da365af4de81ca0f05e20036525c06f671afa0232353fe030d45a356267e0cfffd5b7011c404c8b895fbcdfad8c3df93
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.
|
2
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.6...master)
|
3
|
+
|
4
|
+
## v0.4.6
|
5
|
+
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.5...v0.4.6)
|
6
|
+
|
7
|
+
* Fix DEPRECATION WARNING with activesupport 5.0+
|
8
|
+
* https://github.com/sue445/rubicure/issues/107
|
9
|
+
* https://github.com/sue445/rubicure/pull/108
|
3
10
|
|
4
11
|
## v0.4.5
|
5
12
|
[full changelog](http://github.com/sue445/rubicure/compare/v0.4.4...v0.4.5)
|
data/lib/rubicure/series.rb
CHANGED
@@ -52,10 +52,11 @@ module Rubicure
|
|
52
52
|
@girls
|
53
53
|
end
|
54
54
|
|
55
|
-
|
56
|
-
|
55
|
+
alias_method :each_without_girls, :each
|
56
|
+
|
57
|
+
def each(&block)
|
58
|
+
girls.each(&block)
|
57
59
|
end
|
58
|
-
alias_method_chain :each, :girls
|
59
60
|
|
60
61
|
def to_json(*_args)
|
61
62
|
original_hash = {}
|
data/lib/rubicure/version.rb
CHANGED
data/spec/series_spec.rb
CHANGED
@@ -127,13 +127,13 @@ describe Rubicure::Series do
|
|
127
127
|
end
|
128
128
|
end
|
129
129
|
|
130
|
-
describe "#
|
131
|
-
subject { series.
|
130
|
+
describe "#each" do
|
131
|
+
subject { series.each }
|
132
132
|
|
133
133
|
let(:series) { Rubicure::Series.find(series_name) }
|
134
134
|
let(:series_name) { :splash_star }
|
135
135
|
|
136
|
-
it { expect { |b| series.
|
136
|
+
it { expect { |b| series.each(&b) }.to yield_successive_args(Rubicure::Girl, Rubicure::Girl) }
|
137
137
|
end
|
138
138
|
|
139
139
|
describe "#to_json" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubicure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|