picky-generators 4.12.0 → 4.12.1
Sign up to get free protection for your applications and to get access to all the features.
- data/prototypes/shared/client/book.rb +2 -2
- metadata +6 -6
@@ -19,9 +19,9 @@ class Book
|
|
19
19
|
@@books_mapping[row.shift.to_i] = row
|
20
20
|
end
|
21
21
|
|
22
|
-
#
|
22
|
+
# Find_all_by_id uses a lookup table.
|
23
23
|
#
|
24
|
-
def self.
|
24
|
+
def self.find_all_by_id ids, _ = {}
|
25
25
|
ids.map { |id| new(id, *@@books_mapping[id]) }
|
26
26
|
end
|
27
27
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: picky-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.12.
|
4
|
+
version: 4.12.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 4.12.
|
37
|
+
version: 4.12.1
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 4.12.
|
45
|
+
version: 4.12.1
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: picky-client
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 4.12.
|
53
|
+
version: 4.12.1
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.12.
|
61
|
+
version: 4.12.1
|
62
62
|
description: Generators for Picky.
|
63
63
|
email: florian.hanke+picky-generators@gmail.com
|
64
64
|
executables:
|