spree_counties 2.3.5 → 2.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25881b248e39b2a67d0e8e546d40d5ffa03dda50
4
- data.tar.gz: 1043627dba3248c68b9eb34c019681473c105aff
3
+ metadata.gz: bccfd4dd0199149fa6655c2e4365145a07959a95
4
+ data.tar.gz: 394d676c887a9b81a971e748124659b6f5e91771
5
5
  SHA512:
6
- metadata.gz: 4a92b03b687f26fc0da52e6a410d1336b786bfdc7dfe08ab24cc0bd6d316dd578615cf523992cd527a04d1edc8cdc8888f90c959cae1b2251c4a59fa97c77624
7
- data.tar.gz: e4fd5d8c82a9fb6b573cb470f920075ed492f740fb1ac618de7014bda6f487b8b1fbabb477fb3d79476594decbda42de885a8b22a02daf447cbb7d2a4b1fb08f
6
+ metadata.gz: 0ecbf1db9e1a9818f1eef2dda6d742ff1cffef9bffb0864d2eed456a81c3d3896bc2bcf0219b38182017200bb3f46f0c09512d79d135dbede1e6445e80e15965
7
+ data.tar.gz: 8628529535b1daf2b011746d1cc50ee51e8c4711de6bf2556c2bf91cb73cb5292e6a67d4a8e8a2efe672f07c6e71fc3f701951571f4ad018b81de1d785135b1f
@@ -18,6 +18,15 @@ module SpreeCounties
18
18
  run 'bundle exec rake railties:install:migrations FROM=spree_counties'
19
19
  end
20
20
 
21
+ def run_migrations
22
+ run_migrations = options[:auto_run_migrations] || ['', 'y', 'Y'].include?(ask 'Would you like to run the migrations now? [Y/n]')
23
+ if run_migrations
24
+ run 'bundle exec rake db:migrate'
25
+ else
26
+ puts 'Skipping rake db:migrate, don\'t forget to run it!'
27
+ end
28
+ end
29
+
21
30
  def run_seeds
22
31
  run_seeds = options[:auto_run_seeds] || ['', 'y', 'Y'].include?(ask 'Would you like to load chilean example seeds now? [Y/n]')
23
32
  if run_seeds
@@ -27,15 +36,6 @@ module SpreeCounties
27
36
  puts 'Skipping bundle exec rails runner, don\'t forget to run it!'
28
37
  end
29
38
  end
30
-
31
- def run_migrations
32
- run_migrations = options[:auto_run_migrations] || ['', 'y', 'Y'].include?(ask 'Would you like to run the migrations now? [Y/n]')
33
- if run_migrations
34
- run 'bundle exec rake db:migrate'
35
- else
36
- puts 'Skipping rake db:migrate, don\'t forget to run it!'
37
- end
38
- end
39
39
  end
40
40
  end
41
41
  end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_counties'
5
- s.version = '2.3.5'
5
+ s.version = '2.3.6'
6
6
  s.summary = 'Lets your users pick counties from states list in address\'s step'
7
7
  s.description = 'Add county model to address'
8
8
  s.required_ruby_version = '>= 1.9.3'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_counties
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Moreno