refinerycms-stores 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/app/models/refinery/orders/order.rb +1 -1
- data/refinerycms-stores.gemspec +25 -1
- metadata +282 -194
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
@@ -340,7 +340,7 @@ module Refinery
|
|
340
340
|
# ---------------------------------------------------------------------------
|
341
341
|
def generate_order_number
|
342
342
|
nbr = 0
|
343
|
-
max =
|
343
|
+
max = 0x7ffffffe
|
344
344
|
tries = max # deadman counter to prevent infinite loop
|
345
345
|
|
346
346
|
while ( tries > 0 && Order.find_by_order_number(nbr = rand( max ) + 1) ) do
|
data/refinerycms-stores.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "refinerycms-stores"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Daudi Amani"]
|
@@ -239,6 +239,14 @@ Gem::Specification.new do |s|
|
|
239
239
|
s.add_development_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
240
240
|
s.add_development_dependency(%q<libnotify>, ["~> 0.1.3"])
|
241
241
|
s.add_development_dependency(%q<therubyracer>, [">= 0"])
|
242
|
+
s.add_development_dependency(%q<refinerycms-testing>, ["~> 2.0.0"])
|
243
|
+
s.add_development_dependency(%q<factory_girl_rails>, [">= 0"])
|
244
|
+
s.add_development_dependency(%q<generator_spec>, [">= 0"])
|
245
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
246
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
247
|
+
s.add_development_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
248
|
+
s.add_development_dependency(%q<libnotify>, ["~> 0.1.3"])
|
249
|
+
s.add_development_dependency(%q<therubyracer>, [">= 0"])
|
242
250
|
else
|
243
251
|
s.add_dependency(%q<refinerycms-stores>, [">= 0"])
|
244
252
|
s.add_dependency(%q<refinerycms>, ["~> 2.0.0"])
|
@@ -336,6 +344,14 @@ Gem::Specification.new do |s|
|
|
336
344
|
s.add_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
337
345
|
s.add_dependency(%q<libnotify>, ["~> 0.1.3"])
|
338
346
|
s.add_dependency(%q<therubyracer>, [">= 0"])
|
347
|
+
s.add_dependency(%q<refinerycms-testing>, ["~> 2.0.0"])
|
348
|
+
s.add_dependency(%q<factory_girl_rails>, [">= 0"])
|
349
|
+
s.add_dependency(%q<generator_spec>, [">= 0"])
|
350
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
351
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
352
|
+
s.add_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
353
|
+
s.add_dependency(%q<libnotify>, ["~> 0.1.3"])
|
354
|
+
s.add_dependency(%q<therubyracer>, [">= 0"])
|
339
355
|
end
|
340
356
|
else
|
341
357
|
s.add_dependency(%q<refinerycms-stores>, [">= 0"])
|
@@ -434,6 +450,14 @@ Gem::Specification.new do |s|
|
|
434
450
|
s.add_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
435
451
|
s.add_dependency(%q<libnotify>, ["~> 0.1.3"])
|
436
452
|
s.add_dependency(%q<therubyracer>, [">= 0"])
|
453
|
+
s.add_dependency(%q<refinerycms-testing>, ["~> 2.0.0"])
|
454
|
+
s.add_dependency(%q<factory_girl_rails>, [">= 0"])
|
455
|
+
s.add_dependency(%q<generator_spec>, [">= 0"])
|
456
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
457
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
458
|
+
s.add_dependency(%q<rb-inotify>, [">= 0.5.1"])
|
459
|
+
s.add_dependency(%q<libnotify>, ["~> 0.1.3"])
|
460
|
+
s.add_dependency(%q<therubyracer>, [">= 0"])
|
437
461
|
end
|
438
462
|
end
|
439
463
|
|