rails_new 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +34 -34
- data/lib/files/.gitignore.erb +2 -1
- data/lib/files/Gemfile.erb +10 -4
- data/lib/rails_new/version.rb +1 -1
- data/lib/template.rb +4 -0
- data/rails_new.gemspec +1 -1
- metadata +6 -6
data/Gemfile.lock
CHANGED
@@ -1,37 +1,37 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rails_new (0.0.
|
5
|
-
rails (= 3.2.
|
4
|
+
rails_new (0.0.11)
|
5
|
+
rails (= 3.2.12)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionmailer (3.2.
|
11
|
-
actionpack (= 3.2.
|
10
|
+
actionmailer (3.2.12)
|
11
|
+
actionpack (= 3.2.12)
|
12
12
|
mail (~> 2.4.4)
|
13
|
-
actionpack (3.2.
|
14
|
-
activemodel (= 3.2.
|
15
|
-
activesupport (= 3.2.
|
13
|
+
actionpack (3.2.12)
|
14
|
+
activemodel (= 3.2.12)
|
15
|
+
activesupport (= 3.2.12)
|
16
16
|
builder (~> 3.0.0)
|
17
17
|
erubis (~> 2.7.0)
|
18
18
|
journey (~> 1.0.4)
|
19
|
-
rack (~> 1.4.
|
19
|
+
rack (~> 1.4.5)
|
20
20
|
rack-cache (~> 1.2)
|
21
21
|
rack-test (~> 0.6.1)
|
22
22
|
sprockets (~> 2.2.1)
|
23
|
-
activemodel (3.2.
|
24
|
-
activesupport (= 3.2.
|
23
|
+
activemodel (3.2.12)
|
24
|
+
activesupport (= 3.2.12)
|
25
25
|
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.
|
27
|
-
activemodel (= 3.2.
|
28
|
-
activesupport (= 3.2.
|
26
|
+
activerecord (3.2.12)
|
27
|
+
activemodel (= 3.2.12)
|
28
|
+
activesupport (= 3.2.12)
|
29
29
|
arel (~> 3.0.2)
|
30
30
|
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.
|
32
|
-
activemodel (= 3.2.
|
33
|
-
activesupport (= 3.2.
|
34
|
-
activesupport (3.2.
|
31
|
+
activeresource (3.2.12)
|
32
|
+
activemodel (= 3.2.12)
|
33
|
+
activesupport (= 3.2.12)
|
34
|
+
activesupport (3.2.12)
|
35
35
|
i18n (~> 0.6)
|
36
36
|
multi_json (~> 1.0)
|
37
37
|
arel (3.0.2)
|
@@ -41,38 +41,38 @@ GEM
|
|
41
41
|
hike (1.2.1)
|
42
42
|
i18n (0.6.1)
|
43
43
|
journey (1.0.4)
|
44
|
-
json (1.7.
|
44
|
+
json (1.7.7)
|
45
45
|
mail (2.4.4)
|
46
46
|
i18n (>= 0.4.0)
|
47
47
|
mime-types (~> 1.16)
|
48
48
|
treetop (~> 1.4.8)
|
49
|
-
mime-types (1.
|
50
|
-
multi_json (1.
|
49
|
+
mime-types (1.21)
|
50
|
+
multi_json (1.6.0)
|
51
51
|
polyglot (0.3.3)
|
52
|
-
rack (1.4.
|
52
|
+
rack (1.4.5)
|
53
53
|
rack-cache (1.2)
|
54
54
|
rack (>= 0.4)
|
55
|
-
rack-ssl (1.3.
|
55
|
+
rack-ssl (1.3.3)
|
56
56
|
rack
|
57
57
|
rack-test (0.6.2)
|
58
58
|
rack (>= 1.0)
|
59
|
-
rails (3.2.
|
60
|
-
actionmailer (= 3.2.
|
61
|
-
actionpack (= 3.2.
|
62
|
-
activerecord (= 3.2.
|
63
|
-
activeresource (= 3.2.
|
64
|
-
activesupport (= 3.2.
|
59
|
+
rails (3.2.12)
|
60
|
+
actionmailer (= 3.2.12)
|
61
|
+
actionpack (= 3.2.12)
|
62
|
+
activerecord (= 3.2.12)
|
63
|
+
activeresource (= 3.2.12)
|
64
|
+
activesupport (= 3.2.12)
|
65
65
|
bundler (~> 1.0)
|
66
|
-
railties (= 3.2.
|
67
|
-
railties (3.2.
|
68
|
-
actionpack (= 3.2.
|
69
|
-
activesupport (= 3.2.
|
66
|
+
railties (= 3.2.12)
|
67
|
+
railties (3.2.12)
|
68
|
+
actionpack (= 3.2.12)
|
69
|
+
activesupport (= 3.2.12)
|
70
70
|
rack-ssl (~> 1.3.2)
|
71
71
|
rake (>= 0.8.7)
|
72
72
|
rdoc (~> 3.4)
|
73
73
|
thor (>= 0.14.6, < 2.0)
|
74
74
|
rake (10.0.3)
|
75
|
-
rdoc (3.12)
|
75
|
+
rdoc (3.12.1)
|
76
76
|
json (~> 1.4)
|
77
77
|
rspec (2.12.0)
|
78
78
|
rspec-core (~> 2.12.0)
|
@@ -87,7 +87,7 @@ GEM
|
|
87
87
|
multi_json (~> 1.0)
|
88
88
|
rack (~> 1.0)
|
89
89
|
tilt (~> 1.1, != 1.3.0)
|
90
|
-
thor (0.
|
90
|
+
thor (0.17.0)
|
91
91
|
tilt (1.3.3)
|
92
92
|
treetop (1.4.12)
|
93
93
|
polyglot
|
data/lib/files/.gitignore.erb
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
/.bundle
|
9
9
|
|
10
10
|
<%- if database_adapter == 'sqlite3' -%>
|
11
|
-
# Ignore the default SQLite database
|
11
|
+
# Ignore the default SQLite database
|
12
12
|
/db/*.sqlite3
|
13
13
|
<%- end -%>
|
14
14
|
|
@@ -17,6 +17,7 @@
|
|
17
17
|
/tmp
|
18
18
|
|
19
19
|
# Ignore config files
|
20
|
+
/config/application.yml
|
20
21
|
/config/database.yml
|
21
22
|
|
22
23
|
# Ignore docs
|
data/lib/files/Gemfile.erb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
ruby '1.9.3'
|
3
3
|
|
4
|
-
gem 'rails', '3.2.
|
4
|
+
gem 'rails', '3.2.12'
|
5
5
|
gem 'jquery-rails'
|
6
6
|
<%- if @haml -%>
|
7
7
|
gem 'haml-rails'
|
@@ -12,17 +12,23 @@ gem 'therubyracer'
|
|
12
12
|
gem 'less-rails'
|
13
13
|
gem 'twitter-bootstrap-rails'
|
14
14
|
<%- end -%>
|
15
|
+
<%- if @pt_br_locales -%>
|
16
|
+
gem 'rails-i18n'
|
17
|
+
<%- end -%>
|
15
18
|
|
16
19
|
group :development do
|
20
|
+
gem 'annotate'
|
17
21
|
gem 'better_errors'
|
22
|
+
# gem 'binding_of_caller'
|
18
23
|
gem 'thin'
|
24
|
+
gem 'meta_request'
|
19
25
|
end
|
20
26
|
|
21
27
|
group :development, :test do
|
22
|
-
gem 'pry'
|
23
|
-
gem 'awesome_print'
|
28
|
+
gem 'pry-meta'
|
24
29
|
end
|
25
30
|
|
31
|
+
<%- if @test_gems -%>
|
26
32
|
group :test do
|
27
33
|
gem 'capybara'
|
28
34
|
gem 'factory_girl_rails'
|
@@ -31,9 +37,9 @@ group :test do
|
|
31
37
|
gem 'rspec-rails'
|
32
38
|
gem 'simplecov', require: false
|
33
39
|
end
|
40
|
+
<%- end -%>
|
34
41
|
|
35
42
|
group :assets do
|
36
|
-
# gem 'sass-rails', '~> 3.2.3'
|
37
43
|
gem 'coffee-rails', '~> 3.2.1'
|
38
44
|
gem 'uglifier', '>= 1.0.3'
|
39
45
|
end
|
data/lib/rails_new/version.rb
CHANGED
data/lib/template.rb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# generate(:scaffold, "person name:string")
|
2
|
+
# route "root to: 'people#index'"
|
3
|
+
|
1
4
|
def yes?(question)
|
2
5
|
return true unless @customized
|
3
6
|
|
@@ -58,6 +61,7 @@ end
|
|
58
61
|
@create_commits = yes? 'Create first git commits?'
|
59
62
|
@static_pages = yes? 'Create static pages?'
|
60
63
|
@haml = yes? 'Use HAML?'
|
64
|
+
@test_gems = yes? 'Include test gems?'
|
61
65
|
@pt_br_locales = yes? 'Use brazilian portuguese locale (I18n)?'
|
62
66
|
@twitter_bootstrap = yes? 'Install and configure Twitter Bootstrap Rails gem?'
|
63
67
|
# @devise = yes? 'Install and configure Devise gem?'
|
data/rails_new.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.summary = %q{Bootstrap for Rails projects - Customizable Rails template with Twitter Bootstrap, Devise and more!}
|
13
13
|
gem.homepage = 'https://github.com/lucascaton/rails_new'
|
14
14
|
|
15
|
-
gem.add_dependency 'rails', '3.2.
|
15
|
+
gem.add_dependency 'rails', '3.2.12'
|
16
16
|
gem.add_development_dependency 'rspec'
|
17
17
|
|
18
18
|
gem.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_new
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.
|
21
|
+
version: 3.2.12
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.
|
29
|
+
version: 3.2.12
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rspec
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
segments:
|
101
101
|
- 0
|
102
|
-
hash:
|
102
|
+
hash: 1733067017375478711
|
103
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
104
|
none: false
|
105
105
|
requirements:
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
segments:
|
110
110
|
- 0
|
111
|
-
hash:
|
111
|
+
hash: 1733067017375478711
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
114
|
rubygems_version: 1.8.24
|