spree_core 3.2.4 → 3.2.5

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: aa3811b7da7cdceb86bf53a31be02adcfbe54d50
4
- data.tar.gz: 4536669db4b66cc0dcfa06cf023ee61ae20dca37
3
+ metadata.gz: 243e933c3a06a8f8c02f31d845eeae521a606f73
4
+ data.tar.gz: d179eb93766faa8329e114f2f9dcfaf1764aa632
5
5
  SHA512:
6
- metadata.gz: 2db6a01b5d80cb3e4287f1612e44d41bd96cb28504ca503315a544bb6f4b3c4db4bad8d0e47bc9231d6a4dd00789574a6b2c796be00103d2f6791b360fdb6fc9
7
- data.tar.gz: f0498e6f2a4d08b123296f234e2169d9e4b5993cdd75b6105b1bdde651659512b576639cc83e43c025f1dcaf006fbcae47a83d028c8b4d2d5d768334b44da56a
6
+ metadata.gz: 3de5dc5e16ce8f1e9da138ac71c3c29f441af13bf0d74deee6202f53d2dc19e9138d0b1b4cfa39895f1c2a555f032f739c691d54e8b8ef0f5af122d8b62f2802
7
+ data.tar.gz: 2f407e5f4a72493f978ebae47988fea0b1d0edcf5caccac949cb35a947b2a418b985a5fc38187d6a8ddf0dab34eb116b625f3c5fcaae227c8cd83f84016ae69a
@@ -105,7 +105,7 @@ module Spree
105
105
  validates :price, if: proc { Spree::Config[:require_master_price] }
106
106
  end
107
107
 
108
- validates :slug, length: { minimum: 3 }, allow_blank: true, uniqueness: true
108
+ validates :slug, presence: true, uniqueness: { allow_blank: true }
109
109
  validate :discontinue_on_must_be_later_than_available_on, if: -> { available_on && discontinue_on }
110
110
 
111
111
  attr_accessor :option_values_hash
@@ -1,5 +1,5 @@
1
1
  module Spree
2
2
  def self.version
3
- "3.2.4"
3
+ "3.2.5"
4
4
  end
5
5
  end
@@ -3,6 +3,7 @@ unless defined?(Spree::InstallGenerator)
3
3
  end
4
4
 
5
5
  require 'generators/spree/dummy/dummy_generator'
6
+ require 'rails'
6
7
 
7
8
  desc "Generates a dummy app for testing"
8
9
  namespace :common do
@@ -11,6 +12,7 @@ namespace :common do
11
12
  require ENV['LIB_NAME'].to_s
12
13
 
13
14
  ENV['RAILS_ENV'] = 'test'
15
+ Rails.env = 'test'
14
16
 
15
17
  Spree::DummyGenerator.start ["--lib_name=#{ENV['LIB_NAME']}", "--quiet"]
16
18
  Spree::InstallGenerator.start ["--lib_name=#{ENV['LIB_NAME']}", "--auto-accept", "--migrate=false", "--seed=false", "--sample=false", "--quiet", "--user_class=#{args[:user_class]}"]
data/spree_core.gemspec CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
29
29
  s.add_dependency 'font-awesome-rails', '~> 4.0'
30
30
  s.add_dependency 'friendly_id', '~> 5.1.0'
31
31
  s.add_dependency 'highline', '~> 1.6.18' # Necessary for the install generator
32
- s.add_dependency 'kaminari', '~> 0.17'
32
+ s.add_dependency 'kaminari', '~> 1.0.1'
33
33
  s.add_dependency 'monetize', '~> 1.1'
34
34
  s.add_dependency 'paperclip', '~> 4.3.0'
35
35
  s.add_dependency 'paranoia', '~> 2.2.0.pre'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.4
4
+ version: 3.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-11 00:00:00.000000000 Z
11
+ date: 2017-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0.17'
159
+ version: 1.0.1
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0.17'
166
+ version: 1.0.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: monetize
169
169
  requirement: !ruby/object:Gem::Requirement