minimum_viable_product 0.2.4 → 0.2.5

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: dd9a13fbe842038e9abc288b4f33be10e05c8fcb
4
- data.tar.gz: cc4f3e0a9f28e11fa66a3d88c8135c663c4535a4
3
+ metadata.gz: 006ff4ccff41d10f39cbc8e363dcaea28d80d877
4
+ data.tar.gz: 588bbd31f340fbb2a5053266320f51c91ccfb6ed
5
5
  SHA512:
6
- metadata.gz: c900ec343c3c2a355baad350a2442986f5cbddf9545df542c9062765ac65aa564b0a1f90da755e4f6a099062e56e18451dfa12267ab55a819645f6dd7a32c121
7
- data.tar.gz: 1007b3813c12251ce445b4b852293b9683a5345dadddeb1cc61c9ce0bf7d42dd0493c51f5ad78bf6fa5326f92469218d6aac17a590bde42f066d879f7ac2f538
6
+ metadata.gz: 12cb622bd179c2dd07ead085f0686eef71cc48845482071723031565d977fb44b79bd69e5f079bfd2c5ca14aaffd4a0f02a09bc3ecf9a4b23f8a3903c133ed89
7
+ data.tar.gz: b65d8b0375c386e96000d274cf22e61f1497979132c5c1075d24c052225d1df7b0a9ba9ee842477e64e508c87a9b680e49d6ce912784c47d22af4344c00205ca
data/bin/mvp CHANGED
@@ -30,11 +30,16 @@ when 'new'
30
30
  puts "\n== Initializing Project =="
31
31
  files = Dir.glob("#{slug}/**/*").select { |f| File.file?(f) }
32
32
  files.each do |file_name|
33
- text = File.read(file_name)
34
- new_contents = text.gsub(/__PROJECT_NAME__/, project)
35
- .gsub(/__PROJECT_NAME_SLUG__/, slug)
33
+ begin
34
+ puts "Replacing #{file_name}"
35
+ text = File.read(file_name)
36
+ new_contents = text.gsub(/__PROJECT_NAME__/, project)
37
+ .gsub(/__PROJECT_NAME_SLUG__/, slug)
36
38
 
37
- File.open(file_name, "w") {|file| file.puts new_contents }
39
+ File.open(file_name, "w") {|file| file.puts new_contents }
40
+ rescue
41
+
42
+ end
38
43
  end
39
44
  run "cd #{slug} && rm -rf .git && git init"
40
45
 
data/config/routes.rb CHANGED
@@ -1,6 +1,4 @@
1
1
  MinimumViableProduct::Engine.routes.draw do
2
- # mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
3
-
4
2
  if Rails.env.development?
5
3
  get 'styleguide', to: 'styleguide#index'
6
4
  get 'styleguide/bootstrap', to: 'styleguide#bootstrap'
@@ -1,3 +1,3 @@
1
1
  module MinimumViableProduct
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimum_viable_product
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Hunter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-25 00:00:00.000000000 Z
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: analytics-ruby