gunnertechnology 0.0.22 → 0.1.0

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.
@@ -1,6 +1,6 @@
1
1
  module Gunnertechnology
2
2
  module Generators
3
- class GemsGenerator < Rails::Generators::Base
3
+ class GemsGenerator < ::Rails::Generators::Base
4
4
  def generate_gem_dependencies
5
5
  gsub_file("Gemfile",/gem 'sqlite3'/,"")
6
6
 
@@ -10,17 +10,17 @@ module Gunnertechnology
10
10
  gem "mini_fb", "1.1.7"
11
11
  gem "twitter", "1.0.0"
12
12
  gem "foursquare", "0.3.4"
13
- gem "devise", "1.1.5"
13
+ gem "devise", ">= 1.1.5"
14
14
  gem "omniauth", "0.1.6"
15
15
  gem "rmagick", ">= 2.12.2"
16
- gem "simple_form", "1.3.0"
16
+ gem "simple_form", ">= 1.3.0"
17
17
  gem "inherited_resources", "1.1.2"
18
18
  gem "delayed_job", "2.1.3"
19
19
  gem "mislav-will_paginate", "2.3.11", :require => "will_paginate"
20
20
  gem "jquery-rails", ">= 0.2.6"
21
21
  gem "paperclip", "2.3.8"
22
22
  gem "mysql2", ">= 0.2.6"
23
- gem "gunnertechnology", ">= 0.0.22"
23
+ gem "gunnertechnology", ">= 0.1.0"
24
24
 
25
25
  gem "sqlite3-ruby", "1.3.2", :require => "sqlite3", :groups => [:development,:test]
26
26
  gem "rspec-rails", ">= 2.5.0", :groups => [:development,:test]
@@ -38,11 +38,9 @@ module Gunnertechnology
38
38
 
39
39
  gem "capistrano", "2.5.19", :group => "development"
40
40
  gem "heroku", "> 1.15.1", :group => "development"
41
- gem "heroku_san_gt", ">= 1.0.8", :group => "development"
41
+ gem 'heroku-rails', :group => "development"
42
42
  gem "rails3-generators", "0.17.0", :group => "development"
43
43
  gem "nifty-generators", ">= 0.4.2", :group => "development"
44
-
45
- run 'bundle install'
46
44
  end
47
45
  end
48
46
  end
@@ -1,7 +1,7 @@
1
1
  module Gunnertechnology
2
2
  module Generators
3
- class ProjectGenerator < Rails::Generators::Base
4
- include Rails::Generators::Migration
3
+ class ProjectGenerator < ::Rails::Generators::Base
4
+ include ::Rails::Generators::Migration
5
5
 
6
6
  source_root File.expand_path('../templates', __FILE__)
7
7
  argument :devise_model_name, :type => :string, :default => "User"
@@ -43,73 +43,9 @@ module Gunnertechnology
43
43
  end
44
44
  end
45
45
 
46
- def generate_gem_dependencies
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.21"
66
-
67
- gem "sqlite3-ruby", "1.3.2", :require => "sqlite3", :groups => [:development,:test]
68
- gem "rspec-rails", ">= 2.5.0", :groups => [:development,:test]
69
- gem "cucumber-rails", ">= 0.3.2", :groups => [:development,:test]
70
- gem "cucumber", ">= 0.10.0", :groups => [:development,:test]
71
-
72
- gem "autotest", "4.4.6", :group => "test"
73
- gem "autotest-rails", "4.1.0", :group => "test"
74
- gem "capybara", "0.4.1.1", :group => "test"
75
- gem "launchy", "0.3.7", :group => "test"
76
- gem "database_cleaner", "0.6.0", :group => "test"
77
- gem "spork", "0.8.4", :group => "test"
78
- gem "factory_girl", "1.3.2", :group => "test"
79
-
80
-
81
- gem "capistrano", "2.5.19", :group => "development"
82
- gem "heroku", "> 1.15.1", :group => "development"
83
- gem "heroku_san_gt", ">= 1.0.8", :group => "development"
84
- gem "rails3-generators", "0.17.0", :group => "development"
85
- gem "nifty-generators", ">= 0.4.2", :group => "development"
86
-
87
- run 'bundle install'
88
- end
89
-
90
46
  def generate_heroku_setup
91
47
  template('config/heroku.yml','config/heroku.yml')
92
- rake("all heroku:create heroku:rack_env")
93
-
94
- run("heroku addons:add ssl:piggyback --app #{project_name}-staging")
95
- run("heroku addons:add cron:daily --app #{project_name}-staging")
96
- run("heroku addons:add custom_error_pages --app #{project_name}-staging")
97
- run("heroku addons:add custom_domains:basic --app #{project_name}-staging")
98
- run("heroku addons:add deployhooks:email --app #{project_name}-staging")
99
- run("heroku addons:add exceptional:basic --app #{project_name}-staging")
100
- run("heroku addons:add memcache:5mb --app #{project_name}-staging")
101
- run("heroku addons:add pgbackups:basic --app #{project_name}-staging")
102
- run("heroku addons:add sendgrid:free --app #{project_name}-staging")
103
-
104
- run("heroku addons:add ssl:piggyback --app #{project_name}")
105
- run("heroku addons:add cron:daily --app #{project_name}")
106
- run("heroku addons:add custom_error_pages --app #{project_name}")
107
- run("heroku addons:add custom_domains:basic --app #{project_name}")
108
- run("heroku addons:add deployhooks:email --app #{project_name}")
109
- run("heroku addons:add exceptional:basic --app #{project_name}")
110
- run("heroku addons:add memcache:5mb --app #{project_name}")
111
- run("heroku addons:add pgbackups:basic --app #{project_name}")
112
- run("heroku addons:add sendgrid:free --app #{project_name}")
48
+ rake("all heroku:setup")
113
49
  end
114
50
 
115
51
  def generate_layout
@@ -187,7 +123,7 @@ module Gunnertechnology
187
123
 
188
124
  private
189
125
  def project_name
190
- Rails.root.to_s.split('/').last
126
+ ::Rails.root.to_s.split('/').last
191
127
  end
192
128
  end
193
129
  end
@@ -1,3 +1,43 @@
1
1
  apps:
2
2
  production: <%= project_name %>
3
- staging: <%= project_name %>-staging
3
+ staging: <%= project_name %>-staging
4
+
5
+ stacks:
6
+ all: bamboo-mri-1.9.2
7
+
8
+ config:
9
+ all:
10
+ BUNDLE_WITHOUT: "test:development"
11
+
12
+ collaborators:
13
+ all:
14
+ - "cody@gunnertech.com"
15
+ - "dary.merckens@gmail.com"
16
+
17
+ domains:
18
+ staging:
19
+ - "staging.<%= project_name %>.com"
20
+ - "www.staging.<%= project_name %>.com"
21
+
22
+ production:
23
+ - "<%= project_name %>.com"
24
+ - "www.<%= project_name %>.com"
25
+
26
+ addons:
27
+ all:
28
+ - newrelic:bronze
29
+ - ssl:piggyback
30
+ - cron:daily
31
+ - custom_error_pages
32
+ - custom_domains:basic
33
+ - deployhooks:email
34
+ - exceptional:basic
35
+ - memcache:5mb
36
+ - pgbackups:basic
37
+ - sendgrid:free
38
+
39
+ production:
40
+ - ssl:piggyback
41
+
42
+
43
+
@@ -1,3 +1,3 @@
1
1
  module Gunnertechnology
2
- VERSION = "0.0.22"
2
+ VERSION = "0.1.0"
3
3
  end
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: 51
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 22
10
- version: 0.0.22
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Cody Swann