spree_core 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/store/product.js.coffee +3 -3
- data/app/controllers/spree/orders_controller.rb +1 -0
- data/app/helpers/spree/base_helper.rb +1 -1
- data/app/models/spree/order.rb +6 -2
- data/app/models/spree/order_populator.rb +1 -0
- data/app/models/spree/product.rb +1 -1
- data/app/models/spree/variant.rb +8 -1
- data/app/views/spree/admin/orders/customer_details/_form.html.erb +1 -1
- data/app/views/spree/admin/payment_methods/_form.html.erb +2 -1
- data/app/views/spree/admin/shared/_report_criteria.html.erb +2 -2
- data/app/views/spree/admin/taxons/edit.html.erb +1 -1
- data/app/views/spree/checkout/_delivery.html.erb +1 -1
- data/db/migrate/20131113035136_add_channel_to_spree_orders.rb +5 -0
- data/lib/generators/spree/dummy/templates/rails/database.yml +10 -0
- data/lib/spree/core.rb +27 -0
- data/lib/spree/core/engine.rb +1 -0
- data/lib/spree/core/version.rb +1 -1
- metadata +79 -78
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dc6551fae8388e2e554f586b98556214ddc7853
|
4
|
+
data.tar.gz: 172fdc171d09cf9cb196a0b1b10dc3447bc44dfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0bf787e475d0ac901befe43e5f800d318043e1326b42b2b66ec7bf70ca3a193d2758cbe3d8697a9f2ede3ae313ca712dcad61b4610b11eda8a7cf5a6b4ab5e7
|
7
|
+
data.tar.gz: 686846bad87532c1c6d0490a20e96ac8737563b0992020f3db17a9701e2288ea06630147ce81b77de564e54ac9718d45e7cb474897f0629904a7be4a2af3325d
|
@@ -21,10 +21,10 @@ show_variant_images = (variant_id) ->
|
|
21
21
|
($ 'li.tmb-' + variant_id).show()
|
22
22
|
currentThumb = ($ '#' + ($ '#main-image').data('selectedThumbId'))
|
23
23
|
if not currentThumb.hasClass('vtmb-' + variant_id)
|
24
|
-
thumb = ($ ($ 'ul.thumbnails li:visible.vtmb').eq(0))
|
25
|
-
thumb = ($ ($ 'ul.thumbnails li:visible').eq(0)) unless thumb.length > 0
|
24
|
+
thumb = ($ ($ '#product-images ul.thumbnails li:visible.vtmb').eq(0))
|
25
|
+
thumb = ($ ($ '#product-images ul.thumbnails li:visible').eq(0)) unless thumb.length > 0
|
26
26
|
newImg = thumb.find('a').attr('href')
|
27
|
-
($ 'ul.thumbnails li').removeClass 'selected'
|
27
|
+
($ '#product-images ul.thumbnails li').removeClass 'selected'
|
28
28
|
thumb.addClass 'selected'
|
29
29
|
($ '#main-image img').attr 'src', newImg
|
30
30
|
($ '#main-image').data 'selectedThumb', newImg
|
@@ -22,6 +22,7 @@ module Spree
|
|
22
22
|
|
23
23
|
if @order.update_attributes(params[:order])
|
24
24
|
@order.line_items = @order.line_items.select {|li| li.quantity > 0 }
|
25
|
+
@order.restart_checkout_flow
|
25
26
|
fire_event('spree.order.contents_changed')
|
26
27
|
respond_with(@order) do |format|
|
27
28
|
format.html do
|
data/app/models/spree/order.rb
CHANGED
@@ -165,7 +165,7 @@ module Spree
|
|
165
165
|
|
166
166
|
# If true, causes the confirmation step to happen during the checkout process
|
167
167
|
def confirmation_required?
|
168
|
-
payments.map(&:payment_method).any?(&:payment_profiles_supported?)
|
168
|
+
payments.valid.map(&:payment_method).any?(&:payment_profiles_supported?)
|
169
169
|
end
|
170
170
|
|
171
171
|
# Used by the checkout state machine to check for unprocessed payments
|
@@ -261,7 +261,7 @@ module Spree
|
|
261
261
|
def awaiting_returns?
|
262
262
|
return_authorizations.any? { |return_authorization| return_authorization.authorized? }
|
263
263
|
end
|
264
|
-
|
264
|
+
|
265
265
|
def add_variant(variant, quantity = 1, currency = nil)
|
266
266
|
current_item = find_line_item_by_variant(variant)
|
267
267
|
if current_item
|
@@ -528,6 +528,10 @@ module Spree
|
|
528
528
|
end
|
529
529
|
end
|
530
530
|
|
531
|
+
def restart_checkout_flow
|
532
|
+
self.update_column(:state, checkout_steps.first) unless cart?
|
533
|
+
end
|
534
|
+
|
531
535
|
private
|
532
536
|
def link_by_email
|
533
537
|
self.email = user.email if self.user
|
data/app/models/spree/product.rb
CHANGED
@@ -127,7 +127,7 @@ module Spree
|
|
127
127
|
|
128
128
|
def on_demand=(new_on_demand)
|
129
129
|
raise 'cannot set on_demand of product with variants' if has_variants? && Spree::Config[:track_inventory_levels]
|
130
|
-
master.on_demand =
|
130
|
+
master.on_demand = new_on_demand
|
131
131
|
self[:on_demand] = new_on_demand
|
132
132
|
end
|
133
133
|
|
data/app/models/spree/variant.rb
CHANGED
@@ -9,7 +9,8 @@ module Spree
|
|
9
9
|
attr_accessible :name, :presentation, :cost_price, :lock_version,
|
10
10
|
:position, :on_demand, :on_hand, :option_value_ids,
|
11
11
|
:product_id, :option_values_attributes, :price,
|
12
|
-
:weight, :height, :width, :depth, :sku, :cost_currency
|
12
|
+
:weight, :height, :width, :depth, :sku, :cost_currency,
|
13
|
+
:options
|
13
14
|
|
14
15
|
has_many :inventory_units
|
15
16
|
has_many :line_items
|
@@ -108,6 +109,12 @@ module Spree
|
|
108
109
|
deleted_at
|
109
110
|
end
|
110
111
|
|
112
|
+
def options=(options = {})
|
113
|
+
options.each do |option|
|
114
|
+
set_option_value(option[:name], option[:value])
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
111
118
|
def set_option_value(opt_name, opt_value)
|
112
119
|
# no option values on master
|
113
120
|
return if self.is_master
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<%= search_form_for @search, :url => spree.sales_total_admin_reports_path do |s| %>
|
2
2
|
<div class="date-range-filter field align-center">
|
3
3
|
<%= label_tag nil, t(:start), :class => 'inline' %>
|
4
|
-
<%= s.text_field :created_at_gt, :class => 'datepicker datepicker-from' %>
|
4
|
+
<%= s.text_field :created_at_gt, :class => 'datepicker datepicker-from', :value => datepicker_field_value(params[:q][:created_at_gt]) %>
|
5
5
|
|
6
6
|
<span class="range-divider">
|
7
7
|
<i class="icon-arrow-right"></i>
|
8
8
|
</span>
|
9
9
|
|
10
|
-
<%= s.text_field :created_at_lt, :class => 'datepicker datepicker-to' %>
|
10
|
+
<%= s.text_field :created_at_lt, :class => 'datepicker datepicker-to', :value => datepicker_field_value(params[:q][:created_at_lt]) %>
|
11
11
|
<%= label_tag nil, t(:end), :class => 'inline' %>
|
12
12
|
</div>
|
13
13
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
</li>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
|
13
|
+
<%# Because otherwise the form would attempt to use to_param of @taxon %>
|
14
14
|
<% form_url = admin_taxonomy_taxon_path(@taxonomy.id, @taxon.id) %>
|
15
15
|
<%= form_for [:admin, @taxonomy, @taxon], :method => :put, :url => form_url, :html => { :multipart => true } do |f| %>
|
16
16
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<% @order.rate_hash.each do |shipping_method| %>
|
7
7
|
<label>
|
8
8
|
<%= radio_button(:order, :shipping_method_id, shipping_method[:id]) %>
|
9
|
-
<%= shipping_method.name
|
9
|
+
<%= shipping_method.name %> <%= shipping_method.display_price.to_html %>
|
10
10
|
</label>
|
11
11
|
<% end %>
|
12
12
|
</p>
|
@@ -26,21 +26,31 @@ production:
|
|
26
26
|
database: <%= database_prefix %>spree_production
|
27
27
|
encoding: utf8
|
28
28
|
<% when 'postgres' %>
|
29
|
+
<% db_host = ENV['DB_HOST'] -%>
|
29
30
|
development:
|
30
31
|
adapter: postgresql
|
31
32
|
database: <%= database_prefix %>spree_development
|
32
33
|
username: postgres
|
33
34
|
min_messages: warning
|
35
|
+
<% unless db_host.blank? %>
|
36
|
+
host: <%= db_host %>
|
37
|
+
<% end %>
|
34
38
|
test:
|
35
39
|
adapter: postgresql
|
36
40
|
database: <%= database_prefix %>spree_test
|
37
41
|
username: postgres
|
38
42
|
min_messages: warning
|
43
|
+
<% unless db_host.blank? %>
|
44
|
+
host: <%= db_host %>
|
45
|
+
<% end %>
|
39
46
|
production:
|
40
47
|
adapter: postgresql
|
41
48
|
database: <%= database_prefix %>spree_production
|
42
49
|
username: postgres
|
43
50
|
min_messages: warning
|
51
|
+
<% unless db_host.blank? %>
|
52
|
+
host: <%= db_host %>
|
53
|
+
<% end %>
|
44
54
|
<% else %>
|
45
55
|
development:
|
46
56
|
adapter: sqlite3
|
data/lib/spree/core.rb
CHANGED
@@ -108,3 +108,30 @@ end
|
|
108
108
|
ActiveSupport.on_load(:action_view) do
|
109
109
|
include Spree::Core::StoreHelpers
|
110
110
|
end
|
111
|
+
|
112
|
+
# Monkey patch to give us miliseconds precision in timestamps
|
113
|
+
module ActiveSupport
|
114
|
+
class TimeWithZone
|
115
|
+
# Coerces time to a string for JSON encoding. The default format is ISO 8601. You can get
|
116
|
+
# %Y/%m/%d %H:%M:%S +offset style by setting <tt>ActiveSupport::JSON::Encoding.use_standard_json_time_format</tt>
|
117
|
+
# to false.
|
118
|
+
#
|
119
|
+
# ==== Examples
|
120
|
+
#
|
121
|
+
# # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = true
|
122
|
+
# Time.utc(2005,2,1,15,15,10).in_time_zone.to_json
|
123
|
+
# # => "2005-02-01T15:15:10.001Z"
|
124
|
+
#
|
125
|
+
# # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = false
|
126
|
+
# Time.utc(2005,2,1,15,15,10).in_time_zone.to_json
|
127
|
+
# # => "2005/02/01 15:15:10 +0000"
|
128
|
+
#
|
129
|
+
def as_json(options = nil)
|
130
|
+
if ActiveSupport::JSON::Encoding.use_standard_json_time_format
|
131
|
+
xmlschema(3)
|
132
|
+
else
|
133
|
+
%(#{time.strftime("%Y/%m/%d %H:%M:%S")} #{formatted_offset(false)})
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
data/lib/spree/core/engine.rb
CHANGED
data/lib/spree/core/version.rb
CHANGED
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: 1.3.
|
4
|
+
version: 1.3.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:
|
11
|
+
date: 2014-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: jquery-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 2.2.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.2.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -98,42 +98,42 @@ dependencies:
|
|
98
98
|
name: ffaker
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 1.15.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.15.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: paperclip
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '2.8'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '2.8'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: aws-sdk
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 1.11.1
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 1.11.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
@@ -154,44 +154,44 @@ dependencies:
|
|
154
154
|
name: activemerchant
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '1.34'
|
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
166
|
version: '1.34'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: json
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: 1.5.5
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.5.5
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rails
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - ~>
|
185
|
+
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 3.2.
|
187
|
+
version: 3.2.16
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - ~>
|
192
|
+
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 3.2.
|
194
|
+
version: 3.2.16
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: kaminari
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,28 +210,28 @@ dependencies:
|
|
210
210
|
name: deface
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- -
|
213
|
+
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: 0.9.0
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- -
|
220
|
+
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: 0.9.0
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: stringex
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
|
-
- - ~>
|
227
|
+
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
229
|
version: 1.3.2
|
230
230
|
type: :runtime
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- - ~>
|
234
|
+
- - "~>"
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: 1.3.2
|
237
237
|
- !ruby/object:Gem::Dependency
|
@@ -280,14 +280,14 @@ dependencies:
|
|
280
280
|
name: truncate_html
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
|
-
- - ~>
|
283
|
+
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
285
|
version: 0.5.5
|
286
286
|
type: :runtime
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
|
-
- - ~>
|
290
|
+
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: 0.5.5
|
293
293
|
description: Required dependency for Spree
|
@@ -471,6 +471,7 @@ files:
|
|
471
471
|
- app/mailers/spree/order_mailer.rb
|
472
472
|
- app/mailers/spree/shipment_mailer.rb
|
473
473
|
- app/mailers/spree/test_mailer.rb
|
474
|
+
- app/models/spree.rb
|
474
475
|
- app/models/spree/ability.rb
|
475
476
|
- app/models/spree/activator.rb
|
476
477
|
- app/models/spree/address.rb
|
@@ -479,20 +480,20 @@ files:
|
|
479
480
|
- app/models/spree/app_configuration.rb
|
480
481
|
- app/models/spree/asset.rb
|
481
482
|
- app/models/spree/billing_integration.rb
|
483
|
+
- app/models/spree/calculator.rb
|
482
484
|
- app/models/spree/calculator/default_tax.rb
|
483
485
|
- app/models/spree/calculator/flat_percent_item_total.rb
|
484
486
|
- app/models/spree/calculator/flat_rate.rb
|
485
487
|
- app/models/spree/calculator/flexi_rate.rb
|
486
488
|
- app/models/spree/calculator/per_item.rb
|
487
489
|
- app/models/spree/calculator/price_sack.rb
|
488
|
-
- app/models/spree/calculator.rb
|
489
490
|
- app/models/spree/classification.rb
|
490
491
|
- app/models/spree/configuration.rb
|
491
492
|
- app/models/spree/country.rb
|
492
493
|
- app/models/spree/credit_card.rb
|
494
|
+
- app/models/spree/gateway.rb
|
493
495
|
- app/models/spree/gateway/bogus.rb
|
494
496
|
- app/models/spree/gateway/bogus_simple.rb
|
495
|
-
- app/models/spree/gateway.rb
|
496
497
|
- app/models/spree/image.rb
|
497
498
|
- app/models/spree/inventory_unit.rb
|
498
499
|
- app/models/spree/legacy_user.rb
|
@@ -501,22 +502,22 @@ files:
|
|
501
502
|
- app/models/spree/mail_method.rb
|
502
503
|
- app/models/spree/option_type.rb
|
503
504
|
- app/models/spree/option_value.rb
|
504
|
-
- app/models/spree/order/checkout.rb
|
505
505
|
- app/models/spree/order.rb
|
506
|
+
- app/models/spree/order/checkout.rb
|
506
507
|
- app/models/spree/order_populator.rb
|
507
508
|
- app/models/spree/order_updater.rb
|
508
|
-
- app/models/spree/payment/processing.rb
|
509
509
|
- app/models/spree/payment.rb
|
510
|
-
- app/models/spree/
|
510
|
+
- app/models/spree/payment/processing.rb
|
511
511
|
- app/models/spree/payment_method.rb
|
512
|
+
- app/models/spree/payment_method/check.rb
|
512
513
|
- app/models/spree/preference.rb
|
513
514
|
- app/models/spree/preferences/configuration.rb
|
514
515
|
- app/models/spree/preferences/preferable.rb
|
515
516
|
- app/models/spree/preferences/preferable_class_methods.rb
|
516
517
|
- app/models/spree/preferences/store.rb
|
517
518
|
- app/models/spree/price.rb
|
518
|
-
- app/models/spree/product/scopes.rb
|
519
519
|
- app/models/spree/product.rb
|
520
|
+
- app/models/spree/product/scopes.rb
|
520
521
|
- app/models/spree/product_option_type.rb
|
521
522
|
- app/models/spree/product_property.rb
|
522
523
|
- app/models/spree/product_scope/scopes.rb
|
@@ -536,11 +537,10 @@ files:
|
|
536
537
|
- app/models/spree/taxonomy.rb
|
537
538
|
- app/models/spree/tokenized_permission.rb
|
538
539
|
- app/models/spree/tracker.rb
|
539
|
-
- app/models/spree/variant/scopes.rb
|
540
540
|
- app/models/spree/variant.rb
|
541
|
+
- app/models/spree/variant/scopes.rb
|
541
542
|
- app/models/spree/zone.rb
|
542
543
|
- app/models/spree/zone_member.rb
|
543
|
-
- app/models/spree.rb
|
544
544
|
- app/views/spree/address/_form.html.erb
|
545
545
|
- app/views/spree/admin/adjustments/_adjustments_table.html.erb
|
546
546
|
- app/views/spree/admin/adjustments/_form.html.erb
|
@@ -766,6 +766,45 @@ files:
|
|
766
766
|
- config/initializers/user_class_extensions.rb
|
767
767
|
- config/locales/en.yml
|
768
768
|
- config/routes.rb
|
769
|
+
- db/default/spree/countries.rb
|
770
|
+
- db/default/spree/roles.rb
|
771
|
+
- db/default/spree/states.rb
|
772
|
+
- db/default/spree/zones.rb
|
773
|
+
- db/migrate/20120831092320_spree_one_two.rb
|
774
|
+
- db/migrate/20120905145253_add_tax_rate_label.rb
|
775
|
+
- db/migrate/20120905151823_add_toggle_tax_rate_display.rb
|
776
|
+
- db/migrate/20120929093553_remove_unused_preference_columns.rb
|
777
|
+
- db/migrate/20121009142519_add_lock_version_to_variant.rb
|
778
|
+
- db/migrate/20121010142909_add_states_required_to_countries.rb
|
779
|
+
- db/migrate/20121012071449_add_on_demand_to_product_and_variant.rb
|
780
|
+
- db/migrate/20121017010007_remove_not_null_constraint_from_products_on_hand.rb
|
781
|
+
- db/migrate/20121031162139_split_prices_from_variants.rb
|
782
|
+
- db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
|
783
|
+
- db/migrate/20121107184631_add_currency_to_line_items.rb
|
784
|
+
- db/migrate/20121107194006_add_currency_to_orders.rb
|
785
|
+
- db/migrate/20121109173623_add_cost_currency_to_variants.rb
|
786
|
+
- db/migrate/20121111231553_remove_display_on_from_payment_methods.rb
|
787
|
+
- db/migrate/20121124203911_add_position_to_taxonomies.rb
|
788
|
+
- db/migrate/20121126040517_add_last_ip_to_spree_orders.rb
|
789
|
+
- db/migrate/20130114053446_add_display_on_to_spree_payment_methods.rb
|
790
|
+
- db/migrate/20130120201805_add_position_to_product_properties.spree.rb
|
791
|
+
- db/migrate/20130203232234_add_identifier_to_spree_payments.rb
|
792
|
+
- db/migrate/20130207155350_add_order_id_index_to_payments.rb
|
793
|
+
- db/migrate/20130208032954_add_primary_to_spree_products_taxons.rb
|
794
|
+
- db/migrate/20130222032153_add_order_id_index_to_shipments.rb
|
795
|
+
- db/migrate/20130226032817_change_meta_description_on_spree_products_to_text.rb
|
796
|
+
- db/migrate/20130226054936_add_variant_id_index_to_spree_prices.rb
|
797
|
+
- db/migrate/20130319062004_change_orders_total_precision.rb
|
798
|
+
- db/migrate/20130319063911_change_spree_payments_amount_precision.rb
|
799
|
+
- db/migrate/20130319064308_change_spree_return_authorization_amount_precision.rb
|
800
|
+
- db/migrate/20130319082943_change_adjustments_amount_precision.rb
|
801
|
+
- db/migrate/20130328195253_add_seo_metas_to_taxons.rb
|
802
|
+
- db/migrate/20130626232741_add_cvv_result_code_and_cvv_result_message_to_spree_payments.rb
|
803
|
+
- db/migrate/20130628021056_add_unique_index_to_permalink_on_spree_products.rb
|
804
|
+
- db/migrate/20130628022817_add_unique_index_to_orders_shipments_and_stock_transfers.rb
|
805
|
+
- db/migrate/20130813140619_expand_order_number_size.rb
|
806
|
+
- db/migrate/20131113035136_add_channel_to_spree_orders.rb
|
807
|
+
- db/seeds.rb
|
769
808
|
- lib/generators/spree/custom_user/custom_user_generator.rb
|
770
809
|
- lib/generators/spree/custom_user/templates/authentication_helpers.rb.tt
|
771
810
|
- lib/generators/spree/custom_user/templates/initializer.rb.tt
|
@@ -783,18 +822,19 @@ files:
|
|
783
822
|
- lib/generators/spree/install/templates/app/assets/stylesheets/admin/all.css
|
784
823
|
- lib/generators/spree/install/templates/app/assets/stylesheets/store/all.css
|
785
824
|
- lib/generators/spree/install/templates/config/initializers/spree.rb
|
825
|
+
- lib/spree/core.rb
|
786
826
|
- lib/spree/core/action_callbacks.rb
|
787
827
|
- lib/spree/core/calculated_adjustments.rb
|
828
|
+
- lib/spree/core/controller_helpers.rb
|
788
829
|
- lib/spree/core/controller_helpers/auth.rb
|
789
830
|
- lib/spree/core/controller_helpers/common.rb
|
790
831
|
- lib/spree/core/controller_helpers/order.rb
|
791
832
|
- lib/spree/core/controller_helpers/respond_with.rb
|
792
|
-
- lib/spree/core/controller_helpers.rb
|
793
833
|
- lib/spree/core/custom_fixtures.rb
|
794
834
|
- lib/spree/core/delegate_belongs_to.rb
|
795
835
|
- lib/spree/core/engine.rb
|
796
|
-
- lib/spree/core/environment/calculators.rb
|
797
836
|
- lib/spree/core/environment.rb
|
837
|
+
- lib/spree/core/environment/calculators.rb
|
798
838
|
- lib/spree/core/environment_extension.rb
|
799
839
|
- lib/spree/core/ext/active_record.rb
|
800
840
|
- lib/spree/core/gateway_error.rb
|
@@ -815,6 +855,7 @@ files:
|
|
815
855
|
- lib/spree/core/testing_support/capybara_ext.rb
|
816
856
|
- lib/spree/core/testing_support/common_rake.rb
|
817
857
|
- lib/spree/core/testing_support/controller_requests.rb
|
858
|
+
- lib/spree/core/testing_support/factories.rb
|
818
859
|
- lib/spree/core/testing_support/factories/activator_factory.rb
|
819
860
|
- lib/spree/core/testing_support/factories/address_factory.rb
|
820
861
|
- lib/spree/core/testing_support/factories/adjustment_factory.rb
|
@@ -849,7 +890,6 @@ files:
|
|
849
890
|
- lib/spree/core/testing_support/factories/user_factory.rb
|
850
891
|
- lib/spree/core/testing_support/factories/variant_factory.rb
|
851
892
|
- lib/spree/core/testing_support/factories/zone_factory.rb
|
852
|
-
- lib/spree/core/testing_support/factories.rb
|
853
893
|
- lib/spree/core/testing_support/fixtures.rb
|
854
894
|
- lib/spree/core/testing_support/flash.rb
|
855
895
|
- lib/spree/core/testing_support/preferences.rb
|
@@ -858,7 +898,6 @@ files:
|
|
858
898
|
- lib/spree/core/user_banners.rb
|
859
899
|
- lib/spree/core/validators/email.rb
|
860
900
|
- lib/spree/core/version.rb
|
861
|
-
- lib/spree/core.rb
|
862
901
|
- lib/spree/money.rb
|
863
902
|
- lib/spree/product_filters.rb
|
864
903
|
- lib/spree/scopes/dynamic.rb
|
@@ -866,44 +905,6 @@ files:
|
|
866
905
|
- lib/tasks/core.rake
|
867
906
|
- lib/tasks/rake_util.rb
|
868
907
|
- lib/tasks/taxon.rake
|
869
|
-
- db/default/spree/countries.rb
|
870
|
-
- db/default/spree/roles.rb
|
871
|
-
- db/default/spree/states.rb
|
872
|
-
- db/default/spree/zones.rb
|
873
|
-
- db/migrate/20120831092320_spree_one_two.rb
|
874
|
-
- db/migrate/20120905145253_add_tax_rate_label.rb
|
875
|
-
- db/migrate/20120905151823_add_toggle_tax_rate_display.rb
|
876
|
-
- db/migrate/20120929093553_remove_unused_preference_columns.rb
|
877
|
-
- db/migrate/20121009142519_add_lock_version_to_variant.rb
|
878
|
-
- db/migrate/20121010142909_add_states_required_to_countries.rb
|
879
|
-
- db/migrate/20121012071449_add_on_demand_to_product_and_variant.rb
|
880
|
-
- db/migrate/20121017010007_remove_not_null_constraint_from_products_on_hand.rb
|
881
|
-
- db/migrate/20121031162139_split_prices_from_variants.rb
|
882
|
-
- db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb
|
883
|
-
- db/migrate/20121107184631_add_currency_to_line_items.rb
|
884
|
-
- db/migrate/20121107194006_add_currency_to_orders.rb
|
885
|
-
- db/migrate/20121109173623_add_cost_currency_to_variants.rb
|
886
|
-
- db/migrate/20121111231553_remove_display_on_from_payment_methods.rb
|
887
|
-
- db/migrate/20121124203911_add_position_to_taxonomies.rb
|
888
|
-
- db/migrate/20121126040517_add_last_ip_to_spree_orders.rb
|
889
|
-
- db/migrate/20130114053446_add_display_on_to_spree_payment_methods.rb
|
890
|
-
- db/migrate/20130120201805_add_position_to_product_properties.spree.rb
|
891
|
-
- db/migrate/20130203232234_add_identifier_to_spree_payments.rb
|
892
|
-
- db/migrate/20130207155350_add_order_id_index_to_payments.rb
|
893
|
-
- db/migrate/20130208032954_add_primary_to_spree_products_taxons.rb
|
894
|
-
- db/migrate/20130222032153_add_order_id_index_to_shipments.rb
|
895
|
-
- db/migrate/20130226032817_change_meta_description_on_spree_products_to_text.rb
|
896
|
-
- db/migrate/20130226054936_add_variant_id_index_to_spree_prices.rb
|
897
|
-
- db/migrate/20130319062004_change_orders_total_precision.rb
|
898
|
-
- db/migrate/20130319063911_change_spree_payments_amount_precision.rb
|
899
|
-
- db/migrate/20130319064308_change_spree_return_authorization_amount_precision.rb
|
900
|
-
- db/migrate/20130319082943_change_adjustments_amount_precision.rb
|
901
|
-
- db/migrate/20130328195253_add_seo_metas_to_taxons.rb
|
902
|
-
- db/migrate/20130626232741_add_cvv_result_code_and_cvv_result_message_to_spree_payments.rb
|
903
|
-
- db/migrate/20130628021056_add_unique_index_to_permalink_on_spree_products.rb
|
904
|
-
- db/migrate/20130628022817_add_unique_index_to_orders_shipments_and_stock_transfers.rb
|
905
|
-
- db/migrate/20130813140619_expand_order_number_size.rb
|
906
|
-
- db/seeds.rb
|
907
908
|
- vendor/assets/fonts/fontawesome-webfont.eot
|
908
909
|
- vendor/assets/fonts/fontawesome-webfont.svg
|
909
910
|
- vendor/assets/fonts/fontawesome-webfont.ttf
|
@@ -1194,6 +1195,7 @@ files:
|
|
1194
1195
|
- vendor/assets/javascripts/jquery.jstree/themes/apple/style.css
|
1195
1196
|
- vendor/assets/javascripts/jquery.jstree/themes/apple/throbber.gif
|
1196
1197
|
- vendor/assets/javascripts/jquery.powertip.js
|
1198
|
+
- vendor/assets/javascripts/jquery.vAlign.js
|
1197
1199
|
- vendor/assets/javascripts/jquery.validate/additional-methods.min.js
|
1198
1200
|
- vendor/assets/javascripts/jquery.validate/jquery.validate.min.js
|
1199
1201
|
- vendor/assets/javascripts/jquery.validate/localization/messages_ar.js
|
@@ -1248,7 +1250,6 @@ files:
|
|
1248
1250
|
- vendor/assets/javascripts/jquery.validate/localization/methods_de.js
|
1249
1251
|
- vendor/assets/javascripts/jquery.validate/localization/methods_nl.js
|
1250
1252
|
- vendor/assets/javascripts/jquery.validate/localization/methods_pt.js
|
1251
|
-
- vendor/assets/javascripts/jquery.vAlign.js
|
1252
1253
|
- vendor/assets/javascripts/jsuri.js
|
1253
1254
|
- vendor/assets/javascripts/modernizr.js
|
1254
1255
|
- vendor/assets/javascripts/responsive-tables.js
|
@@ -1271,18 +1272,18 @@ require_paths:
|
|
1271
1272
|
- lib
|
1272
1273
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1273
1274
|
requirements:
|
1274
|
-
- -
|
1275
|
+
- - ">="
|
1275
1276
|
- !ruby/object:Gem::Version
|
1276
1277
|
version: 1.8.7
|
1277
1278
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1278
1279
|
requirements:
|
1279
|
-
- -
|
1280
|
+
- - ">="
|
1280
1281
|
- !ruby/object:Gem::Version
|
1281
1282
|
version: '0'
|
1282
1283
|
requirements:
|
1283
1284
|
- none
|
1284
1285
|
rubyforge_project: spree_core
|
1285
|
-
rubygems_version: 2.
|
1286
|
+
rubygems_version: 2.2.0
|
1286
1287
|
signing_key:
|
1287
1288
|
specification_version: 4
|
1288
1289
|
summary: Core e-commerce functionality for the Spree project.
|