spree_core 2.4.0.rc2 → 2.4.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/spree/products_helper.rb +7 -8
- data/app/models/spree/adjustment.rb +7 -2
- data/app/models/spree/classification.rb +1 -1
- data/app/models/spree/exchange.rb +4 -0
- data/app/models/spree/gateway/bogus.rb +3 -2
- data/app/models/spree/inventory_unit.rb +1 -1
- data/app/models/spree/item_adjustments.rb +7 -3
- data/app/models/spree/line_item.rb +5 -0
- data/app/models/spree/order.rb +3 -3
- data/app/models/spree/order_contents.rb +11 -14
- data/app/models/spree/payment.rb +7 -3
- data/app/models/spree/payment_method/check.rb +2 -0
- data/app/models/spree/payment_method.rb +5 -1
- data/app/models/spree/product.rb +11 -8
- data/app/models/spree/promotion/actions/create_item_adjustments.rb +3 -2
- data/app/models/spree/promotion/actions/create_line_items.rb +1 -0
- data/app/models/spree/promotion.rb +2 -2
- data/app/models/spree/promotion_handler/coupon.rb +5 -1
- data/app/models/spree/property.rb +0 -7
- data/app/models/spree/prototype.rb +1 -0
- data/app/models/spree/reimbursement.rb +1 -1
- data/app/models/spree/reimbursement_tax_calculator.rb +7 -1
- data/app/models/spree/return_authorization.rb +1 -1
- data/app/models/spree/shipping_category.rb +2 -2
- data/app/models/spree/shipping_method_category.rb +1 -1
- data/app/models/spree/stock/package.rb +6 -0
- data/app/models/spree/stock_item.rb +2 -2
- data/app/models/spree/stock_location.rb +1 -1
- data/app/models/spree/store.rb +1 -1
- data/app/models/spree/tax_category.rb +2 -2
- data/app/models/spree/tax_rate.rb +7 -4
- data/app/models/spree/taxon.rb +7 -3
- data/app/models/spree/variant.rb +5 -5
- data/app/models/spree/zone.rb +15 -17
- data/app/models/spree/zone_member.rb +1 -1
- data/config/initializers/user_class_extensions.rb +10 -9
- data/config/locales/en.yml +1 -0
- data/db/default/spree/countries.rb +18 -231
- data/db/default/spree/states.rb +16 -76
- data/db/development.sqlite +0 -0
- data/db/migrate/20130213191427_create_default_stock.rb +4 -1
- data/db/migrate/20140601011216_set_shipment_total_for_users_upgrading.rb +3 -5
- data/db/migrate/20140717185932_add_default_to_spree_stock_locations.rb +3 -1
- data/db/migrate/20141012083513_create_spree_taxons_prototypes.rb +8 -0
- data/db/migrate/20141021194502_add_state_lock_version_to_order.rb +5 -0
- data/db/migrate/20141023005240_add_counter_cache_from_spree_variants_to_spree_stock_items.rb +13 -0
- data/db/migrate/20141101231208_fix_adjustment_order_presence.rb +13 -0
- data/db/migrate/20141105213646_update_classifications_positions.rb +9 -0
- data/lib/generators/spree/install/install_generator.rb +3 -7
- data/lib/spree/core/controller_helpers/order.rb +5 -6
- data/lib/spree/core/importer/order.rb +16 -3
- data/lib/spree/core/search/base.rb +1 -1
- data/lib/spree/core/validators/email.rb +1 -1
- data/lib/spree/core/version.rb +1 -1
- data/lib/spree/migrations.rb +7 -3
- data/lib/spree/permitted_attributes.rb +3 -1
- data/lib/spree/testing_support/ability_helpers.rb +25 -25
- data/lib/spree/testing_support/capybara_ext.rb +2 -2
- data/lib/spree/testing_support/factories/customer_return_factory.rb +1 -1
- data/lib/spree/testing_support/factories/line_item_factory.rb +1 -1
- data/lib/spree/testing_support/factories/order_factory.rb +2 -2
- data/lib/spree/testing_support/factories/product_factory.rb +6 -0
- data/lib/spree/testing_support/factories/promotion_factory.rb +3 -3
- data/lib/spree/testing_support/factories/reimbursement_factory.rb +1 -1
- data/lib/spree/testing_support/factories/stock_factory.rb +3 -3
- data/lib/spree/testing_support/flash.rb +2 -2
- metadata +30 -17
- data/vendor/assets/javascripts/jquery.validate/localization/messages_et.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_eu.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_hr.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ka.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ko.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_my.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_pt_BR.js +0 -26
- data/vendor/assets/javascripts/jquery.validate/localization/messages_pt_PT.js +0 -26
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sl.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sv.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_uk.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_zh.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_zh_TW.js +0 -26
@@ -56,11 +56,9 @@ module Spree
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def set_current_order
|
59
|
-
if
|
60
|
-
|
61
|
-
|
62
|
-
elsif current_order && last_incomplete_order && current_order != last_incomplete_order
|
63
|
-
current_order.merge!(last_incomplete_order, user)
|
59
|
+
if try_spree_current_user && current_order
|
60
|
+
try_spree_current_user.orders.incomplete.where('id != ?', current_order.id).each do |order|
|
61
|
+
current_order.merge!(order, try_spree_current_user)
|
64
62
|
end
|
65
63
|
end
|
66
64
|
end
|
@@ -74,6 +72,7 @@ module Spree
|
|
74
72
|
end
|
75
73
|
|
76
74
|
private
|
75
|
+
|
77
76
|
def last_incomplete_order
|
78
77
|
@last_incomplete_order ||= try_spree_current_user.last_incomplete_spree_order
|
79
78
|
end
|
@@ -93,7 +92,7 @@ module Spree
|
|
93
92
|
|
94
93
|
# Find any incomplete orders for the current user
|
95
94
|
if order.nil? && try_spree_current_user
|
96
|
-
order =
|
95
|
+
order = last_incomplete_order
|
97
96
|
end
|
98
97
|
|
99
98
|
order
|
@@ -14,6 +14,9 @@ module Spree
|
|
14
14
|
order = Spree::Order.create! create_params
|
15
15
|
order.associate_user!(user)
|
16
16
|
|
17
|
+
shipments_attrs = params.delete(:shipments_attributes)
|
18
|
+
|
19
|
+
create_shipments_from_params(shipments_attrs, order)
|
17
20
|
create_line_items_from_params(params.delete(:line_items_attributes),order)
|
18
21
|
create_shipments_from_params(params.delete(:shipments_attributes), order)
|
19
22
|
create_adjustments_from_params(params.delete(:adjustments_attributes), order)
|
@@ -28,8 +31,15 @@ module Spree
|
|
28
31
|
|
29
32
|
order.update_attributes!(params)
|
30
33
|
|
34
|
+
order.create_proposed_shipments unless shipments_attrs.present?
|
35
|
+
|
31
36
|
# Really ensure that the order totals & states are correct
|
32
37
|
order.updater.update
|
38
|
+
if shipments_attrs.present?
|
39
|
+
order.shipments.each_with_index do |shipment, index|
|
40
|
+
shipment.update_columns(cost: shipments_attrs[index][:cost].to_f) if shipments_attrs[index][:cost].present?
|
41
|
+
end
|
42
|
+
end
|
33
43
|
order.reload
|
34
44
|
rescue Exception => e
|
35
45
|
order.destroy if order && order.persisted?
|
@@ -45,7 +55,7 @@ module Spree
|
|
45
55
|
begin
|
46
56
|
shipment = order.shipments.build
|
47
57
|
shipment.tracking = s[:tracking]
|
48
|
-
shipment.stock_location = Spree::StockLocation.find_by_name!(s[:stock_location])
|
58
|
+
shipment.stock_location = Spree::StockLocation.find_by_admin_name(s[:stock_location]) || Spree::StockLocation.find_by_name!(s[:stock_location])
|
49
59
|
|
50
60
|
inventory_units = s[:inventory_units] || []
|
51
61
|
inventory_units.each do |iu|
|
@@ -110,8 +120,11 @@ module Spree
|
|
110
120
|
return [] unless adjustments
|
111
121
|
adjustments.each do |a|
|
112
122
|
begin
|
113
|
-
adjustment = order.adjustments.build(
|
114
|
-
|
123
|
+
adjustment = order.adjustments.build(
|
124
|
+
order: order,
|
125
|
+
amount: a[:amount].to_f,
|
126
|
+
label: a[:label]
|
127
|
+
)
|
115
128
|
adjustment.save!
|
116
129
|
adjustment.close!
|
117
130
|
rescue Exception => e
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class EmailValidator < ActiveModel::EachValidator
|
2
2
|
def validate_each(record,attribute,value)
|
3
|
-
unless value =~ /\A[^@\s]
|
3
|
+
unless value =~ /\A([^@\.]|[^@\.]([^@\s]*)[^@\.])@([^@\s]+\.)+[^@\s]+\z/
|
4
4
|
record.errors.add(attribute, :invalid, {:value => value}.merge!(options))
|
5
5
|
end
|
6
6
|
end
|
data/lib/spree/core/version.rb
CHANGED
data/lib/spree/migrations.rb
CHANGED
@@ -28,9 +28,13 @@ module Spree
|
|
28
28
|
name
|
29
29
|
end.compact! || []
|
30
30
|
|
31
|
-
|
32
|
-
|
33
|
-
|
31
|
+
missing_migrations = engine_migrations.sort - engine_in_app.sort
|
32
|
+
unless missing_migrations.empty?
|
33
|
+
puts "[#{engine_name.capitalize} WARNING] Missing migrations."
|
34
|
+
missing_migrations.each do |migration|
|
35
|
+
puts "[#{engine_name.capitalize} WARNING] #{migration} from #{engine_name} is missing."
|
36
|
+
end
|
37
|
+
puts "[#{engine_name.capitalize} WARNING] Run `bundle exec rake railties:install:migrations` to get them.\n\n"
|
34
38
|
true
|
35
39
|
end
|
36
40
|
end
|
@@ -36,7 +36,9 @@ module Spree
|
|
36
36
|
state: [:name, :abbr]
|
37
37
|
]
|
38
38
|
|
39
|
-
@@checkout_attributes = [
|
39
|
+
@@checkout_attributes = [
|
40
|
+
:coupon_code, :email, :shipping_method_id, :special_instructions, :use_billing
|
41
|
+
]
|
40
42
|
|
41
43
|
@@customer_return_attributes = [:stock_location_id, return_items_attributes: [:id, :inventory_unit_id, :return_authorization_id, :returned, :pre_tax_amount, :acceptance_status, :exchange_variant_id]]
|
42
44
|
|
@@ -1,105 +1,105 @@
|
|
1
1
|
shared_examples_for 'access granted' do
|
2
2
|
it 'should allow read' do
|
3
|
-
ability.
|
4
|
-
ability.
|
3
|
+
expect(ability).to be_able_to(:read, resource, token) if token
|
4
|
+
expect(ability).to be_able_to(:read, resource) unless token
|
5
5
|
end
|
6
6
|
|
7
7
|
it 'should allow create' do
|
8
|
-
ability.
|
9
|
-
ability.
|
8
|
+
expect(ability).to be_able_to(:create, resource, token) if token
|
9
|
+
expect(ability).to be_able_to(:create, resource) unless token
|
10
10
|
end
|
11
11
|
|
12
12
|
it 'should allow update' do
|
13
|
-
ability.
|
14
|
-
ability.
|
13
|
+
expect(ability).to be_able_to(:update, resource, token) if token
|
14
|
+
expect(ability).to be_able_to(:update, resource) unless token
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
shared_examples_for 'access denied' do
|
19
19
|
it 'should not allow read' do
|
20
|
-
ability.
|
20
|
+
expect(ability).to_not be_able_to(:read, resource)
|
21
21
|
end
|
22
22
|
|
23
23
|
it 'should not allow create' do
|
24
|
-
ability.
|
24
|
+
expect(ability).to_not be_able_to(:create, resource)
|
25
25
|
end
|
26
26
|
|
27
27
|
it 'should not allow update' do
|
28
|
-
ability.
|
28
|
+
expect(ability).to_not be_able_to(:update, resource)
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
32
|
shared_examples_for 'admin granted' do
|
33
33
|
it 'should allow admin' do
|
34
|
-
ability.
|
35
|
-
ability.
|
34
|
+
expect(ability).to be_able_to(:admin, resource, token) if token
|
35
|
+
expect(ability).to be_able_to(:admin, resource) unless token
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
39
|
shared_examples_for 'admin denied' do
|
40
40
|
it 'should not allow admin' do
|
41
|
-
ability.
|
41
|
+
expect(ability).to_not be_able_to(:admin, resource)
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
45
|
shared_examples_for 'index allowed' do
|
46
46
|
it 'should allow index' do
|
47
|
-
ability.
|
47
|
+
expect(ability).to be_able_to(:index, resource)
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
51
|
shared_examples_for 'no index allowed' do
|
52
52
|
it 'should not allow index' do
|
53
|
-
ability.
|
53
|
+
expect(ability).to_not be_able_to(:index, resource)
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
57
|
shared_examples_for 'create only' do
|
58
58
|
it 'should allow create' do
|
59
|
-
ability.
|
59
|
+
expect(ability).to be_able_to(:create, resource)
|
60
60
|
end
|
61
61
|
|
62
62
|
it 'should not allow read' do
|
63
|
-
ability.
|
63
|
+
expect(ability).to_not be_able_to(:read, resource)
|
64
64
|
end
|
65
65
|
|
66
66
|
it 'should not allow update' do
|
67
|
-
ability.
|
67
|
+
expect(ability).to_not be_able_to(:update, resource)
|
68
68
|
end
|
69
69
|
|
70
70
|
it 'should not allow index' do
|
71
|
-
ability.
|
71
|
+
expect(ability).to_not be_able_to(:index, resource)
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
75
|
shared_examples_for 'read only' do
|
76
76
|
it 'should not allow create' do
|
77
|
-
ability.
|
77
|
+
expect(ability).to_not be_able_to(:create, resource)
|
78
78
|
end
|
79
79
|
|
80
80
|
it 'should not allow update' do
|
81
|
-
ability.
|
81
|
+
expect(ability).to_not be_able_to(:update, resource)
|
82
82
|
end
|
83
83
|
|
84
84
|
it 'should allow index' do
|
85
|
-
ability.
|
85
|
+
expect(ability).to be_able_to(:index, resource)
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
89
|
shared_examples_for 'update only' do
|
90
90
|
it 'should not allow create' do
|
91
|
-
ability.
|
91
|
+
expect(ability).to_not be_able_to(:create, resource)
|
92
92
|
end
|
93
93
|
|
94
94
|
it 'should not allow read' do
|
95
|
-
ability.
|
95
|
+
expect(ability).to_not be_able_to(:read, resource)
|
96
96
|
end
|
97
97
|
|
98
98
|
it 'should allow update' do
|
99
|
-
ability.
|
99
|
+
expect(ability).to be_able_to(:update, resource)
|
100
100
|
end
|
101
101
|
|
102
102
|
it 'should not allow index' do
|
103
|
-
ability.
|
103
|
+
expect(ability).to_not be_able_to(:index, resource)
|
104
104
|
end
|
105
105
|
end
|
@@ -8,7 +8,7 @@ module CapybaraExt
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def eventually_fill_in(field, options={})
|
11
|
-
page.
|
11
|
+
expect(page).to have_css('#' + field)
|
12
12
|
fill_in field, options
|
13
13
|
end
|
14
14
|
|
@@ -145,7 +145,7 @@ end
|
|
145
145
|
|
146
146
|
RSpec::Matchers.define :have_title do |expected|
|
147
147
|
match do |actual|
|
148
|
-
has_css?("title", :
|
148
|
+
has_css?("title", text: expected, visible: false)
|
149
149
|
end
|
150
150
|
|
151
151
|
failure_message do |actual|
|
@@ -5,7 +5,7 @@ FactoryGirl.define do
|
|
5
5
|
completed_at nil
|
6
6
|
email { user.email }
|
7
7
|
|
8
|
-
|
8
|
+
transient do
|
9
9
|
line_items_price BigDecimal.new(10)
|
10
10
|
end
|
11
11
|
|
@@ -20,7 +20,7 @@ FactoryGirl.define do
|
|
20
20
|
bill_address
|
21
21
|
ship_address
|
22
22
|
|
23
|
-
|
23
|
+
transient do
|
24
24
|
line_items_count 1
|
25
25
|
shipment_cost 100
|
26
26
|
end
|
@@ -22,6 +22,12 @@ FactoryGirl.define do
|
|
22
22
|
factory :product do
|
23
23
|
tax_category { |r| Spree::TaxCategory.first || r.association(:tax_category) }
|
24
24
|
|
25
|
+
factory :product_in_stock do
|
26
|
+
after :create do |product|
|
27
|
+
product.master.stock_items.first.adjust_count_on_hand(10)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
25
31
|
factory :product_with_option_types do
|
26
32
|
after(:create) { |product| create(:product_option_type, product: product) }
|
27
33
|
end
|
@@ -3,7 +3,7 @@ FactoryGirl.define do
|
|
3
3
|
name 'Promo'
|
4
4
|
|
5
5
|
trait :with_line_item_adjustment do
|
6
|
-
|
6
|
+
transient do
|
7
7
|
adjustment_rate 10
|
8
8
|
end
|
9
9
|
|
@@ -16,7 +16,7 @@ FactoryGirl.define do
|
|
16
16
|
factory :promotion_with_item_adjustment, traits: [:with_line_item_adjustment]
|
17
17
|
|
18
18
|
trait :with_order_adjustment do
|
19
|
-
|
19
|
+
transient do
|
20
20
|
weighted_order_adjustment_amount 10
|
21
21
|
end
|
22
22
|
|
@@ -30,7 +30,7 @@ FactoryGirl.define do
|
|
30
30
|
end
|
31
31
|
|
32
32
|
trait :with_item_total_rule do
|
33
|
-
|
33
|
+
transient do
|
34
34
|
item_total_threshold_amount 10
|
35
35
|
end
|
36
36
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
FactoryGirl.define do
|
2
2
|
# must use build()
|
3
3
|
factory :stock_packer, class: Spree::Stock::Packer do
|
4
|
-
|
4
|
+
transient do
|
5
5
|
stock_location { build(:stock_location) }
|
6
6
|
contents []
|
7
7
|
end
|
@@ -10,7 +10,7 @@ FactoryGirl.define do
|
|
10
10
|
end
|
11
11
|
|
12
12
|
factory :stock_package, class: Spree::Stock::Package do
|
13
|
-
|
13
|
+
transient do
|
14
14
|
stock_location { build(:stock_location) }
|
15
15
|
contents { [] }
|
16
16
|
variants_contents { {} }
|
@@ -25,7 +25,7 @@ FactoryGirl.define do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
factory :stock_package_fulfilled do
|
28
|
-
|
28
|
+
transient { variants_contents { { build(:variant) => 2 } } }
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
@@ -5,12 +5,12 @@ module Spree
|
|
5
5
|
flash = convert_flash(flash)
|
6
6
|
|
7
7
|
within("[class='flash success']") do
|
8
|
-
page.
|
8
|
+
expect(page).to have_content(flash)
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
12
|
def assert_successful_update_message(resource)
|
13
|
-
flash = Spree.t(:successfully_updated, :
|
13
|
+
flash = Spree.t(:successfully_updated, resource: Spree.t(resource))
|
14
14
|
assert_flash_success(flash)
|
15
15
|
end
|
16
16
|
|
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: 2.4.0.
|
4
|
+
version: 2.4.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.0.0.rc.3
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: carmen
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.0.0
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: cancancan
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +184,20 @@ dependencies:
|
|
170
184
|
requirements:
|
171
185
|
- - "~>"
|
172
186
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
187
|
+
version: '0.15'
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: 0.15.1
|
174
191
|
type: :runtime
|
175
192
|
prerelease: false
|
176
193
|
version_requirements: !ruby/object:Gem::Requirement
|
177
194
|
requirements:
|
178
195
|
- - "~>"
|
179
196
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
197
|
+
version: '0.15'
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: 0.15.1
|
181
201
|
- !ruby/object:Gem::Dependency
|
182
202
|
name: monetize
|
183
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -540,6 +560,7 @@ files:
|
|
540
560
|
- db/default/spree/states.rb
|
541
561
|
- db/default/spree/stores.rb
|
542
562
|
- db/default/spree/zones.rb
|
563
|
+
- db/development.sqlite
|
543
564
|
- db/migrate/20120831092320_spree_one_two.rb
|
544
565
|
- db/migrate/20120831092359_spree_promo_one_two.rb
|
545
566
|
- db/migrate/20120905145253_add_tax_rate_label.rb
|
@@ -724,6 +745,11 @@ files:
|
|
724
745
|
- db/migrate/20141002191113_add_code_to_spree_shipping_methods.rb
|
725
746
|
- db/migrate/20141007230328_add_cancel_audit_fields_to_spree_orders.rb
|
726
747
|
- db/migrate/20141009204607_add_store_id_to_orders.rb
|
748
|
+
- db/migrate/20141012083513_create_spree_taxons_prototypes.rb
|
749
|
+
- db/migrate/20141021194502_add_state_lock_version_to_order.rb
|
750
|
+
- db/migrate/20141023005240_add_counter_cache_from_spree_variants_to_spree_stock_items.rb
|
751
|
+
- db/migrate/20141101231208_fix_adjustment_order_presence.rb
|
752
|
+
- db/migrate/20141105213646_update_classifications_positions.rb
|
727
753
|
- db/seeds.rb
|
728
754
|
- lib/generators/spree/custom_user/custom_user_generator.rb
|
729
755
|
- lib/generators/spree/custom_user/templates/authentication_helpers.rb.tt
|
@@ -840,19 +866,6 @@ files:
|
|
840
866
|
- lib/tasks/exchanges.rake
|
841
867
|
- vendor/assets/javascripts/jquery-migrate-1.0.0.js
|
842
868
|
- vendor/assets/javascripts/jquery.payment.js
|
843
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_et.js
|
844
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_eu.js
|
845
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_hr.js
|
846
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ka.js
|
847
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ko.js
|
848
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_my.js
|
849
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_pt_BR.js
|
850
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_pt_PT.js
|
851
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_sl.js
|
852
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_sv.js
|
853
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_uk.js
|
854
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_zh.js
|
855
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_zh_TW.js
|
856
869
|
- vendor/assets/javascripts/jsuri.js
|
857
870
|
- vendor/assets/stylesheets/normalize.css
|
858
871
|
- vendor/assets/stylesheets/skeleton.css
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: ET (Estonian; eesti, eesti keel)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "See väli peab olema täidetud.",
|
8
|
-
maxlength: $.validator.format("Palun sisestage vähem kui {0} tähemärki."),
|
9
|
-
minlength: $.validator.format("Palun sisestage vähemalt {0} tähemärki."),
|
10
|
-
rangelength: $.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1} tähemärki."),
|
11
|
-
email: "Palun sisestage korrektne e-maili aadress.",
|
12
|
-
url: "Palun sisestage korrektne URL.",
|
13
|
-
date: "Palun sisestage korrektne kuupäev.",
|
14
|
-
dateISO: "Palun sisestage korrektne kuupäev (YYYY-MM-DD).",
|
15
|
-
number: "Palun sisestage korrektne number.",
|
16
|
-
digits: "Palun sisestage ainult numbreid.",
|
17
|
-
equalTo: "Palun sisestage sama väärtus uuesti.",
|
18
|
-
range: $.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1}."),
|
19
|
-
max: $.validator.format("Palun sisestage väärtus, mis on väiksem või võrdne arvuga {0}."),
|
20
|
-
min: $.validator.format("Palun sisestage väärtus, mis on suurem või võrdne arvuga {0}."),
|
21
|
-
creditcard: "Palun sisestage korrektne krediitkaardi number."
|
22
|
-
});
|
23
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: EU (Basque; euskara, euskera)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Eremu hau beharrezkoa da.",
|
8
|
-
remote: "Mesedez, bete eremu hau.",
|
9
|
-
email: "Mesedez, idatzi baliozko posta helbide bat.",
|
10
|
-
url: "Mesedez, idatzi baliozko URL bat.",
|
11
|
-
date: "Mesedez, idatzi baliozko data bat.",
|
12
|
-
dateISO: "Mesedez, idatzi baliozko (ISO) data bat.",
|
13
|
-
number: "Mesedez, idatzi baliozko zenbaki oso bat.",
|
14
|
-
digits: "Mesedez, idatzi digituak soilik.",
|
15
|
-
creditcard: "Mesedez, idatzi baliozko txartel zenbaki bat.",
|
16
|
-
equalTo: "Mesedez, idatzi berdina berriro ere.",
|
17
|
-
accept: "Mesedez, idatzi onartutako luzapena duen balio bat.",
|
18
|
-
maxlength: $.validator.format("Mesedez, ez idatzi {0} karaktere baino gehiago."),
|
19
|
-
minlength: $.validator.format("Mesedez, ez idatzi {0} karaktere baino gutxiago."),
|
20
|
-
rangelength: $.validator.format("Mesedez, idatzi {0} eta {1} karaktere arteko balio bat."),
|
21
|
-
range: $.validator.format("Mesedez, idatzi {0} eta {1} arteko balio bat."),
|
22
|
-
max: $.validator.format("Mesedez, idatzi {0} edo txikiagoa den balio bat."),
|
23
|
-
min: $.validator.format("Mesedez, idatzi {0} edo handiagoa den balio bat.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: HR (Croatia; hrvatski jezik)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Ovo polje je obavezno.",
|
8
|
-
remote: "Ovo polje treba popraviti.",
|
9
|
-
email: "Unesite ispravnu e-mail adresu.",
|
10
|
-
url: "Unesite ispravan URL.",
|
11
|
-
date: "Unesite ispravan datum.",
|
12
|
-
dateISO: "Unesite ispravan datum (ISO).",
|
13
|
-
number: "Unesite ispravan broj.",
|
14
|
-
digits: "Unesite samo brojeve.",
|
15
|
-
creditcard: "Unesite ispravan broj kreditne kartice.",
|
16
|
-
equalTo: "Unesite ponovo istu vrijednost.",
|
17
|
-
accept: "Unesite vrijednost sa ispravnom ekstenzijom.",
|
18
|
-
maxlength: $.validator.format("Maksimalni broj znakova je {0} ."),
|
19
|
-
minlength: $.validator.format("Minimalni broj znakova je {0} ."),
|
20
|
-
rangelength: $.validator.format("Unesite vrijednost između {0} i {1} znakova."),
|
21
|
-
range: $.validator.format("Unesite vrijednost između {0} i {1}."),
|
22
|
-
max: $.validator.format("Unesite vrijednost manju ili jednaku {0}."),
|
23
|
-
min: $.validator.format("Unesite vrijednost veću ili jednaku {0}.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: KA (Georgian; ქართული)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "ამ ველის შევსება აუცილებელია.",
|
8
|
-
remote: "გთხოვთ მიუთითოთ სწორი მნიშვნელობა.",
|
9
|
-
email: "გთხოვთ მიუთითოთ ელ-ფოსტის კორექტული მისამართი.",
|
10
|
-
url: "გთხოვთ მიუთითოთ კორექტული URL.",
|
11
|
-
date: "გთხოვთ მიუთითოთ კორექტული თარიღი.",
|
12
|
-
dateISO: "გთხოვთ მიუთითოთ კორექტული თარიღი ISO ფორმატში.",
|
13
|
-
number: "გთხოვთ მიუთითოთ ციფრი.",
|
14
|
-
digits: "გთხოვთ მიუთითოთ მხოლოდ ციფრები.",
|
15
|
-
creditcard: "გთხოვთ მიუთითოთ საკრედიტო ბარათის კორექტული ნომერი.",
|
16
|
-
equalTo: "გთხოვთ მიუთითოთ ასეთივე მნიშვნელობა კიდევ ერთხელ.",
|
17
|
-
accept: "გთხოვთ აირჩიოთ ფაილი კორექტული გაფართოებით.",
|
18
|
-
maxlength: $.validator.format("დასაშვებია არაუმეტეს {0} სიმბოლო."),
|
19
|
-
minlength: $.validator.format("აუცილებელია შეიყვანოთ მინიმუმ {0} სიმბოლო."),
|
20
|
-
rangelength: $.validator.format("ტექსტში სიმბოლოების რაოდენობა უნდა იყოს {0}-დან {1}-მდე."),
|
21
|
-
range: $.validator.format("გთხოვთ შეიყვანოთ ციფრი {0}-დან {1}-მდე."),
|
22
|
-
max: $.validator.format("გთხოვთ შეიყვანოთ ციფრი რომელიც ნაკლებია ან უდრის {0}-ს."),
|
23
|
-
min: $.validator.format("გთხოვთ შეიყვანოთ ციფრი რომელიც მეტია ან უდრის {0}-ს.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: KO (Korean; 한국어)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "필수 항목입니다.",
|
8
|
-
remote: "항목을 수정하세요.",
|
9
|
-
email: "유효하지 않은 E-Mail주소입니다.",
|
10
|
-
url: "유효하지 않은 주소입니다.",
|
11
|
-
date: "옳바른 날짜를 입력하세요.",
|
12
|
-
dateISO: "옳바른 날짜(ISO)를 입력하세요.",
|
13
|
-
number: "유효한 숫자가 아닙니다.",
|
14
|
-
digits: "숫자만 입력 가능합니다.",
|
15
|
-
creditcard: "신용카드번호가 바르지 않습니다.",
|
16
|
-
equalTo: "같은값을 다시 입력하세요.",
|
17
|
-
accept: "옳바른 확장자가 아닙니다.",
|
18
|
-
maxlength: $.format("{0}자를 넘을 수 없습니다. "),
|
19
|
-
minlength: $.format("{0}자 이하로 입력하세요."),
|
20
|
-
rangelength: $.format("문자 길이를 {0} 에서 {1} 사이의로 입력하세요."),
|
21
|
-
range: $.format("{0} 에서 {1} 값을 입력하세요."),
|
22
|
-
max: $.format("{0} 이하의 값을 입력하세요."),
|
23
|
-
min: $.format("{0} 이상의 값을 입력하세요.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|