raygun 1.0.1 → 1.0.2

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: 01215df238402b70c5ba3bb79d02b8c1835ebddb
4
- data.tar.gz: 9fbc0539402d5007182b53a28ce9ecd65aaa40c7
3
+ metadata.gz: 53fef6c89e692472bd5d1bdca79c821116c57bcc
4
+ data.tar.gz: 7f94124fd48ae4286dc162f25705c7f5a3dbeb26
5
5
  SHA512:
6
- metadata.gz: 333aa4d2fef05eb27acd34afeb13f14d0c5f52f7d7e151b8c68bd4c4255ed482de0d0be83c382d1a6b87ea03f958d7945dbeaad72f44d027a4356c68f1536bd1
7
- data.tar.gz: 444dd636d0ecc6bba05d799ce544db216fc6f756ae9121f2617aa5712723f4922f0585fa0cb5ad3a69f433789d03ecc0c5f5b3d1c2f3ca64ab1d616c0378ffbe
6
+ metadata.gz: 1ebcc79eef641dfb5449169f6cbc04a0eccf13586b1907c79dc537fbeb922140331134a6b35702bf25f9f632c85d057394c3796e156cbbe1bdfd55d2649d8ae4
7
+ data.tar.gz: 2ee3e7c2fc6944293daa3d6b3a24feebd31cdb1f58ff0ea3125acac6a6e44723913de5288ca7921c1f7ccc5d8997415b01dd08611e4fbdad16efdbb58f2b5576
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.2.4
data/README.md CHANGED
@@ -65,13 +65,9 @@ Once your project is baked out, you can easily kick the wheels. Be sure that you
65
65
  covered (see above).
66
66
 
67
67
  $ cd your-project
68
- $ gem install bundler
69
- $ bundle
68
+ $ ./bin/setup
70
69
 
71
- # Prepare the database: schema and reference / sample data
72
- $ rake db:setup db:sample_data
73
-
74
- # Run the specs
70
+ # Run the specs, they should all pass
75
71
  $ rake
76
72
 
77
73
  # Fire up the app and open it in a browser
data/lib/raygun/raygun.rb CHANGED
@@ -95,7 +95,7 @@ module Raygun
95
95
  def copy_prototype
96
96
  FileUtils.mkdir_p(app_dir)
97
97
 
98
- shell "tar xfz #{@prototype} -C #{app_dir}"
98
+ shell "tar xfz #{@prototype} -C \"#{app_dir}\""
99
99
 
100
100
  # Github includes an extra directory layer in the tag tarball.
101
101
  extraneous_dir = Dir.glob("#{app_dir}/*").first
@@ -116,6 +116,10 @@ module Raygun
116
116
  }.each do |proto_name, new_name|
117
117
  shell "find . -type f -print | xargs #{sed_i} 's/#{proto_name}/#{new_name}/g'"
118
118
  end
119
+
120
+ %w(d f).each do |find_type|
121
+ shell "find . -depth -type #{find_type} -name '*app_prototype*' -exec bash -c 'mv $0 ${0/app_prototype/#{snake_name}}' {} \\;"
122
+ end
119
123
  end
120
124
  end
121
125
 
@@ -1,3 +1,3 @@
1
1
  module Raygun
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Nelson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-01-30 00:00:00.000000000 Z
13
+ date: 2015-12-31 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Carbon Five Rails application generator
16
16
  email:
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.4.5
57
+ rubygems_version: 2.4.5.1
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Generates and customizes Rails applications with Carbon Five best practices