gunnertechnology 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +36 -0
- data/lib/generators/project/project_generator.rb +4 -47
- data/lib/gunnertechnology/version.rb +1 -1
- metadata +3 -3
data/Gemfile
CHANGED
@@ -2,3 +2,39 @@ source "http://rubygems.org"
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in gunnertechnology.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
gem "aws-s3", "0.6.2", :require => "aws/s3"
|
7
|
+
gem "flickr_fu", "0.3.0"
|
8
|
+
gem "mini_fb", "1.1.7"
|
9
|
+
gem "twitter", "1.0.0"
|
10
|
+
gem "foursquare", "0.3.4"
|
11
|
+
gem "devise", "1.1.5"
|
12
|
+
gem "omniauth", "0.1.6"
|
13
|
+
gem "rmagick", ">= 2.12.2"
|
14
|
+
gem "simple_form", "1.3.0"
|
15
|
+
gem "inherited_resources", "1.1.2"
|
16
|
+
gem "delayed_job", "2.1.3"
|
17
|
+
gem "mislav-will_paginate", "2.3.11", :require => "will_paginate"
|
18
|
+
gem "jquery-rails", "0.2.6"
|
19
|
+
gem "paperclip", "2.3.8"
|
20
|
+
gem "mysql2", ">= 0.2.6"
|
21
|
+
|
22
|
+
gem "sqlite3-ruby", "1.3.2", :require => "sqlite3", :groups => [:development,:test]
|
23
|
+
gem "rspec-rails", ">= 2.5.0", :groups => [:development,:test]
|
24
|
+
gem "cucumber-rails", ">= 0.3.2", :groups => [:development,:test]
|
25
|
+
gem "cucumber", ">= 0.10.0", :groups => [:development,:test]
|
26
|
+
|
27
|
+
gem "autotest", "4.4.6", :group => "test"
|
28
|
+
gem "autotest-rails", "4.1.0", :group => "test"
|
29
|
+
gem "capybara", "0.4.1.1", :group => "test"
|
30
|
+
gem "launchy", "0.3.7", :group => "test"
|
31
|
+
gem "database_cleaner", "0.6.0", :group => "test"
|
32
|
+
gem "spork", "0.8.4", :group => "test"
|
33
|
+
gem "factory_girl", "1.3.2", :group => "test"
|
34
|
+
|
35
|
+
|
36
|
+
gem "capistrano", "2.5.19", :group => "development"
|
37
|
+
gem "heroku", "> 1.15.1", :group => "development"
|
38
|
+
gem "heroku_san_gt", ">= 1.0.8", :group => "development"
|
39
|
+
gem "rails3-generators", "0.17.0", :group => "development"
|
40
|
+
gem "nifty-generators", ">= 0.4.2", :group => "development"
|
@@ -45,53 +45,6 @@ class ProjectGenerator < Rails::Generators::Base
|
|
45
45
|
|
46
46
|
def generate_gem_dependencies
|
47
47
|
gsub_file("Gemfile",/gem 'sqlite3'/,"")
|
48
|
-
|
49
|
-
gem "rails", "3.0.4"
|
50
|
-
gem "aws-s3", "0.6.2", :require => "aws/s3"
|
51
|
-
gem "flickr_fu", "0.3.0"
|
52
|
-
gem "mini_fb", "1.1.7"
|
53
|
-
gem "twitter", "1.0.0"
|
54
|
-
gem "foursquare", "0.3.4"
|
55
|
-
gem "devise", "1.1.5"
|
56
|
-
gem "omniauth", "0.1.6"
|
57
|
-
gem "rmagick", ">= 2.12.2"
|
58
|
-
gem "simple_form", "1.3.0"
|
59
|
-
gem "inherited_resources", "1.1.2"
|
60
|
-
gem "delayed_job", "2.1.3"
|
61
|
-
gem "mislav-will_paginate", "2.3.11", :require => "will_paginate"
|
62
|
-
gem "jquery-rails", "0.2.6"
|
63
|
-
gem "paperclip", "2.3.8"
|
64
|
-
gem "mysql2", ">= 0.2.6"
|
65
|
-
gem 'gunnertechnology', ">= 0.0.18"
|
66
|
-
|
67
|
-
gem("sqlite3-ruby", :group => "test", :version => "1.3.2")
|
68
|
-
gem("sqlite3-ruby", :group => "development", :version => "1.3.2")
|
69
|
-
gem("rspec-rails", :group => "test", :version => ">= 2.5.0")
|
70
|
-
gem("rspec-rails", :group => "development", :version => ">= 2.5.0")
|
71
|
-
gem("cucumber-rails", :group => "test", :version => ">= 0.3.2")
|
72
|
-
gem("cucumber-rails", :group => "development", :version => ">= 0.3.2")
|
73
|
-
gem("cucumber", :group => "test", :version => ">= 0.10.0")
|
74
|
-
gem("cucumber", :group => "development", :version => ">= 0.10.0")
|
75
|
-
|
76
|
-
|
77
|
-
gem("autotest", :group => "test", :version => "4.4.6")
|
78
|
-
gem("autotest-rails", :group => "test", :version => "4.1.0")
|
79
|
-
gem("capybara", :group => "test", :version => "0.4.1.1")
|
80
|
-
gem("launchy", :group => "test", :version => "0.3.7")
|
81
|
-
gem("database_cleaner", :group => "test", :version => "0.6.0")
|
82
|
-
gem("spork", :group => "test", :version => "0.8.4")
|
83
|
-
gem("factory_girl", :group => "test", :version => "1.3.2")
|
84
|
-
|
85
|
-
gem("capistrano", :group => "development", :version => "2.5.19")
|
86
|
-
gem("heroku", :group => "development", :version => "> 1.15.1")
|
87
|
-
gem("heroku_san_gt", :group => "development", :version => ">= 1.0.8")
|
88
|
-
gem("rails3-generators", :group => "development", :version => "0.17.0")
|
89
|
-
gem("nifty-generators", :group => "development")
|
90
|
-
|
91
|
-
# Bundler.require(:default, :development)
|
92
|
-
# Bundler.require(:default, :test)
|
93
|
-
# run 'bundle install'
|
94
|
-
Bundler::Installer.install(Bundler.root, Bundler.definition, {})
|
95
48
|
end
|
96
49
|
|
97
50
|
def generate_heroku_setup
|
@@ -119,6 +72,10 @@ class ProjectGenerator < Rails::Generators::Base
|
|
119
72
|
run("heroku addons:add sendgrid:free --app #{project_name}")
|
120
73
|
end
|
121
74
|
|
75
|
+
def generate_rails_app
|
76
|
+
run("gem install --no-ri --no-rdoc rails --version '3.0.4'")
|
77
|
+
end
|
78
|
+
|
122
79
|
def generate_layout
|
123
80
|
template "app/views/layouts/application.html.erb", "app/views/layouts/application.html.erb"
|
124
81
|
copy_file "app/helpers/gunner_technology_helper.rb", "app/helpers/gunner_technology_helper.rb"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gunnertechnology
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 57
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 19
|
10
|
+
version: 0.0.19
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Cody Swann
|