raygun 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -281,7 +281,7 @@ RUBY
281
281
 
282
282
  def setup_guard
283
283
  copy_file 'Guardfile_customized', 'Guardfile'
284
- run 'bundle exec guard init jasmine'
284
+ bundle_command 'exec guard init jasmine'
285
285
  end
286
286
 
287
287
  def setup_logging
@@ -87,18 +87,18 @@ module Raygun
87
87
  end
88
88
 
89
89
  def setup_database
90
- say 'Setting up database'
90
+ say "Setting up database"
91
91
  build :use_postgres_config_template
92
92
  build :create_database
93
93
  end
94
94
 
95
95
  def setup_generators
96
- say 'Installing custom view generator templates'
96
+ say "Installing custom view generator templates"
97
97
  build :setup_generators
98
98
  end
99
99
 
100
100
  def create_raygun_views
101
- say 'Creating views and layouts'
101
+ say "Creating views and layouts"
102
102
  build :replace_public_index
103
103
  build :create_partials_directory
104
104
  #build :create_shared_flashes
@@ -107,7 +107,7 @@ module Raygun
107
107
  end
108
108
 
109
109
  def configure_app
110
- say 'Configuring app'
110
+ say "Configuring app"
111
111
 
112
112
  build :configure_rspec
113
113
  build :generate_rspec
@@ -138,13 +138,13 @@ module Raygun
138
138
  end
139
139
 
140
140
  def copy_miscellaneous_files
141
- say 'Copying miscellaneous support files'
141
+ say "Copying miscellaneous support files"
142
142
  build :copy_rake_tasks
143
143
  build :copy_procfile
144
144
  end
145
145
 
146
146
  def knits_and_picks
147
- say 'Converting old hash syntax and fixing knit picks'
147
+ say "Converting old hash syntax and fixing knit picks"
148
148
  build :convert_to_19_hash_syntax
149
149
  build :consistent_quoting
150
150
  end
@@ -176,5 +176,13 @@ module Raygun
176
176
  def get_builder_class
177
177
  Raygun::AppBuilder
178
178
  end
179
+
180
+ # We want output from our bundle commands, overriding thor's implementation.
181
+ def bundle_command(command)
182
+ say_status :run, "bundle #{command}"
183
+ cmd = "#{Gem.ruby} -rubygems #{Gem.bin_path('bundler', 'bundle')} #{command}"
184
+ IO.popen(cmd) { |p| p.each { |f| puts f } }
185
+ end
186
+
179
187
  end
180
188
  end
@@ -1,3 +1,3 @@
1
1
  module Raygun
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: