Skip to content

Commit

Permalink
Use latest gems
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Aug 3, 2011
1 parent 2f8ba35 commit bc1f039
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -10,7 +10,7 @@ end

group :example do
gem 'activerecord', '~> 3.0.9'
gem 'mysql2'
gem 'mysql2', '~> 0.2.11'

gem 'em-http-request'
gem 'em-synchrony'
Expand Down
39 changes: 20 additions & 19 deletions Gemfile.lock
Expand Up @@ -3,14 +3,13 @@ PATH
specs:
cramp (0.13)
activesupport (~> 3.0.9)
eventmachine (~> 0.12.10)
rack (~> 1.2.1)
eventmachine (~> 1.0.0.beta.3)
rack (~> 1.2.2)
thor (~> 0.14.6)

GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
activemodel (3.0.9)
activesupport (= 3.0.9)
builder (~> 2.1.2)
Expand All @@ -21,42 +20,44 @@ GEM
arel (~> 2.0.10)
tzinfo (~> 0.3.23)
activesupport (3.0.9)
addressable (2.2.4)
addressable (2.2.6)
arel (2.0.10)
builder (2.1.2)
daemons (1.1.0)
daemons (1.1.4)
em-http-request (0.3.0)
addressable (>= 2.0.0)
escape_utils
eventmachine (>= 0.12.9)
em-synchrony (0.2.0)
eventmachine (>= 0.12.9)
erubis (2.6.6)
abstract (>= 1.0.0)
escape_utils (0.2.0)
eventmachine (0.12.10)
http_router (0.5.3)
erubis (2.7.0)
escape_utils (0.2.3)
eventmachine (1.0.0.beta.3)
http_router (0.10.0)
rack (>= 1.0.0)
url_mount (~> 0.2.1)
i18n (0.5.0)
kgio (2.3.2)
mysql2 (0.2.6)
rack (1.2.1)
rainbows (3.1.0)
kgio (2.6.0)
mysql2 (0.3.6)
rack (1.2.3)
rainbows (4.1.0)
kgio (~> 2.5)
rack (~> 1.1)
unicorn (~> 3.4)
thin (1.2.7)
unicorn (~> 4.0)
raindrops (0.7.0)
thin (1.2.11)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tzinfo (0.3.29)
unicorn (3.4.0)
kgio (~> 2.2)
unicorn (4.0.1)
kgio (~> 2.4)
rack
raindrops (~> 0.6)
url_mount (0.2.1)
rack
yajl-ruby (0.8.1)
yajl-ruby (0.8.2)

PLATFORMS
ruby
Expand Down
7 changes: 5 additions & 2 deletions cramp.gemspec
Expand Up @@ -9,9 +9,12 @@ Gem::Specification.new do |s|
s.email = 'pratiknaik@gmail.com'
s.homepage = 'http://m.onkey.org'

# Not in a very distant future
# s.required_ruby_version = '>=1.9.2'

s.add_dependency('activesupport', '~> 3.0.9')
s.add_dependency('rack', '~> 1.2.1')
s.add_dependency('eventmachine', '~> 0.12.10')
s.add_dependency('rack', '~> 1.2.2')
s.add_dependency('eventmachine', '~> 1.0.0.beta.3')
s.add_dependency('thor', '~> 0.14.6')

s.files = Dir['README', 'MIT-LICENSE', 'lib/**/*', 'bin/**/*']
Expand Down
4 changes: 2 additions & 2 deletions lib/cramp/generators/templates/application/Gemfile
Expand Up @@ -10,10 +10,10 @@ gem 'http_router'

# For async Active Record models
<% if active_record? -%>
gem 'mysql2', '~> 0.2.7'
gem 'mysql2', '~> 0.2.11'
gem 'activerecord'
<% else -%>
# gem 'mysql2', '~> 0.2.7'
# gem 'mysql2', '~> 0.2.11'
# gem 'activerecord'
<% end -%>
Expand Down

0 comments on commit bc1f039

Please sign in to comment.