sprig-reap 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1ac2b20b4f1cbba5f31cfb4db6dfabbc25112ff8
4
+ data.tar.gz: d79d619056b7e994d31498db65c6dbb4d2108b8b
5
+ SHA512:
6
+ metadata.gz: 6b813463b3421ea27d6da1cf4dd93f517481d9a6cb90ab31fee066209b6e9f176af7bf9ff17ca456eff072db4d956143f62fc9aacb50423cf864d42a1166ca16
7
+ data.tar.gz: 0b1e5d20bdf747713ff355f92103b8e7f73ea445911e0156d28e809c32a8705a898ae586454e78c4bc8c8dfdf3ab47a97d8579d2f736ca6e6270e31736bd8922
@@ -11,7 +11,7 @@ module Sprig::Reap
11
11
  end
12
12
 
13
13
  def file?
14
- input.is_a? CarrierWave::Uploader::Base
14
+ defined?(::CarrierWave) && input.is_a?(::CarrierWave::Uploader::Base)
15
15
  end
16
16
 
17
17
  def existing_location
@@ -1,5 +1,5 @@
1
1
  module Sprig
2
2
  module Reap
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  records:
2
2
  - sprig_id: 10
3
- post_id: <%= sprig_record(Post, 2).id %>
4
- body: pork chop sandwiches
3
+ post_id: "<%= sprig_record(Post, 2).id %>"
4
+ body: "pork chop sandwiches"
5
5
  - sprig_id: 20
6
- post_id: <%= sprig_record(Post, 1).id %>
7
- body: do you play baseball?
6
+ post_id: "<%= sprig_record(Post, 1).id %>"
7
+ body: "do you play baseball?"
@@ -1,3 +1,3 @@
1
1
  - sprig_id: 1
2
- votable_id: <%= sprig_record(Post, 1).id %>
2
+ votable_id: "<%= sprig_record(Post, 1).id %>"
3
3
  votable_type: Post
@@ -1,9 +1,9 @@
1
1
  records:
2
2
  - sprig_id: 1
3
- title: such post
4
- content: Once upon a time BOOM POSTED
3
+ title: "such post"
4
+ content: "Once upon a time BOOM POSTED"
5
5
  published: true
6
6
  - sprig_id: 2
7
- title: very words
8
- content: Word cannon has been loaded up real good.
7
+ title: "very words"
8
+ content: "Word cannon has been loaded up real good."
9
9
  published: true
@@ -1,7 +1,7 @@
1
1
  records:
2
2
  - sprig_id: 1
3
- post_id: <%= sprig_record(Post, 1).id %>
3
+ post_id: "<%= sprig_record(Post, 1).id %>"
4
4
  body:
5
5
  - sprig_id: 2
6
- post_id: <%= sprig_record(Post, 2).id %>
6
+ post_id: "<%= sprig_record(Post, 2).id %>"
7
7
  body:
@@ -1,6 +1,6 @@
1
1
  - sprig_id: 1
2
- post_id: <%= sprig_record(Post, 1).id %>
2
+ post_id: "<%= sprig_record(Post, 1).id %>"
3
3
  body:
4
4
  - sprig_id: 2
5
- post_id: <%= sprig_record(Post, 2).id %>
5
+ post_id: "<%= sprig_record(Post, 2).id %>"
6
6
  body:
@@ -1,7 +1,7 @@
1
1
  records:
2
2
  - sprig_id: 5
3
- first_name: Bo
4
- last_name: Janglez
3
+ first_name: "Bo"
4
+ last_name: "Janglez"
5
5
  - sprig_id: 9
6
- first_name: Jimmy
7
- last_name: Russel
6
+ first_name: "Jimmy"
7
+ last_name: "Russel"
metadata CHANGED
@@ -1,126 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprig-reap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
5
- prerelease:
4
+ version: 0.0.10
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ryan Stenberg
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-09-12 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.1'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sqlite3
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.3.8
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.3.8
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: 2.14.0
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: 2.14.0
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: database_cleaner
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: 1.2.0
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: 1.2.0
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: pry
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: generator_spec
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: carrierwave
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ~>
101
+ - - "~>"
116
102
  - !ruby/object:Gem::Version
117
103
  version: 0.10.0
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ~>
108
+ - - "~>"
124
109
  - !ruby/object:Gem::Version
125
110
  version: 0.10.0
126
111
  description: Sprig-Reap is a gem that allows you to output your application's data
@@ -131,6 +116,11 @@ executables: []
131
116
  extensions: []
132
117
  extra_rdoc_files: []
133
118
  files:
119
+ - MIT-LICENSE
120
+ - README.md
121
+ - Rakefile
122
+ - lib/sprig-reap.rb
123
+ - lib/sprig/reap.rb
134
124
  - lib/sprig/reap/association.rb
135
125
  - lib/sprig/reap/configuration.rb
136
126
  - lib/sprig/reap/file_attribute.rb
@@ -141,12 +131,7 @@ files:
141
131
  - lib/sprig/reap/seed_file.rb
142
132
  - lib/sprig/reap/tsortable_hash.rb
143
133
  - lib/sprig/reap/version.rb
144
- - lib/sprig/reap.rb
145
- - lib/sprig-reap.rb
146
134
  - lib/tasks/reap.rake
147
- - MIT-LICENSE
148
- - Rakefile
149
- - README.md
150
135
  - spec/db/activerecord.db
151
136
  - spec/fixtures/images/avatar.png
152
137
  - spec/fixtures/models/comment.rb
@@ -177,27 +162,26 @@ files:
177
162
  homepage: http://www.github.com/vigetlabs/sprig-reap
178
163
  licenses:
179
164
  - MIT
165
+ metadata: {}
180
166
  post_install_message:
181
167
  rdoc_options: []
182
168
  require_paths:
183
169
  - lib
184
170
  required_ruby_version: !ruby/object:Gem::Requirement
185
- none: false
186
171
  requirements:
187
- - - ! '>='
172
+ - - ">="
188
173
  - !ruby/object:Gem::Version
189
174
  version: '0'
190
175
  required_rubygems_version: !ruby/object:Gem::Requirement
191
- none: false
192
176
  requirements:
193
- - - ! '>='
177
+ - - ">="
194
178
  - !ruby/object:Gem::Version
195
179
  version: '0'
196
180
  requirements: []
197
181
  rubyforge_project:
198
- rubygems_version: 1.8.23
182
+ rubygems_version: 2.2.2
199
183
  signing_key:
200
- specification_version: 3
184
+ specification_version: 4
201
185
  summary: Automatic seed file generation for Rails apps using Sprig.
202
186
  test_files:
203
187
  - spec/db/activerecord.db