spree_video 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53858f2541da9f3a00c9d35e1a2e687f606787c9
4
- data.tar.gz: 2692b3d11c6dda999ec86e0c36ef8957240f640d
3
+ metadata.gz: 52ba768ad0a578c4f64cd4e9972ccbc39827af0b
4
+ data.tar.gz: c5796a3a93b495fe659d03eb8ff8e9594be3c203
5
5
  SHA512:
6
- metadata.gz: 281beaf4b597826f26e3613a226370ea38e3a5c3558cdc46e7b41a8003286258722dba87ab69254dde38664053be1a62d6f5a8c5b94fb0c31aef0be6b76c482a
7
- data.tar.gz: 1163fa5ac7b7f3466888817abb623d708e549cd56c9198424e61532f5fea06e0485be24eafd66fba3c5fd795706c6b5a32fed6d9e2ec068ec168a01b9140025d
6
+ metadata.gz: b031672e623ead9f4948d3d51ab2243cb39fd5c789180d7b5c67931c69258b4c7694f8240736cf2d7b11b9529d39ffd67c381f38f84ae21e6822408da20d6848
7
+ data.tar.gz: c7e5f95ae2525df864d69b404446191f310d258bdc680cefa7289f2ca95c6be15416baeb430ae23a80fc80921802b842ea86abafab4dca05dad4d426027b56ba
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'spree', '3.0.4'
4
+ # Provides basic authentication functionality for testing parts of your engine
5
+ gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-0-stable'
6
+
7
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,370 @@
1
+ GIT
2
+ remote: git://github.com/spree/spree_auth_devise.git
3
+ revision: 7b24ad16239367dc15f96a80cc2a954a822cc6af
4
+ branch: 3-0-stable
5
+ specs:
6
+ spree_auth_devise (3.0.0)
7
+ devise (~> 3.4.1)
8
+ devise-encryptable (= 0.1.2)
9
+ json
10
+ multi_json
11
+ spree_core (~> 3.0.0)
12
+
13
+ PATH
14
+ remote: .
15
+ specs:
16
+ spree_video (0.0.1)
17
+ spree_core (~> 3.0.4)
18
+
19
+ GEM
20
+ remote: https://rubygems.org/
21
+ specs:
22
+ actionmailer (4.2.4)
23
+ actionpack (= 4.2.4)
24
+ actionview (= 4.2.4)
25
+ activejob (= 4.2.4)
26
+ mail (~> 2.5, >= 2.5.4)
27
+ rails-dom-testing (~> 1.0, >= 1.0.5)
28
+ actionpack (4.2.4)
29
+ actionview (= 4.2.4)
30
+ activesupport (= 4.2.4)
31
+ rack (~> 1.6)
32
+ rack-test (~> 0.6.2)
33
+ rails-dom-testing (~> 1.0, >= 1.0.5)
34
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
35
+ actionview (4.2.4)
36
+ activesupport (= 4.2.4)
37
+ builder (~> 3.1)
38
+ erubis (~> 2.7.0)
39
+ rails-dom-testing (~> 1.0, >= 1.0.5)
40
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
41
+ activejob (4.2.4)
42
+ activesupport (= 4.2.4)
43
+ globalid (>= 0.3.0)
44
+ activemerchant (1.47.0)
45
+ activesupport (>= 3.2.14, < 5.0.0)
46
+ builder (>= 2.1.2, < 4.0.0)
47
+ i18n (>= 0.6.9)
48
+ nokogiri (~> 1.4)
49
+ activemodel (4.2.4)
50
+ activesupport (= 4.2.4)
51
+ builder (~> 3.1)
52
+ activerecord (4.2.4)
53
+ activemodel (= 4.2.4)
54
+ activesupport (= 4.2.4)
55
+ arel (~> 6.0)
56
+ activesupport (4.2.4)
57
+ i18n (~> 0.7)
58
+ json (~> 1.7, >= 1.7.7)
59
+ minitest (~> 5.1)
60
+ thread_safe (~> 0.3, >= 0.3.4)
61
+ tzinfo (~> 1.1)
62
+ acts_as_list (0.7.2)
63
+ activerecord (>= 3.0)
64
+ addressable (2.3.8)
65
+ arel (6.0.3)
66
+ autoprefixer-rails (6.0.3)
67
+ execjs
68
+ json
69
+ awesome_nested_set (3.0.2)
70
+ activerecord (>= 4.0.0, < 5)
71
+ bcrypt (3.1.10)
72
+ bootstrap-sass (3.3.5.1)
73
+ autoprefixer-rails (>= 5.0.0.1)
74
+ sass (>= 3.3.0)
75
+ builder (3.2.2)
76
+ camertron-eprun (1.1.0)
77
+ cancancan (1.10.1)
78
+ canonical-rails (0.0.11)
79
+ rails (>= 3.1, < 5.0)
80
+ capybara (2.5.0)
81
+ mime-types (>= 1.16)
82
+ nokogiri (>= 1.3.3)
83
+ rack (>= 1.0.0)
84
+ rack-test (>= 0.5.4)
85
+ xpath (~> 2.0)
86
+ carmen (1.0.2)
87
+ activesupport (>= 3.0.0)
88
+ childprocess (0.5.6)
89
+ ffi (~> 1.0, >= 1.0.11)
90
+ cldr-plurals-runtime-rb (1.0.1)
91
+ climate_control (0.0.3)
92
+ activesupport (>= 3.0)
93
+ cocaine (0.5.7)
94
+ climate_control (>= 0.0.3, < 1.0)
95
+ coffee-rails (4.1.0)
96
+ coffee-script (>= 2.2.0)
97
+ railties (>= 4.0.0, < 5.0)
98
+ coffee-script (2.4.1)
99
+ coffee-script-source
100
+ execjs
101
+ coffee-script-source (1.9.1.1)
102
+ colorize (0.7.7)
103
+ css_parser (1.3.7)
104
+ addressable
105
+ database_cleaner (1.5.1)
106
+ deface (1.0.1)
107
+ colorize (>= 0.5.8)
108
+ nokogiri (~> 1.6.0)
109
+ polyglot
110
+ rails (>= 3.1)
111
+ devise (3.4.1)
112
+ bcrypt (~> 3.0)
113
+ orm_adapter (~> 0.1)
114
+ railties (>= 3.2.6, < 5)
115
+ responders
116
+ thread_safe (~> 0.1)
117
+ warden (~> 1.2.3)
118
+ devise-encryptable (0.1.2)
119
+ devise (>= 2.1.0)
120
+ diff-lcs (1.2.5)
121
+ docile (1.1.5)
122
+ erubis (2.7.0)
123
+ execjs (2.6.0)
124
+ factory_girl (4.5.0)
125
+ activesupport (>= 3.0.0)
126
+ ffaker (1.32.1)
127
+ ffi (1.9.10)
128
+ font-awesome-rails (4.4.0.0)
129
+ railties (>= 3.2, < 5.0)
130
+ friendly_id (5.1.0)
131
+ activerecord (>= 4.0.0)
132
+ globalid (0.3.6)
133
+ activesupport (>= 4.1.0)
134
+ highline (1.6.21)
135
+ htmlentities (4.3.4)
136
+ httparty (0.13.7)
137
+ json (~> 1.8)
138
+ multi_xml (>= 0.5.2)
139
+ i18n (0.7.0)
140
+ jquery-rails (4.0.5)
141
+ rails-dom-testing (~> 1.0)
142
+ railties (>= 4.2.0)
143
+ thor (>= 0.14, < 2.0)
144
+ jquery-ui-rails (5.0.5)
145
+ railties (>= 3.2.16)
146
+ json (1.8.3)
147
+ jw_player_helper (0.0.1)
148
+ kaminari (0.16.3)
149
+ actionpack (>= 3.0.0)
150
+ activesupport (>= 3.0.0)
151
+ loofah (2.0.3)
152
+ nokogiri (>= 1.5.9)
153
+ mail (2.6.3)
154
+ mime-types (>= 1.16, < 3)
155
+ mime-types (2.6.2)
156
+ mini_portile (0.6.2)
157
+ minitest (5.8.1)
158
+ monetize (1.3.1)
159
+ money (~> 6.6)
160
+ money (6.6.1)
161
+ i18n (>= 0.6.4, <= 0.7.0)
162
+ multi_json (1.11.2)
163
+ multi_xml (0.5.5)
164
+ nokogiri (1.6.6.2)
165
+ mini_portile (~> 0.6.0)
166
+ orm_adapter (0.5.0)
167
+ paperclip (4.2.4)
168
+ activemodel (>= 3.2.0)
169
+ activesupport (>= 3.2.0)
170
+ cocaine (~> 0.5.5)
171
+ mime-types
172
+ paranoia (2.1.3)
173
+ activerecord (~> 4.0)
174
+ polyamorous (1.2.0)
175
+ activerecord (>= 3.0)
176
+ polyglot (0.3.5)
177
+ premailer (1.8.6)
178
+ css_parser (>= 1.3.6)
179
+ htmlentities (>= 4.0.0)
180
+ premailer-rails (1.8.2)
181
+ actionmailer (>= 3, < 5)
182
+ premailer (~> 1.7, >= 1.7.9)
183
+ rabl (0.9.4.pre1)
184
+ activesupport (>= 2.3.14)
185
+ rack (1.6.4)
186
+ rack-test (0.6.3)
187
+ rack (>= 1.0)
188
+ rails (4.2.4)
189
+ actionmailer (= 4.2.4)
190
+ actionpack (= 4.2.4)
191
+ actionview (= 4.2.4)
192
+ activejob (= 4.2.4)
193
+ activemodel (= 4.2.4)
194
+ activerecord (= 4.2.4)
195
+ activesupport (= 4.2.4)
196
+ bundler (>= 1.3.0, < 2.0)
197
+ railties (= 4.2.4)
198
+ sprockets-rails
199
+ rails-deprecated_sanitizer (1.0.3)
200
+ activesupport (>= 4.2.0.alpha)
201
+ rails-dom-testing (1.0.7)
202
+ activesupport (>= 4.2.0.beta, < 5.0)
203
+ nokogiri (~> 1.6.0)
204
+ rails-deprecated_sanitizer (>= 1.0.1)
205
+ rails-html-sanitizer (1.0.2)
206
+ loofah (~> 2.0)
207
+ railties (4.2.4)
208
+ actionpack (= 4.2.4)
209
+ activesupport (= 4.2.4)
210
+ rake (>= 0.8.7)
211
+ thor (>= 0.18.1, < 2.0)
212
+ rake (10.4.2)
213
+ ransack (1.4.1)
214
+ actionpack (>= 3.0)
215
+ activerecord (>= 3.0)
216
+ activesupport (>= 3.0)
217
+ i18n
218
+ polyamorous (~> 1.1)
219
+ responders (2.1.0)
220
+ railties (>= 4.2.0, < 5)
221
+ rspec-core (3.3.2)
222
+ rspec-support (~> 3.3.0)
223
+ rspec-expectations (3.3.1)
224
+ diff-lcs (>= 1.2.0, < 2.0)
225
+ rspec-support (~> 3.3.0)
226
+ rspec-mocks (3.3.2)
227
+ diff-lcs (>= 1.2.0, < 2.0)
228
+ rspec-support (~> 3.3.0)
229
+ rspec-rails (3.3.3)
230
+ actionpack (>= 3.0, < 4.3)
231
+ activesupport (>= 3.0, < 4.3)
232
+ railties (>= 3.0, < 4.3)
233
+ rspec-core (~> 3.3.0)
234
+ rspec-expectations (~> 3.3.0)
235
+ rspec-mocks (~> 3.3.0)
236
+ rspec-support (~> 3.3.0)
237
+ rspec-support (3.3.0)
238
+ rubyzip (1.1.7)
239
+ sass (3.4.19)
240
+ sass-rails (5.0.4)
241
+ railties (>= 4.0.0, < 5.0)
242
+ sass (~> 3.1)
243
+ sprockets (>= 2.8, < 4.0)
244
+ sprockets-rails (>= 2.0, < 4.0)
245
+ tilt (>= 1.1, < 3)
246
+ select2-rails (3.5.9.1)
247
+ thor (~> 0.14)
248
+ selenium-webdriver (2.48.1)
249
+ childprocess (~> 0.5)
250
+ multi_json (~> 1.0)
251
+ rubyzip (~> 1.0)
252
+ websocket (~> 1.0)
253
+ simplecov (0.10.0)
254
+ docile (~> 1.1.0)
255
+ json (~> 1.8)
256
+ simplecov-html (~> 0.10.0)
257
+ simplecov-html (0.10.0)
258
+ spree (3.0.4)
259
+ spree_api (= 3.0.4)
260
+ spree_backend (= 3.0.4)
261
+ spree_cmd (= 3.0.4)
262
+ spree_core (= 3.0.4)
263
+ spree_frontend (= 3.0.4)
264
+ spree_sample (= 3.0.4)
265
+ spree_api (3.0.4)
266
+ rabl (~> 0.9.4.pre1)
267
+ spree_core (= 3.0.4)
268
+ versioncake (~> 2.3.1)
269
+ spree_backend (3.0.4)
270
+ bootstrap-sass (~> 3.3.1)
271
+ jquery-rails (~> 4.0.3)
272
+ jquery-ui-rails (~> 5.0.0)
273
+ select2-rails (= 3.5.9.1)
274
+ spree_api (= 3.0.4)
275
+ spree_core (= 3.0.4)
276
+ sprockets-rails (~> 2.2)
277
+ spree_cmd (3.0.4)
278
+ thor (~> 0.14)
279
+ spree_core (3.0.4)
280
+ activemerchant (~> 1.47.0)
281
+ acts_as_list (~> 0.6)
282
+ awesome_nested_set (~> 3.0.1)
283
+ cancancan (~> 1.10.1)
284
+ carmen (~> 1.0.0)
285
+ deface (~> 1.0.0)
286
+ ffaker (~> 1.16)
287
+ font-awesome-rails (~> 4.0)
288
+ friendly_id (~> 5.1.0)
289
+ highline (~> 1.6.18)
290
+ httparty (~> 0.11)
291
+ json (~> 1.7)
292
+ kaminari (~> 0.15, >= 0.15.1)
293
+ monetize (~> 1.1)
294
+ paperclip (~> 4.2.0)
295
+ paranoia (~> 2.1.0)
296
+ premailer-rails
297
+ rails (~> 4.2.2)
298
+ ransack (~> 1.4.1)
299
+ responders
300
+ state_machines-activerecord (~> 0.2)
301
+ stringex
302
+ truncate_html (= 0.9.2)
303
+ twitter_cldr (~> 3.0)
304
+ spree_frontend (3.0.4)
305
+ bootstrap-sass (~> 3.3.1)
306
+ canonical-rails (~> 0.0.4)
307
+ jquery-rails (~> 4.0.3)
308
+ spree_api (= 3.0.4)
309
+ spree_core (= 3.0.4)
310
+ sprockets-rails (~> 2.2)
311
+ spree_sample (3.0.4)
312
+ spree_core (= 3.0.4)
313
+ sprockets (3.4.0)
314
+ rack (> 1, < 3)
315
+ sprockets-rails (2.3.3)
316
+ actionpack (>= 3.0)
317
+ activesupport (>= 3.0)
318
+ sprockets (>= 2.8, < 4.0)
319
+ sqlite3 (1.3.11)
320
+ state_machines (0.4.0)
321
+ state_machines-activemodel (0.3.0)
322
+ activemodel (~> 4.1)
323
+ state_machines (>= 0.4.0)
324
+ state_machines-activerecord (0.3.0)
325
+ activerecord (~> 4.1)
326
+ state_machines-activemodel (>= 0.3.0)
327
+ stringex (2.5.2)
328
+ thor (0.19.1)
329
+ thread_safe (0.3.5)
330
+ tilt (2.0.1)
331
+ truncate_html (0.9.2)
332
+ twitter_cldr (3.2.1)
333
+ camertron-eprun
334
+ cldr-plurals-runtime-rb (~> 1.0.0)
335
+ json
336
+ tzinfo
337
+ tzinfo (1.2.2)
338
+ thread_safe (~> 0.1)
339
+ versioncake (2.3.1)
340
+ actionpack (>= 3.2)
341
+ activesupport (>= 3.2)
342
+ railties (>= 3.2)
343
+ tzinfo
344
+ warden (1.2.3)
345
+ rack (>= 1.0)
346
+ websocket (1.2.2)
347
+ xpath (2.0.0)
348
+ nokogiri (~> 1.3)
349
+
350
+ PLATFORMS
351
+ ruby
352
+
353
+ DEPENDENCIES
354
+ capybara (~> 2.4)
355
+ coffee-rails
356
+ database_cleaner
357
+ factory_girl (~> 4.5)
358
+ ffaker
359
+ jw_player_helper
360
+ rspec-rails (~> 3.1)
361
+ sass-rails (~> 5.0.0.beta1)
362
+ selenium-webdriver
363
+ simplecov
364
+ spree (= 3.0.4)
365
+ spree_auth_devise!
366
+ spree_video!
367
+ sqlite3
368
+
369
+ BUNDLED WITH
370
+ 1.10.6
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Chashmeet Singh
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,34 @@
1
+ Installation
2
+ ------------
3
+
4
+ Add spree_video to your Gemfile:
5
+
6
+ ```ruby
7
+ gem 'spree_video', github: 'chashmeetsingh/spree_video', branch: 'master'
8
+ ```
9
+
10
+ Bundle your dependencies and run the installation generator:
11
+
12
+ ```shell
13
+ bundle
14
+ bundle exec rails g spree_video:install
15
+ ```
16
+
17
+ Testing
18
+ -------
19
+
20
+ First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.
21
+
22
+ ```shell
23
+ bundle
24
+ bundle exec rake
25
+ ```
26
+
27
+ When testing your applications integration with this extension you may use it's factories.
28
+ Simply add this require statement to your spec_helper:
29
+
30
+ ```ruby
31
+ require 'spree_video/factories'
32
+ ```
33
+
34
+ Copyright (c) 2015 Chashmeet Singh, released under the New BSD License
data/Rakefile ADDED
@@ -0,0 +1,21 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ require 'rspec/core/rake_task'
5
+ require 'spree/testing_support/extension_rake'
6
+
7
+ RSpec::Core::RakeTask.new
8
+
9
+ task :default do
10
+ if Dir["spec/dummy"].empty?
11
+ Rake::Task[:test_app].invoke
12
+ Dir.chdir("../../")
13
+ end
14
+ Rake::Task[:spec].invoke
15
+ end
16
+
17
+ desc 'Generates a dummy app for testing'
18
+ task :test_app do
19
+ ENV['LIB_NAME'] = 'spree_video'
20
+ Rake::Task['extension:test_app'].invoke
21
+ end
data/bin/rails ADDED
@@ -0,0 +1,7 @@
1
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
2
+
3
+ ENGINE_ROOT = File.expand_path('../..', __FILE__)
4
+ ENGINE_PATH = File.expand_path('../../lib/spree_video/engine', __FILE__)
5
+
6
+ require 'rails/all'
7
+ require 'rails/engine/commands'
data/config/routes.rb ADDED
@@ -0,0 +1,3 @@
1
+ Spree::Core::Engine.routes.draw do
2
+ # Add your extension routes here
3
+ end
@@ -0,0 +1,2 @@
1
+ require 'spree_core'
2
+ require 'spree_video/engine'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_video
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chashmeet Singh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-21 00:00:00.000000000 Z
11
+ date: 2015-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -184,9 +184,18 @@ email: chashmeetsingh@gmail.com
184
184
  executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
- files: []
188
- homepage: http://www.chashmeetsingh.com
189
- licenses: []
187
+ files:
188
+ - Gemfile
189
+ - Gemfile.lock
190
+ - LICENSE
191
+ - README.md
192
+ - Rakefile
193
+ - bin/rails
194
+ - config/routes.rb
195
+ - lib/spree_video.rb
196
+ homepage: http://rubygems.org/gems/spree_video
197
+ licenses:
198
+ - MIT
190
199
  metadata: {}
191
200
  post_install_message:
192
201
  rdoc_options: []