minimum_viable_product 0.0.42 → 0.1.0

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: 49a23da980cc8439edb23b196c3d828847e20caf
4
- data.tar.gz: 7f5a0e57f67d6ef9a0fe2429ff9df94824f54469
3
+ metadata.gz: 34fde8a65ce6451b51a56c1132d6b3ee103820c9
4
+ data.tar.gz: 4c051f1e182f5a9b76f43380f837d08120309989
5
5
  SHA512:
6
- metadata.gz: ba99dd9ade40156ef77762051e9c4a45317fd21dd472c755ceb634d7b6d050a6b4b03c0cd13d96dc96ca86d86423b5de4ce08eaf047ca5e47bc2da2c8c2f5675
7
- data.tar.gz: ab67a913b3581eb72b1279be5be9b3dcde12a93e172fd68fef6f57784e67c4988f9aef280b6fac15407c9c8f9cada799c2271ec2625ed12e23bc6b5283fae5c3
6
+ metadata.gz: d567a1dad7cab9abca809ef6e0d4332ff70b0a407c59cc50e0fe5e6702f0a571bcf6bd7b08767ead608a362b39351b39258ee0ad892ec8893b753db9d0a95868
7
+ data.tar.gz: a0a3f44a3f860008b97d2226cfacd9c879460b0762a4274300dad4e6ea4d24002d44d0f85e72d792db08169b7a17b1cc6b69f6cbf8882f61a29992c3910d6de1
@@ -6,7 +6,7 @@ module MinimumViableProduct
6
6
  render text: %%
7
7
  User-agent: *
8
8
  Disallow:
9
- Sitemap: #{sitemap_url}
9
+ Sitemap: #{MVP::Engine.routes.url_helpers.sitemap_url}
10
10
  %, content_type: "text/plain"
11
11
  end
12
12
  end
@@ -1,16 +1,16 @@
1
- Rails.application.routes.draw do
1
+ MinimumViableProduct::Engine.routes.draw do
2
2
  # mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
3
3
 
4
4
  if Rails.env.development?
5
- get 'styleguide', to: 'minimum_viable_product/styleguide#index'
6
- get 'styleguide/bootstrap', to: 'minimum_viable_product/styleguide#bootstrap'
5
+ get 'styleguide', to: 'styleguide#index'
6
+ get 'styleguide/bootstrap', to: 'styleguide#bootstrap'
7
7
  ['basic','cover','carousel'].each do |layout|
8
- get "styleguide/layouts/#{layout}", to: "minimum_viable_product/styleguide#layout_#{layout}"
8
+ get "styleguide/layouts/#{layout}", to: "styleguide#layout_#{layout}"
9
9
  end
10
10
  end
11
11
 
12
- get 'robots.txt', to: 'minimum_viable_product/seo#robots', as: :robots
12
+ get 'robots.txt', to: 'seo#robots', as: :robots
13
13
  get '/sitemap.xml.gz', to: redirect("https://#{ENV['AWS_S3_BUCKET']}.s3.amazonaws.com/#{ENV['PROJECT_NAME']}/sitemaps/sitemap.xml.gz"), as: :sitemap
14
14
 
15
- get 'analytics/optout', to: 'minimum_viable_product/analytics#optout'
15
+ get 'analytics/optout', to: 'analytics#optout'
16
16
  end
@@ -1,6 +1,5 @@
1
- require "minimum_viable_product/engine"
2
-
3
1
  module MinimumViableProduct
4
2
  end
5
-
6
3
  MVP = Mvp = MinimumViableProduct
4
+
5
+ require "minimum_viable_product/engine"
@@ -1,3 +1,3 @@
1
1
  module MinimumViableProduct
2
- VERSION = "0.0.42"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -37,6 +37,6 @@ namespace :sitemap do
37
37
  task worker: :environment do
38
38
  Rake::Task["sitemap:create"].invoke
39
39
  Rake::Task["sitemap:upload"].invoke
40
- SitemapGenerator::Sitemap.ping_search_engines(Rails.application.routes.url_helpers.sitemap_url)
40
+ SitemapGenerator::Sitemap.ping_search_engines(MVP::Engine.routes.url_helpers.sitemap_url)
41
41
  end
42
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimum_viable_product
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.42
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Hunter