File tree Expand file tree Collapse file tree 13 files changed +148
-1
lines changed Expand file tree Collapse file tree 13 files changed +148
-1
lines changed Original file line number Diff line number Diff line change 7
7
8
8
# jquery-rails is used by the dummy application
9
9
gem "jquery-rails"
10
-
10
+ gem 'sqlite3'
Original file line number Diff line number Diff line change 2
2
remote: .
3
3
specs:
4
4
vision (0.0.1 )
5
+ bootstrap-kaminari-views
6
+ cancan
7
+ carrierwave
8
+ devise
9
+ haml-rails
10
+ has_scope
11
+ inherited_resources
12
+ jquery-rails
13
+ jquery-ui-rails
14
+ kaminari
15
+ mini_magick
5
16
rails (~> 3.2.11 )
17
+ redactor-rails
18
+ simple-navigation
19
+ simple_form
20
+ simple_form_fancy_uploads
21
+ twitter-bootstrap-rails
6
22
7
23
GEM
8
24
remote: http://rubygems.org/
35
51
i18n (~> 0.6 )
36
52
multi_json (~> 1.0 )
37
53
arel (3.0.2 )
54
+ bcrypt-ruby (3.0.1 )
55
+ bootstrap-kaminari-views (0.0.2 )
56
+ kaminari (>= 0.13 )
57
+ rails (>= 3.1 )
38
58
builder (3.0.4 )
59
+ cancan (1.6.9 )
60
+ carrierwave (0.8.0 )
61
+ activemodel (>= 3.2.0 )
62
+ activesupport (>= 3.2.0 )
63
+ devise (2.2.2 )
64
+ bcrypt-ruby (~> 3.0 )
65
+ orm_adapter (~> 0.1 )
66
+ railties (~> 3.1 )
67
+ warden (~> 1.2.1 )
39
68
erubis (2.7.0 )
69
+ execjs (1.4.0 )
70
+ multi_json (~> 1.0 )
71
+ haml (3.1.7 )
72
+ haml-rails (0.3.5 )
73
+ actionpack (>= 3.1 , < 4.1 )
74
+ activesupport (>= 3.1 , < 4.1 )
75
+ haml (~> 3.1 )
76
+ railties (>= 3.1 , < 4.1 )
77
+ has_scope (0.5.1 )
40
78
hike (1.2.1 )
41
79
i18n (0.6.1 )
80
+ inherited_resources (1.3.1 )
81
+ has_scope (~> 0.5.0 )
82
+ responders (~> 0.6 )
42
83
journey (1.0.4 )
43
84
jquery-rails (2.2.0 )
44
85
railties (>= 3.0 , < 5.0 )
45
86
thor (>= 0.14 , < 2.0 )
87
+ jquery-ui-rails (4.0.0 )
88
+ jquery-rails
89
+ railties (>= 3.1.0 )
46
90
json (1.7.6 )
91
+ kaminari (0.14.1 )
92
+ actionpack (>= 3.0.0 )
93
+ activesupport (>= 3.0.0 )
47
94
mail (2.4.4 )
48
95
i18n (>= 0.4.0 )
49
96
mime-types (~> 1.16 )
50
97
treetop (~> 1.4.8 )
51
98
mime-types (1.20.1 )
99
+ mini_magick (3.4 )
100
+ subexec (~> 0.2.1 )
52
101
multi_json (1.5.0 )
102
+ orm_adapter (0.4.0 )
53
103
polyglot (0.3.3 )
54
104
rack (1.4.4 )
55
105
rack-cache (1.2 )
76
126
rake (10.0.3 )
77
127
rdoc (3.12 )
78
128
json (~> 1.4 )
129
+ redactor-rails (0.3.3 )
130
+ devise
131
+ mime-types
132
+ orm_adapter
133
+ responders (0.9.3 )
134
+ railties (~> 3.1 )
135
+ simple-navigation (3.9.0 )
136
+ activesupport (>= 2.3.2 )
137
+ simple_form (2.0.4 )
138
+ actionpack (~> 3.0 )
139
+ activemodel (~> 3.0 )
140
+ simple_form_fancy_uploads (0.0.2 )
141
+ carrierwave
142
+ rails (~> 3.2.1 )
143
+ simple_form (~> 2.0.1 )
79
144
sprockets (2.2.2 )
80
145
hike (~> 1.2 )
81
146
multi_json (~> 1.0 )
82
147
rack (~> 1.0 )
83
148
tilt (~> 1.1 , != 1.3.0 )
84
149
sqlite3 (1.3.7 )
150
+ subexec (0.2.2 )
85
151
thor (0.17.0 )
86
152
tilt (1.3.3 )
87
153
treetop (1.4.12 )
88
154
polyglot
89
155
polyglot (>= 0.3.1 )
156
+ twitter-bootstrap-rails (2.2.0 )
157
+ actionpack (>= 3.1 )
158
+ execjs
159
+ railties (>= 3.1 )
90
160
tzinfo (0.3.35 )
161
+ warden (1.2.1 )
162
+ rack (>= 1.0 )
91
163
92
164
PLATFORMS
93
165
ruby
Original file line number Diff line number Diff line change
1
+ source "http://rubygems.org"
2
+
3
+ # Declare your gem's dependencies in vision.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # jquery-rails is used by the dummy application
9
+ gem "jquery-rails"
10
+
Original file line number Diff line number Diff line change
1
+ Description:
2
+ Explain the generator
3
+
4
+ Example:
5
+ rails generate install Thing
6
+
7
+ This will create:
8
+ what/will/it/create
Original file line number Diff line number Diff line change
1
+ class Vision ::Generators ::InstallGenerator < Rails ::Generators ::Base
2
+ source_root File . expand_path ( '../templates' , __FILE__ )
3
+ def copy_config_files
4
+ copy_file 'vision_navigation.rb' , 'config/vision_navigation.rb'
5
+ end
6
+ end
Original file line number Diff line number Diff line change
1
+ class Vision::InstallGenerator < Rails::Generators::Base
2
+ source_root File.expand_path('../templates', __FILE__)
3
+ def copy_config_files
4
+ copy_file 'vision_navigation.rb', 'config/vision_navigation.rb'
5
+ end
6
+ end
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ class InstallGenerator < Rails::Generators::Base
2
+ source_root File.expand_path("../templates", __FILE__)
3
+
4
+ def install
5
+ copy_file "vision_navigation.rb", "config/templates/vision_navigation.rb"
6
+ end
7
+ end
Original file line number Diff line number Diff line change
1
+ Description:
2
+ Explain the generator
3
+
4
+ Example:
5
+ rails generate install Thing
6
+
7
+ This will create:
8
+ what/will/it/create
Original file line number Diff line number Diff line change
1
+ class Vision ::Generators ::InstallGenerator < Rails ::Generators ::Base
2
+ source_root File . expand_path ( '../templates' , __FILE__ )
3
+ def copy_config_files
4
+ copy_file 'vision_navigation.rb' , 'config/vision_navigation.rb'
5
+ end
6
+ end
You can’t perform that action at this time.
0 commit comments