icebreaker 0.1.6 → 0.1.7

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  IceBreaker
2
2
  ===========
3
- Generate a Rails 3.1 app with the Mongoid ORM (or OM) and RSpec for BDD testing.
3
+ Generate a Rails 3.1.1 app with the Mongoid ORM (or OM) and RSpec for BDD testing.
4
4
 
5
5
 
6
6
  ### What you get
data/bin/ice CHANGED
@@ -1,11 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- # Ensure proper version of Rails is installed
4
- unless `gem which rails`.chomp =~ /3.1.0/
5
- puts "IceBreaker requires rails 3.1 or greater. Please install with the following command and then re-run the ice command:"
6
- puts "$ gem install rails -v 3.1.0 --no-ri --no-rdoc"
7
- exit 0
8
- end
9
3
 
10
4
  $:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib')
11
5
  require 'icebreaker/cli'
data/icebreaker.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.email = ["mdillon@gmail.com"]
10
10
  s.homepage = "http://github.com/markdillon/icebreaker"
11
11
  s.summary = "icebreaker-#{s.version}"
12
- s.description = "Generate a Rails 3.1 app with the Mongoid ORM (or OM) and RSpec for BDD testing."
12
+ s.description = "Generate a Rails 3.1.1 app with the Mongoid ORM (or OM) and RSpec for BDD testing."
13
13
 
14
14
  s.rubyforge_project = "icebreaker"
15
15
 
@@ -6,14 +6,21 @@ module IceBreaker
6
6
  class CLI < Thor
7
7
  include Thor::Actions
8
8
 
9
- desc "new [app]", "Create a new Rails 3.1 application"
9
+ desc "new [app]", "Create a new Rails 3.1.1 application"
10
10
  long_desc <<-D
11
11
  IceBreaker will ask you a few questions to determine what features you
12
- would like to generate. Based on your answers it will setup a new Rails 3.1 application.
12
+ would like to generate. Based on your answers it will setup a new Rails 3.1.1 application.
13
13
  D
14
14
 
15
15
  def new(project)
16
16
 
17
+ # Ensure proper version of Rails is installed
18
+ unless `gem which rails`.chomp =~ /3.1.1/
19
+ puts "IceBreaker requires rails 3.1.1 or greater. Please install with the following command and then re-run the ice command:"
20
+ puts "$ gem install rails -v 3.1.1 --no-ri --no-rdoc"
21
+ exit 0
22
+ end
23
+
17
24
  # Check for a gemset and warn if none
18
25
  gemset = `rvm gemset name`.chomp
19
26
  unless gemset == project
@@ -26,7 +33,7 @@ module IceBreaker
26
33
  end
27
34
 
28
35
  command = "rails new #{project} --skip-active-record --skip-test-unit --template=#{template} "
29
- puts "Creating new Rails 3.1 project with: #{command}"
36
+ puts "Creating new Rails 3.1.1 project with: #{command}"
30
37
  exec(command)
31
38
  end
32
39
 
@@ -1,3 +1,3 @@
1
1
  module IceBreaker
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/templates/gemfile.rb CHANGED
@@ -5,8 +5,8 @@ append_file "Gemfile" do
5
5
 
6
6
  # View Related
7
7
  gem "haml"
8
- gem 'kaminari'
9
- gem 'gravatar_image_tag', '1.0.0.pre2'
8
+ gem "kaminari"
9
+ gem "gravatar_image_tag", "1.0.0.pre2"
10
10
 
11
11
  # Object Mapper
12
12
  gem "mongoid"
@@ -18,9 +18,6 @@ gem "bson_ext"
18
18
  # Authentication
19
19
  gem "omniauth"
20
20
 
21
- # Location Stuff
22
- # gem "simplegeo"
23
-
24
21
  group :development do
25
22
  gem "haml-rails"
26
23
  gem "rspec-rails"
@@ -29,20 +26,21 @@ end
29
26
 
30
27
  group :test do
31
28
  # Pretty printed test output
32
- gem 'turn', :require => false
29
+ gem "turn", :require => false
33
30
  gem "rspec"
34
- gem "webrat"
31
+ gem "capybara"
32
+ gem "launchy"
35
33
  end
36
34
 
37
35
  group :development, :test do
38
- gem 'database_cleaner'
36
+ gem "database_cleaner"
39
37
  gem "factory_girl_rails"
40
38
  gem "faker"
41
39
  end
42
40
 
43
41
  group :production do
44
- gem 'unicorn'
45
- gem 'therubyracer-heroku', '0.8.1.pre3', :group => [:production]
42
+ gem "unicorn"
43
+ gem "therubyracer-heroku", "0.8.1.pre3", :group => [:production]
46
44
  end
47
45
 
48
46
  RUBY
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icebreaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-07 00:00:00.000000000Z
12
+ date: 2011-10-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70239270405620 !ruby/object:Gem::Requirement
16
+ requirement: &70141669665620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70239270405620
24
+ version_requirements: *70141669665620
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70239270405140 !ruby/object:Gem::Requirement
27
+ requirement: &70141669664620 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,9 +32,9 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70239270405140
36
- description: Generate a Rails 3.1 app with the Mongoid ORM (or OM) and RSpec for BDD
37
- testing.
35
+ version_requirements: *70141669664620
36
+ description: Generate a Rails 3.1.1 app with the Mongoid ORM (or OM) and RSpec for
37
+ BDD testing.
38
38
  email:
39
39
  - mdillon@gmail.com
40
40
  executables:
@@ -85,8 +85,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  requirements: []
87
87
  rubyforge_project: icebreaker
88
- rubygems_version: 1.8.6
88
+ rubygems_version: 1.8.10
89
89
  signing_key:
90
90
  specification_version: 3
91
- summary: icebreaker-0.1.6
91
+ summary: icebreaker-0.1.7
92
92
  test_files: []