spree 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spree might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ == 0.5.1
2
+
3
+ * #139: Spree command not working if Rails 2.2.2 installed on the same system
4
+ * #138: Support all Rails 2.1.x versions (not just 2.1.2)
5
+ * #140: Fix active_merchant deprecation warnings
6
+ * #141: Fix deprecation warnings for Dependencies
7
+
1
8
  == 0.5.0
2
9
 
3
10
  * # 55 - Variants need shipping weights to do shipping calculations.
@@ -19,7 +26,7 @@
19
26
  * # 106 - Adding a new variant causes NoMethodError
20
27
  * # 107 - SKU not saving for products (empty variant)
21
28
  * # 108 - Correct after_transition for paid state in Order model
22
- * # 109 - Add pruchase method to Spree::PaymentGateway
29
+ * # 109 - Add purchase method to Spree::PaymentGateway
23
30
  * # 110 - Empty address cannot be validated
24
31
  * # 112 - Check for user before emailing order confirmations
25
32
  * # 113 - Property model references bogus value table.
@@ -41,7 +48,7 @@
41
48
 
42
49
  == 0.4.0
43
50
 
44
- * Initial support for initialization
51
+ * Initial support for internationalization
45
52
  * Rails 2.1 support
46
53
  * #38 - Credit card numbers are being logged
47
54
  * #39 - Rails 2.1 Support
@@ -55,7 +55,7 @@ module Spree
55
55
  class Boot
56
56
  include Spree::RubyGemsLoader
57
57
  def run
58
- load_rails("2.1.2") # note: spree requires a specific rails version (change at your own risk)
58
+ load_rails("~>2.1.0") # note: spree requires rails 2.1.x (change at your own risk)
59
59
  load_initializer
60
60
  Spree::Initializer.run(:set_load_path)
61
61
  end
@@ -5,8 +5,7 @@
5
5
  # ENV['RAILS_ENV'] ||= 'production'
6
6
 
7
7
  # Specifies gem version of Rails to use when vendor/rails is not present
8
- SPREE_GEM_VERSION = '0.5.0' unless defined? SPREE_GEM_VERSION
9
- RAILS_GEM_VERSION = "2.1.2" unless defined? RAILS_GEM_VERSION
8
+ SPREE_GEM_VERSION = '0.5.1' unless defined? SPREE_GEM_VERSION
10
9
 
11
10
  # Bootstrap the Rails environment, frameworks, and default configuration
12
11
  require File.join(File.dirname(__FILE__), 'boot')
@@ -30,7 +29,7 @@ Spree::Initializer.run do |config|
30
29
  config.gem "has_many_polymorphs", :version => '2.12'
31
30
  config.gem "highline", :version => '1.4.0'
32
31
  config.gem "mini_magick", :version => '1.2.3'
33
- config.gem "activemerchant", :lib => "active_merchant", :version => '1.3.2'
32
+ config.gem "activemerchant", :lib => "active_merchant", :version => '1.4.0'
34
33
  config.gem "tlsmail"
35
34
  config.gem 'active_presenter', :version => '0.0.4'
36
35
 
@@ -9,7 +9,7 @@ unless defined? Spree::Version
9
9
  module Version
10
10
  Major = '0'
11
11
  Minor = '5'
12
- Tiny = '0'
12
+ Tiny = '1'
13
13
 
14
14
  class << self
15
15
  def to_s
@@ -65,7 +65,7 @@ module Spree
65
65
 
66
66
  # Load the extensions
67
67
  def load_extensions
68
- @observer ||= DependenciesObserver.new(configuration).observe(::Dependencies)
68
+ @observer ||= DependenciesObserver.new(configuration).observe(ActiveSupport::Dependencies)
69
69
  self.extensions = load_extension_roots.map do |root|
70
70
  begin
71
71
  extension_file = "#{File.basename(root).sub(/^\d+_/,'')}_extension"
@@ -29,12 +29,9 @@ namespace 'spree' do
29
29
  s.rubyforge_project = RUBY_FORGE_PROJECT
30
30
  s.platform = Gem::Platform::RUBY
31
31
  s.bindir = 'bin'
32
- s.executables = (Dir['bin/*'] + Dir['scripts/*']).map { |file| File.basename(file) }
32
+ s.executables = ['spree']
33
33
  s.add_dependency 'rake', '>= 0.7.1'
34
- s.add_dependency 'has_many_polymorphs', '>= 2.12'
35
34
  s.add_dependency 'highline', '>=1.4.0'
36
- s.add_dependency 'mini_magick', '>=1.2.3'
37
- s.autorequire = 'spree'
38
35
  s.has_rdoc = true
39
36
  #s.rdoc_options << '--title' << RDOC_TITLE << '--line-numbers' << '--main' << 'README'
40
37
  rdoc_excludes = Dir["**"].reject { |f| !File.directory? f }
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
- autorequire: spree
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-24 00:00:00 -05:00
12
+ date: 2008-12-02 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,16 +22,6 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 0.7.1
24
24
  version:
25
- - !ruby/object:Gem::Dependency
26
- name: has_many_polymorphs
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: "2.12"
34
- version:
35
25
  - !ruby/object:Gem::Dependency
36
26
  name: highline
37
27
  type: :runtime
@@ -42,16 +32,6 @@ dependencies:
42
32
  - !ruby/object:Gem::Version
43
33
  version: 1.4.0
44
34
  version:
45
- - !ruby/object:Gem::Dependency
46
- name: mini_magick
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 1.2.3
54
- version:
55
35
  description: "Spree is a complete commerce solution designed for use by experienced Rails developers. No solution can possibly solve everyone\xE2\x80\x99s needs perfectly. There are simply too many ways that people do business for us to model them all specifically. Rather then come up short (like so many projects before it), Spree\xE2\x80\x99s approach is to simply accept this and not even try. Instead Spree tries to focus on solving the 90% of the problem that most commerce projects face and anticipate that the other 10% will need to be addressed by the end developer familiar with the client\xE2\x80\x99s exact business requirements."
56
36
  email: sean.schofield@gmail.com
57
37
  executables:
@@ -678,6 +658,7 @@ files:
678
658
  - lib/tasks/sample/products/0000/1008/ruby_baseball_mini.png
679
659
  - lib/tasks/sample/products/0000/1008/ruby_baseball_product.png
680
660
  - lib/tasks/sample/products/0000/1008/ruby_baseball_small.png
661
+ - lib/tasks/sample/products/1
681
662
  - LICENSE
682
663
  - log
683
664
  - log/README