spree_wallet 2.1.0 → 2.1.1

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.
data/README.md CHANGED
@@ -7,13 +7,13 @@ Installation
7
7
  Add spree_wallet to your Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'spree_wallet', '~> 2.1.0'
10
+ gem 'spree_wallet', '2.1.1'
11
11
  ```
12
12
 
13
13
  But if you are using 2.0.x version of spree
14
14
 
15
15
  ```ruby
16
- gem 'spree_wallet', '2.0.6'
16
+ gem 'spree_wallet', '2.0.9'
17
17
  ```
18
18
 
19
19
  Bundle your dependencies and run the installation generator:
@@ -36,14 +36,29 @@ Testing
36
36
 
37
37
  You need to do a quick one-time creation of a test application and then you can use it to run the tests.
38
38
 
39
- bundle exec rake test_app
39
+ ```
40
+ bundle exec rake test_app
41
+ ```
40
42
 
41
43
  Then run the rspec tests with mysql.
42
44
 
43
- bundle exec rspec .
45
+ ```
46
+ bundle exec rspec .
47
+ ```
44
48
 
45
49
 
46
50
 
51
+ Contributing
52
+ ------------
53
+
54
+ 1. Fork the repo.
55
+ 2. Clone your repo.
56
+ 3. Run `bundle install`.
57
+ 4. Run `bundle exec rake test_app` to create the test application in `spec/test_app`.
58
+ 5. Make your changes.
59
+ 6. Ensure specs pass by running `bundle exec rspec spec`.
60
+ 7. Submit your pull request.
61
+
47
62
  Credits
48
63
  -------
49
64
 
@@ -1,5 +1,7 @@
1
1
  class AddLockVersionToSpreeUsers < ActiveRecord::Migration
2
2
  def change
3
- add_column :spree_users, :lock_version, :integer, :default => 0
3
+ unless Spree::User.column_names.include? "lock_version"
4
+ add_column :spree_users, :lock_version, :integer, :default => 0
5
+ end
4
6
  end
5
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_wallet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 0
10
- version: 2.1.0
9
+ - 1
10
+ version: 2.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nishant 'CyRo' Tuteja
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2014-03-24 00:00:00 Z
18
+ date: 2014-03-27 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: spree_core