stay_commerce 0.1.3 → 0.1.5
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 +4 -4
- data/lib/stay/engine.rb +10 -2
- data/lib/stay/version.rb +1 -1
- data/lib/stay_commerce.rb +1 -17
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b083a6d8671e4b709d5de311f05f37337d92161bc538e0dd6399f3876623f354
|
4
|
+
data.tar.gz: 23e5a1006808dd8ed717483cf5cf4df96c84a0e05d7a2b48bc758970cbbc01f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1c967e64ad576fbb492ea59635b408bbc5ecc5a42d9da88509300aa07a2d4dacc542b742278679a44b4f345eaa58f320d5350cce86ee7b3cabe2aaeb3718b48
|
7
|
+
data.tar.gz: 7c40cdd3683e8cc4160ae9bec64d4b285947c68f7655af8fe3203d17aa7a0854fe5247f3b3a50f048e832ab916d437212b96345dde2f7532aa2fde94023cf7fc
|
data/lib/stay/engine.rb
CHANGED
@@ -13,8 +13,16 @@ module Stay
|
|
13
13
|
app.config.assets.precompile += %w( stay/application.js stay/application.css )
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
|
16
|
+
initializer :append_migrations do |app|
|
17
|
+
unless app.root.to_s.match(root.to_s)
|
18
|
+
config.paths["db/migrate"].expanded.each do |path|
|
19
|
+
app.config.paths["db/migrate"] << path
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
rake_tasks do
|
25
|
+
Dir.glob(File.expand_path("../../tasks/**/*.rake", __dir__)).each { |file| load file }
|
18
26
|
end
|
19
27
|
end
|
20
28
|
end
|
data/lib/stay/version.rb
CHANGED
data/lib/stay_commerce.rb
CHANGED
@@ -1,18 +1,2 @@
|
|
1
|
-
|
2
|
-
# require "stay/engine"
|
3
|
-
# require 'monetize'
|
4
|
-
# require 'mobility'
|
5
|
-
# require 'paranoia'
|
6
|
-
# require 'inline_svg'
|
7
|
-
# require 'jquery-rails'
|
8
|
-
# require 'jquery-ui-rails'
|
9
|
-
# require 'jsbundling-rails'
|
10
|
-
# require 'stay/controller_helpers/currency'
|
11
|
-
# require 'stay/controller_helpers/store'
|
12
|
-
# require 'bootstrap'
|
13
|
-
|
14
|
-
# module Stay
|
15
|
-
# # Your code goes here...
|
16
|
-
# end
|
17
|
-
|
1
|
+
require 'bootstrap'
|
18
2
|
require "stay"
|