spree_promo_user_usage_limit 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d5e59ecb09944735c773b5bee331d1cfe76a0ab
4
- data.tar.gz: ad369b442f5b3fb1bf22743c2122887377929274
3
+ metadata.gz: 2d4e858ee897cbcd2ad7689e8d0958111da1c2b6
4
+ data.tar.gz: b2f5e065695174397b8afbd6be7ce7782fbb4943
5
5
  SHA512:
6
- metadata.gz: 05a5e46264982167f35059cba74aa8ac90dea3b090a875656a69e9132aa82a5ba6df1c8d85b1049f3c4d8e1138f0b5f177756470b44c827be9098644177eb85a
7
- data.tar.gz: 735e8c4522d767fb4df2ef2f084262e97c4710d914c0aad512eb7b22c2298f805342a5e10090281ed1776fb9c1294920de38608a1e6d06ff40afe10b797361eb
6
+ metadata.gz: e745de4a1d4eb2bf613ba07a48096bc8c0a41bad2f28b16dfff90aa18efca2d7c54321b4bdf00e8ac16efe740392e6232e358159407b5c38b877774b836d7ac9
7
+ data.tar.gz: 2dc34fe1baebf9db6fef164f3caefc72c4ebdede3325bb7b95e7e482ab7bef84b92e8c4aae00e91ab120764c44167d8e35fff54e5586c357cfb13a8bdb04f77e
data/.travis.yml CHANGED
@@ -6,16 +6,11 @@ rvm:
6
6
  - 1.9.3
7
7
  - 2.0.0
8
8
  - 2.1
9
- - jruby-19mode
10
- - jruby-21mode
11
- - rbx-2
12
9
  env:
13
10
  - DB=sqlite
14
11
  language: ruby
15
12
  matrix:
16
- allow_failures:
17
- - rvm: rbx-2
18
- - rvm: jruby-21mode
13
+ fast_finish: true
19
14
  notifications:
20
15
  recipients:
21
16
  - swrobel@gmail.com
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 2.3.0
2
+
3
+ * Spree ~> 2.3.0 compatibility
4
+ * Drop jruby support as Spree doesn't seem to support it
5
+ * Drop rbx experimental support since Travis never seems to build using it
6
+
1
7
  ## 2.0.0, 2.1.0, 2.2.0
2
8
 
3
9
  * Initial release
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'activerecord-jdbcsqlite3-adapter', platforms: :jruby
4
- gem 'sqlite3', platforms: :ruby
5
-
6
3
  gemspec
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  Spree Promo User Usage Limit
2
2
  ======================
3
- [![Build Status](http://img.shields.io/travis/swrobel/spree_promo_user_usage_limit/2-2-stable.svg?style=flat)](https://travis-ci.org/swrobel/spree_promo_user_usage_limit) [![Dependency Status](http://img.shields.io/gemnasium/swrobel/spree_promo_user_usage_limit.svg?style=flat)](https://gemnasium.com/swrobel/spree_promo_user_usage_limit) [![Coverage Status](http://img.shields.io/coveralls/swrobel/spree_promo_user_usage_limit/2-2-stable.svg?style=flat)](https://coveralls.io/r/swrobel/spree_promo_user_usage_limit) [![Code Climate](http://img.shields.io/codeclimate/github/swrobel/spree_promo_user_usage_limit.svg?style=flat)](https://codeclimate.com/github/swrobel/spree_promo_user_usage_limit)
3
+ [![Build Status](http://img.shields.io/travis/swrobel/spree_promo_user_usage_limit/2-3-stable.svg?style=flat)](https://travis-ci.org/swrobel/spree_promo_user_usage_limit) [![Dependency Status](http://img.shields.io/gemnasium/swrobel/spree_promo_user_usage_limit.svg?style=flat)](https://gemnasium.com/swrobel/spree_promo_user_usage_limit) [![Coverage Status](http://img.shields.io/coveralls/swrobel/spree_promo_user_usage_limit/2-3-stable.svg?style=flat)](https://coveralls.io/r/swrobel/spree_promo_user_usage_limit) [![Code Climate](http://img.shields.io/codeclimate/github/swrobel/spree_promo_user_usage_limit.svg?style=flat)](https://codeclimate.com/github/swrobel/spree_promo_user_usage_limit)
4
4
 
5
5
  Adding this rule to a promo will allow you to set a limit on the number of completed orders for which a given user can apply it (default 1 use).
6
6
 
@@ -45,9 +45,6 @@ This extension is tested against the following rubies:
45
45
  * 1.9.3
46
46
  * 2.0
47
47
  * 2.1
48
- * jruby-19mode
49
- * jruby-21mode (experimental)
50
- * rubinius (experimental)
51
48
 
52
49
  ### Running the tests locally
53
50
 
data/Versionfile CHANGED
@@ -9,7 +9,8 @@
9
9
  # '0.70.x' => { :branch => '0-70-stable' }
10
10
  # '0.40.x' => { :tag => 'v1.0.0', :version => '1.0.0' }
11
11
 
12
- "2.3.x" => { :branch => "master" }
12
+ "2.4.x" => { :branch => "2-4-stable" }
13
+ "2.3.x" => { :branch => "2-3-stable" }
13
14
  "2.2.x" => { :branch => "2-2-stable" }
14
15
  "2.1.x" => { :branch => "2-1-stable" }
15
16
  "2.0.x" => { :branch => "2-0-stable" }
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_promo_user_usage_limit'
5
- s.version = '2.2.0'
5
+ s.version = '2.3.0'
6
6
  s.summary = 'Allow each user to use a promotion a maximum of N times'
7
7
  s.description = 'Adding this rule to a promo will allow you to set a limit on the number of completed orders for which a given user can apply it (default 1 use).'
8
8
  s.required_ruby_version = '>= 1.9.3'
@@ -17,11 +17,12 @@ Gem::Specification.new do |s|
17
17
  s.require_path = 'lib'
18
18
  s.requirements << 'none'
19
19
 
20
- s.add_dependency 'spree_core', '~> 2.2.0'
20
+ s.add_dependency 'spree_core', '~> 2.3.0'
21
21
 
22
22
  s.add_development_dependency 'factory_girl', '~> 4.4'
23
23
  s.add_development_dependency 'ffaker'
24
24
  s.add_development_dependency 'rspec-rails', '~> 2.13'
25
25
  s.add_development_dependency 'simplecov'
26
+ s.add_development_dependency 'sqlite3'
26
27
  s.add_development_dependency 'coveralls'
27
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_promo_user_usage_limit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Wrobel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-12 00:00:00.000000000 Z
11
+ date: 2014-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.0
19
+ version: 2.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.2.0
26
+ version: 2.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: factory_girl
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sqlite3
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: coveralls
85
99
  requirement: !ruby/object:Gem::Requirement