icebreaker 0.0.3 → 0.0.4

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- icebreaker (0.0.1)
4
+ icebreaker (0.0.3)
5
5
  rails
6
6
  thor
7
7
 
@@ -13,6 +13,16 @@ module IceBreaker
13
13
  D
14
14
 
15
15
  def new(project)
16
+ # Check for a gemset and warn if none
17
+ gemset = `rvm gemset name`.chomp
18
+ unless gemset == 'icebreaker'
19
+ say "It is recommend that you use a separate RVM gemset called 'icebreaker' when creating a Rails project with IceBreaker. This will keep your system gems clean."
20
+ say "You can create it by running this command: rvm use 1.9.2@icebreaker --create"
21
+ if yes?("Would you like to exit now and create a separate RVM gemset for icebreaker?")
22
+ exit 0
23
+ end
24
+ end
25
+
16
26
  command = "rails new #{project} --skip-active-record --skip-test-unit --skip-prototype --template=#{template} "
17
27
  puts "Creating new Rails 3 project with: #{command}"
18
28
  exec(command)
@@ -1,3 +1,3 @@
1
1
  module IceBreaker
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -14,16 +14,6 @@ def get_remote_https_file(source, destination)
14
14
  File.open(path, "w") { |file| file.write(response.body) }
15
15
  end
16
16
 
17
- # Check for a gemset and warn if none
18
- gemset = `rvm gemset name`.chomp
19
- unless gemset == 'icebreaker'
20
- say "It is recommend that you use a separate RVM gemset called 'icebreaker' when creating a Rails project with IceBreaker. This will keep your system gems clean."
21
- say "You can create it by running this command: rvm use 1.9.2@icebreaker --create"
22
- if yes?("Would you like to exit now and create a separate RVM gemset for icebreaker?")
23
- exit 0
24
- end
25
- end
26
-
27
17
  say "Building Application with IceBreaker..."
28
18
 
29
19
  append_file '.gitignore' do <<-RUBY
data/templates/gemfile.rb CHANGED
@@ -19,6 +19,7 @@ gem "jquery-rails"
19
19
  # Development dependencies
20
20
  # gem 'html5-boilerplate' # TODO: Get html5-boilerplate working
21
21
  gem 'rspec-rails', '2.5.0', :group => [:development]
22
+ gem 'nifty-generators'
22
23
 
23
24
  # Development and test support
24
25
  gem 'factory_girl_rails', :group => [:development, :test]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mark Dillon
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-12 00:00:00 -08:00
17
+ date: 2011-02-15 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -120,6 +120,6 @@ rubyforge_project: icebreaker
120
120
  rubygems_version: 1.3.7
121
121
  signing_key:
122
122
  specification_version: 3
123
- summary: icebreaker-0.0.3
123
+ summary: icebreaker-0.0.4
124
124
  test_files: []
125
125