fullstack 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +3 -0
- data/VERSION +1 -1
- data/fullstack.gemspec +4 -1
- data/lib/fullstack.rb +1 -0
- data/lib/generators/fullstack/install_generator.rb +4 -5
- metadata +18 -2
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -136,6 +136,8 @@ GEM
|
|
136
136
|
net-ssh
|
137
137
|
rails (~> 3.0)
|
138
138
|
remotipart (1.0.2)
|
139
|
+
resource-presentation-helpers (0.1.1)
|
140
|
+
rails
|
139
141
|
simple_form (2.0.2)
|
140
142
|
actionpack (~> 3.0)
|
141
143
|
activemodel (~> 3.0)
|
@@ -186,5 +188,6 @@ DEPENDENCIES
|
|
186
188
|
rambler
|
187
189
|
remoting
|
188
190
|
remotipart
|
191
|
+
resource-presentation-helpers
|
189
192
|
simple_form
|
190
193
|
squeel
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.15
|
data/fullstack.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "fullstack"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.15"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["mcasimir"]
|
@@ -54,6 +54,7 @@ Gem::Specification.new do |s|
|
|
54
54
|
s.add_runtime_dependency(%q<has_partial>, [">= 0"])
|
55
55
|
s.add_runtime_dependency(%q<simple_form>, [">= 0"])
|
56
56
|
s.add_runtime_dependency(%q<country_select>, [">= 0"])
|
57
|
+
s.add_runtime_dependency(%q<resource-presentation-helpers>, [">= 0"])
|
57
58
|
s.add_runtime_dependency(%q<rambler>, [">= 0"])
|
58
59
|
s.add_runtime_dependency(%q<rails_config>, [">= 0"])
|
59
60
|
s.add_runtime_dependency(%q<remoting>, [">= 0"])
|
@@ -83,6 +84,7 @@ Gem::Specification.new do |s|
|
|
83
84
|
s.add_dependency(%q<has_partial>, [">= 0"])
|
84
85
|
s.add_dependency(%q<simple_form>, [">= 0"])
|
85
86
|
s.add_dependency(%q<country_select>, [">= 0"])
|
87
|
+
s.add_dependency(%q<resource-presentation-helpers>, [">= 0"])
|
86
88
|
s.add_dependency(%q<rambler>, [">= 0"])
|
87
89
|
s.add_dependency(%q<rails_config>, [">= 0"])
|
88
90
|
s.add_dependency(%q<remoting>, [">= 0"])
|
@@ -113,6 +115,7 @@ Gem::Specification.new do |s|
|
|
113
115
|
s.add_dependency(%q<has_partial>, [">= 0"])
|
114
116
|
s.add_dependency(%q<simple_form>, [">= 0"])
|
115
117
|
s.add_dependency(%q<country_select>, [">= 0"])
|
118
|
+
s.add_dependency(%q<resource-presentation-helpers>, [">= 0"])
|
116
119
|
s.add_dependency(%q<rambler>, [">= 0"])
|
117
120
|
s.add_dependency(%q<rails_config>, [">= 0"])
|
118
121
|
s.add_dependency(%q<remoting>, [">= 0"])
|
data/lib/fullstack.rb
CHANGED
@@ -2,21 +2,20 @@ module Fullstack
|
|
2
2
|
class InstallGenerator < Rails::Generators::Base
|
3
3
|
source_root File.expand_path('../templates', __FILE__)
|
4
4
|
|
5
|
-
#
|
6
|
-
# These options are for levels above to completely customize stubs generated by fullstack
|
7
|
-
#
|
8
5
|
|
6
|
+
# These options are for levels above to completely customize stubs generated by fullstack
|
9
7
|
class_option :host, :default => "remotehost"
|
10
8
|
class_option :user, :default => "ror"
|
11
9
|
class_option :title, :default => "title"
|
12
10
|
class_option :slogan, :default => "slogan"
|
13
11
|
|
12
|
+
# Copy fullstack templates
|
14
13
|
def fullstack_templates
|
15
14
|
directory "config", Rails.root.join("config")
|
16
|
-
|
15
|
+
empty_directory Rails.root.join("lib/support")
|
17
16
|
end
|
18
17
|
|
19
|
-
def
|
18
|
+
def install_devise
|
20
19
|
generate "devise:install"
|
21
20
|
gsub_file('config/initializers/devise.rb', "\"please-change-me-at-config-initializers-devise@example.com\"", "Settings.app.email")
|
22
21
|
generate "remoting:install --host='#{host}' --user='#{user}'"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fullstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -219,6 +219,22 @@ dependencies:
|
|
219
219
|
- - ! '>='
|
220
220
|
- !ruby/object:Gem::Version
|
221
221
|
version: '0'
|
222
|
+
- !ruby/object:Gem::Dependency
|
223
|
+
name: resource-presentation-helpers
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
226
|
+
requirements:
|
227
|
+
- - ! '>='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
222
238
|
- !ruby/object:Gem::Dependency
|
223
239
|
name: rambler
|
224
240
|
requirement: !ruby/object:Gem::Requirement
|
@@ -495,7 +511,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
495
511
|
version: '0'
|
496
512
|
segments:
|
497
513
|
- 0
|
498
|
-
hash: -
|
514
|
+
hash: -1960276782947479922
|
499
515
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
500
516
|
none: false
|
501
517
|
requirements:
|