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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d100ee023ac75ae3f666957cf5e848d4ed6696c54d06900c771fa2c735a1a608
4
- data.tar.gz: 32e6c94adf4ef8e7adc0c9c6ca498e8403ad5a0b0344b4610b9851cd8fed401e
3
+ metadata.gz: b083a6d8671e4b709d5de311f05f37337d92161bc538e0dd6399f3876623f354
4
+ data.tar.gz: 23e5a1006808dd8ed717483cf5cf4df96c84a0e05d7a2b48bc758970cbbc01f6
5
5
  SHA512:
6
- metadata.gz: 7b5e80b7c8686ebacdc3240d7f2cb41c7dc3a963f8259b9118dc38b5d19d481c82dff5ee55adf5210fdaa090a32142bc5b7e16e6ce9a6c4419d7fb499cda68d6
7
- data.tar.gz: 449111ffb9ec68b6c616bf45f20308c75836c2e4be60c8367307a128fc865d691465cb0b395d92365055d08fba0316870f2720e9830391abef4eed7919930ff0
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
- rake_tasks do
17
- load File.expand_path('../../lib/tasks/install_migrations.rake', __FILE__)
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
@@ -1,3 +1,3 @@
1
1
  module Stay
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/stay_commerce.rb CHANGED
@@ -1,18 +1,2 @@
1
- # require "stay/version"
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stay_commerce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - w3villa-vikaspal