ds_media_library 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~>5.2.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,274 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ ds_media_library (0.5.5)
5
+ awesome_nested_set
6
+ coffee-rails
7
+ ds_node
8
+ font-awesome-rails
9
+ handlebars_assets
10
+ jquery-rails
11
+ jquery-ui-rails
12
+ rails
13
+ sass-rails
14
+ slim
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ actioncable (5.2.0)
20
+ actionpack (= 5.2.0)
21
+ nio4r (~> 2.0)
22
+ websocket-driver (>= 0.6.1)
23
+ actionmailer (5.2.0)
24
+ actionpack (= 5.2.0)
25
+ actionview (= 5.2.0)
26
+ activejob (= 5.2.0)
27
+ mail (~> 2.5, >= 2.5.4)
28
+ rails-dom-testing (~> 2.0)
29
+ actionpack (5.2.0)
30
+ actionview (= 5.2.0)
31
+ activesupport (= 5.2.0)
32
+ rack (~> 2.0)
33
+ rack-test (>= 0.6.3)
34
+ rails-dom-testing (~> 2.0)
35
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
36
+ actionview (5.2.0)
37
+ activesupport (= 5.2.0)
38
+ builder (~> 3.1)
39
+ erubi (~> 1.4)
40
+ rails-dom-testing (~> 2.0)
41
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
42
+ active_record-json_associations (0.6.8)
43
+ activerecord
44
+ activejob (5.2.0)
45
+ activesupport (= 5.2.0)
46
+ globalid (>= 0.3.6)
47
+ activemodel (5.2.0)
48
+ activesupport (= 5.2.0)
49
+ activerecord (5.2.0)
50
+ activemodel (= 5.2.0)
51
+ activesupport (= 5.2.0)
52
+ arel (>= 9.0)
53
+ activestorage (5.2.0)
54
+ actionpack (= 5.2.0)
55
+ activerecord (= 5.2.0)
56
+ marcel (~> 0.3.1)
57
+ activesupport (5.2.0)
58
+ concurrent-ruby (~> 1.0, >= 1.0.2)
59
+ i18n (>= 0.7, < 2)
60
+ minitest (~> 5.1)
61
+ tzinfo (~> 1.1)
62
+ addressable (2.5.2)
63
+ public_suffix (>= 2.0.2, < 4.0)
64
+ appraisal (2.2.0)
65
+ bundler
66
+ rake
67
+ thor (>= 0.14.0)
68
+ arel (9.0.0)
69
+ awesome_nested_set (3.1.4)
70
+ activerecord (>= 4.0.0, < 5.3)
71
+ backports (3.11.3)
72
+ builder (3.2.3)
73
+ byebug (10.0.2)
74
+ capybara (3.1.1)
75
+ addressable
76
+ mini_mime (>= 0.1.3)
77
+ nokogiri (~> 1.8)
78
+ rack (>= 1.6.0)
79
+ rack-test (>= 0.6.3)
80
+ xpath (~> 3.0)
81
+ capybara-screenshot (1.0.21)
82
+ capybara (>= 1.0, < 4)
83
+ launchy
84
+ chop (0.22.1)
85
+ activerecord
86
+ capybara
87
+ cucumber
88
+ cliver (0.3.2)
89
+ coffee-rails (4.2.2)
90
+ coffee-script (>= 2.2.0)
91
+ railties (>= 4.0.0)
92
+ coffee-script (2.4.1)
93
+ coffee-script-source
94
+ execjs
95
+ coffee-script-source (1.12.2)
96
+ concurrent-ruby (1.0.5)
97
+ crass (1.0.4)
98
+ cucumber (3.1.2)
99
+ builder (>= 2.1.2)
100
+ cucumber-core (~> 3.2.0)
101
+ cucumber-expressions (~> 6.0.1)
102
+ cucumber-wire (~> 0.0.1)
103
+ diff-lcs (~> 1.3)
104
+ gherkin (~> 5.1.0)
105
+ multi_json (>= 1.7.5, < 2.0)
106
+ multi_test (>= 0.1.2)
107
+ cucumber-core (3.2.0)
108
+ backports (>= 3.8.0)
109
+ cucumber-tag_expressions (~> 1.1.0)
110
+ gherkin (>= 5.0.0)
111
+ cucumber-expressions (6.0.1)
112
+ cucumber-rails (1.6.0)
113
+ capybara (>= 1.1.2, < 4)
114
+ cucumber (>= 3.0.2, < 4)
115
+ mime-types (>= 1.17, < 4)
116
+ nokogiri (~> 1.8)
117
+ railties (>= 4, < 6)
118
+ cucumber-tag_expressions (1.1.1)
119
+ cucumber-wire (0.0.1)
120
+ database_cleaner (1.7.0)
121
+ diff-lcs (1.3)
122
+ ds_node (0.1.2)
123
+ active_record-json_associations
124
+ activerecord
125
+ mime-types
126
+ erubi (1.7.1)
127
+ execjs (2.7.0)
128
+ ffi (1.9.25)
129
+ font-awesome-rails (4.7.0.4)
130
+ railties (>= 3.2, < 6.0)
131
+ gherkin (5.1.0)
132
+ globalid (0.4.1)
133
+ activesupport (>= 4.2.0)
134
+ handlebars_assets (0.23.2)
135
+ execjs (~> 2.0)
136
+ sprockets (>= 2.0.0)
137
+ tilt (>= 1.2)
138
+ i18n (1.0.1)
139
+ concurrent-ruby (~> 1.0)
140
+ jquery-rails (4.3.3)
141
+ rails-dom-testing (>= 1, < 3)
142
+ railties (>= 4.2.0)
143
+ thor (>= 0.14, < 2.0)
144
+ jquery-ui-rails (6.0.1)
145
+ railties (>= 3.2.16)
146
+ launchy (2.4.3)
147
+ addressable (~> 2.3)
148
+ loofah (2.2.2)
149
+ crass (~> 1.0.2)
150
+ nokogiri (>= 1.5.9)
151
+ mail (2.7.0)
152
+ mini_mime (>= 0.1.1)
153
+ marcel (0.3.2)
154
+ mimemagic (~> 0.3.2)
155
+ method_source (0.9.0)
156
+ mime-types (3.1)
157
+ mime-types-data (~> 3.2015)
158
+ mime-types-data (3.2016.0521)
159
+ mimemagic (0.3.2)
160
+ mini_mime (1.0.0)
161
+ mini_portile2 (2.3.0)
162
+ minitest (5.11.3)
163
+ multi_json (1.13.1)
164
+ multi_test (0.1.2)
165
+ nio4r (2.3.1)
166
+ nokogiri (1.8.4)
167
+ mini_portile2 (~> 2.3.0)
168
+ phantomjs (2.1.1.0)
169
+ poltergeist (1.18.1)
170
+ capybara (>= 2.1, < 4)
171
+ cliver (~> 0.3.1)
172
+ websocket-driver (>= 0.2.0)
173
+ public_suffix (3.0.2)
174
+ rack (2.0.5)
175
+ rack-test (1.1.0)
176
+ rack (>= 1.0, < 3)
177
+ rails (5.2.0)
178
+ actioncable (= 5.2.0)
179
+ actionmailer (= 5.2.0)
180
+ actionpack (= 5.2.0)
181
+ actionview (= 5.2.0)
182
+ activejob (= 5.2.0)
183
+ activemodel (= 5.2.0)
184
+ activerecord (= 5.2.0)
185
+ activestorage (= 5.2.0)
186
+ activesupport (= 5.2.0)
187
+ bundler (>= 1.3.0)
188
+ railties (= 5.2.0)
189
+ sprockets-rails (>= 2.0.0)
190
+ rails-dom-testing (2.0.3)
191
+ activesupport (>= 4.2.0)
192
+ nokogiri (>= 1.6)
193
+ rails-html-sanitizer (1.0.4)
194
+ loofah (~> 2.2, >= 2.2.2)
195
+ railties (5.2.0)
196
+ actionpack (= 5.2.0)
197
+ activesupport (= 5.2.0)
198
+ method_source
199
+ rake (>= 0.8.7)
200
+ thor (>= 0.18.1, < 2.0)
201
+ rake (10.5.0)
202
+ rb-fsevent (0.10.3)
203
+ rb-inotify (0.9.10)
204
+ ffi (>= 0.5.0, < 2)
205
+ rspec (3.7.0)
206
+ rspec-core (~> 3.7.0)
207
+ rspec-expectations (~> 3.7.0)
208
+ rspec-mocks (~> 3.7.0)
209
+ rspec-core (3.7.1)
210
+ rspec-support (~> 3.7.0)
211
+ rspec-expectations (3.7.0)
212
+ diff-lcs (>= 1.2.0, < 2.0)
213
+ rspec-support (~> 3.7.0)
214
+ rspec-mocks (3.7.0)
215
+ diff-lcs (>= 1.2.0, < 2.0)
216
+ rspec-support (~> 3.7.0)
217
+ rspec-support (3.7.1)
218
+ sass (3.5.7)
219
+ sass-listen (~> 4.0.0)
220
+ sass-listen (4.0.0)
221
+ rb-fsevent (~> 0.9, >= 0.9.4)
222
+ rb-inotify (~> 0.9, >= 0.9.7)
223
+ sass-rails (5.0.7)
224
+ railties (>= 4.0.0, < 6)
225
+ sass (~> 3.1)
226
+ sprockets (>= 2.8, < 4.0)
227
+ sprockets-rails (>= 2.0, < 4.0)
228
+ tilt (>= 1.1, < 3)
229
+ slim (3.0.9)
230
+ temple (>= 0.7.6, < 0.9)
231
+ tilt (>= 1.3.3, < 2.1)
232
+ sprockets (3.7.2)
233
+ concurrent-ruby (~> 1.0)
234
+ rack (> 1, < 3)
235
+ sprockets-rails (3.2.1)
236
+ actionpack (>= 4.0)
237
+ activesupport (>= 4.0)
238
+ sprockets (>= 3.0.0)
239
+ sqlite3 (1.3.13)
240
+ temple (0.8.0)
241
+ thor (0.20.0)
242
+ thread_safe (0.3.6)
243
+ tilt (2.0.8)
244
+ timecop (0.9.1)
245
+ tzinfo (1.2.5)
246
+ thread_safe (~> 0.1)
247
+ websocket-driver (0.7.0)
248
+ websocket-extensions (>= 0.1.0)
249
+ websocket-extensions (0.1.3)
250
+ xpath (3.1.0)
251
+ nokogiri (~> 1.8)
252
+
253
+ PLATFORMS
254
+ ruby
255
+
256
+ DEPENDENCIES
257
+ appraisal
258
+ bundler (~> 1.14)
259
+ byebug
260
+ capybara-screenshot
261
+ chop
262
+ cucumber-rails
263
+ database_cleaner
264
+ ds_media_library!
265
+ phantomjs
266
+ poltergeist
267
+ rails (~> 5.2.0)
268
+ rake (~> 10.0)
269
+ rspec (~> 3.0)
270
+ sqlite3
271
+ timecop
272
+
273
+ BUNDLED WITH
274
+ 1.16.3
@@ -50,7 +50,7 @@ end
50
50
  Then "I should see the following media tree:" do |table|
51
51
  def recurse_tree root, structure = [], prefix = ""
52
52
  root.all(:xpath, "./li").each do |li|
53
- if label = li.first("label")
53
+ if label = li.first("label", minimum: 0)
54
54
  type_name, created_at = if label[:class].include?("folder")
55
55
  2.times.map { "" }
56
56
  else
@@ -58,7 +58,7 @@ Then "I should see the following media tree:" do |table|
58
58
  end
59
59
  structure << [prefix + label.text, type_name, created_at]
60
60
  end
61
- if root = li.first("ul")
61
+ if root = li.first("ul", minimum: 0)
62
62
  new_prefix = prefix.empty? ? "- #{prefix}" : prefix + " "
63
63
  structure = recurse_tree(root, structure, new_prefix)
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module DSMediaLibrary
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds_media_library
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-27 00:00:00.000000000 Z
11
+ date: 2018-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: appraisal
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: cucumber-rails
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -331,6 +345,7 @@ files:
331
345
  - ".ruby-gemset"
332
346
  - ".ruby-version"
333
347
  - ".travis.yml"
348
+ - Appraisals
334
349
  - Gemfile
335
350
  - LICENSE.txt
336
351
  - README.md
@@ -374,6 +389,16 @@ files:
374
389
  - dummy/config.rb
375
390
  - dummy/database.rb
376
391
  - dummy/views.rb
392
+ - gemfiles/capybara_2.gemfile
393
+ - gemfiles/capybara_2.gemfile.lock
394
+ - gemfiles/capybara_3.gemfile
395
+ - gemfiles/capybara_3.gemfile.lock
396
+ - gemfiles/rails_5.0.gemfile
397
+ - gemfiles/rails_5.0.gemfile.lock
398
+ - gemfiles/rails_5.1.gemfile
399
+ - gemfiles/rails_5.1.gemfile.lock
400
+ - gemfiles/rails_5.2.gemfile
401
+ - gemfiles/rails_5.2.gemfile.lock
377
402
  - lib/ds_media_library.rb
378
403
  - lib/ds_media_library/cucumber.rb
379
404
  - lib/ds_media_library/engine.rb