gunnertechnology 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,9 @@
|
|
1
|
-
class ProjectGenerator < Rails::Generators::
|
1
|
+
class ProjectGenerator < Rails::Generators::Base
|
2
2
|
source_root File.expand_path('../templates', __FILE__)
|
3
|
-
argument :layout_name, :type => :string, :default => "application"
|
4
3
|
argument :devise_model_name, :type => :string, :default => "User"
|
5
4
|
|
6
5
|
def generate_layout
|
7
|
-
template "app/views/layouts/application.html.erb", "app/views/layouts
|
6
|
+
template "app/views/layouts/application.html.erb", "app/views/layouts/application.html.erb"
|
8
7
|
directory "public/javascripts", "public/javascripts"
|
9
8
|
directory "public/stylesheets", "public/stylesheets"
|
10
9
|
directory "public/swfs", "public/swfs"
|
data/lib/gunnertechnology.rb
CHANGED
@@ -2,35 +2,27 @@ module Gunnertechnology
|
|
2
2
|
module Rails
|
3
3
|
class Railtie < ::Rails::Railtie
|
4
4
|
console do
|
5
|
-
|
6
5
|
end
|
7
6
|
|
8
7
|
rake_tasks do
|
9
|
-
|
10
8
|
end
|
11
9
|
|
12
|
-
initializer do
|
13
|
-
|
10
|
+
initializer "name_that_initializer" do
|
14
11
|
end
|
15
12
|
|
16
13
|
generators do
|
17
|
-
|
18
14
|
end
|
19
15
|
|
20
16
|
config.generators do |g|
|
21
|
-
|
22
17
|
end
|
23
18
|
|
24
|
-
config.after_initialize
|
25
|
-
|
19
|
+
config.after_initialize do
|
26
20
|
end
|
27
21
|
|
28
22
|
config.app_middleware do |m|
|
29
|
-
|
30
23
|
end
|
31
24
|
|
32
|
-
|
33
|
-
|
25
|
+
config.before_configuration do
|
34
26
|
end
|
35
27
|
|
36
28
|
config.before_eager_load do
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gunnertechnology
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Cody Swann
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ~>
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 7
|
28
30
|
segments:
|
29
31
|
- 3
|
30
32
|
- 0
|
@@ -39,6 +41,7 @@ dependencies:
|
|
39
41
|
requirements:
|
40
42
|
- - ~>
|
41
43
|
- !ruby/object:Gem::Version
|
44
|
+
hash: 27
|
42
45
|
segments:
|
43
46
|
- 0
|
44
47
|
- 2
|
@@ -54,6 +57,7 @@ dependencies:
|
|
54
57
|
requirements:
|
55
58
|
- - ~>
|
56
59
|
- !ruby/object:Gem::Version
|
60
|
+
hash: 25
|
57
61
|
segments:
|
58
62
|
- 1
|
59
63
|
- 1
|
@@ -69,6 +73,7 @@ dependencies:
|
|
69
73
|
requirements:
|
70
74
|
- - ~>
|
71
75
|
- !ruby/object:Gem::Version
|
76
|
+
hash: 23
|
72
77
|
segments:
|
73
78
|
- 0
|
74
79
|
- 1
|
@@ -84,6 +89,7 @@ dependencies:
|
|
84
89
|
requirements:
|
85
90
|
- - ~>
|
86
91
|
- !ruby/object:Gem::Version
|
92
|
+
hash: 27
|
87
93
|
segments:
|
88
94
|
- 1
|
89
95
|
- 3
|
@@ -99,6 +105,7 @@ dependencies:
|
|
99
105
|
requirements:
|
100
106
|
- - ~>
|
101
107
|
- !ruby/object:Gem::Version
|
108
|
+
hash: 11
|
102
109
|
segments:
|
103
110
|
- 0
|
104
111
|
- 4
|
@@ -184,6 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
184
191
|
requirements:
|
185
192
|
- - ">="
|
186
193
|
- !ruby/object:Gem::Version
|
194
|
+
hash: 3
|
187
195
|
segments:
|
188
196
|
- 0
|
189
197
|
version: "0"
|
@@ -192,13 +200,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
200
|
requirements:
|
193
201
|
- - ">="
|
194
202
|
- !ruby/object:Gem::Version
|
203
|
+
hash: 3
|
195
204
|
segments:
|
196
205
|
- 0
|
197
206
|
version: "0"
|
198
207
|
requirements: []
|
199
208
|
|
200
209
|
rubyforge_project: gunnertechnology
|
201
|
-
rubygems_version: 1.
|
210
|
+
rubygems_version: 1.5.0
|
202
211
|
signing_key:
|
203
212
|
specification_version: 3
|
204
213
|
summary: GT Functionality Packaged as a Gem for Easy Reuse
|