spree_counties 2.3.5 → 2.3.6
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bccfd4dd0199149fa6655c2e4365145a07959a95
|
|
4
|
+
data.tar.gz: 394d676c887a9b81a971e748124659b6f5e91771
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/spree_counties.gemspec
CHANGED
|
@@ -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
|
+
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'
|