rails_new 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5d428f0648583d9a85c7e8a8bb51f83845b4078c
4
+ data.tar.gz: 2997236fd5dead1c89d29ef921a58f457599b206
5
+ SHA512:
6
+ metadata.gz: a94c48a9cffb7aeabd03074989ff04f2cdf8f82198bc0e0fdf9df05e7369dd0e40b04b8722df13fb77a079e950e0e2b7b324300c1ab8ee8b8e6dd3d83e066bf5
7
+ data.tar.gz: 141bad2240bec5966c793fc9ca135c7c7ec2e098355eab10e12494e33e6c985f5a685af24d3c0a5779827e2abedb3cfb9c88c90b9e7cb0742d8975f3524ef90a
data/Gemfile.lock CHANGED
@@ -1,79 +1,67 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_new (0.0.12)
5
- rails (= 3.2.13)
4
+ rails_new (0.0.13)
5
+ rails (= 4.0.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionmailer (3.2.13)
11
- actionpack (= 3.2.13)
12
- mail (~> 2.5.3)
13
- actionpack (3.2.13)
14
- activemodel (= 3.2.13)
15
- activesupport (= 3.2.13)
16
- builder (~> 3.0.0)
10
+ actionmailer (4.0.1)
11
+ actionpack (= 4.0.1)
12
+ mail (~> 2.5.4)
13
+ actionpack (4.0.1)
14
+ activesupport (= 4.0.1)
15
+ builder (~> 3.1.0)
17
16
  erubis (~> 2.7.0)
18
- journey (~> 1.0.4)
19
- rack (~> 1.4.5)
20
- rack-cache (~> 1.2)
21
- rack-test (~> 0.6.1)
22
- sprockets (~> 2.2.1)
23
- activemodel (3.2.13)
24
- activesupport (= 3.2.13)
25
- builder (~> 3.0.0)
26
- activerecord (3.2.13)
27
- activemodel (= 3.2.13)
28
- activesupport (= 3.2.13)
29
- arel (~> 3.0.2)
30
- tzinfo (~> 0.3.29)
31
- activeresource (3.2.13)
32
- activemodel (= 3.2.13)
33
- activesupport (= 3.2.13)
34
- activesupport (3.2.13)
35
- i18n (= 0.6.1)
36
- multi_json (~> 1.0)
37
- arel (3.0.2)
38
- builder (3.0.4)
17
+ rack (~> 1.5.2)
18
+ rack-test (~> 0.6.2)
19
+ activemodel (4.0.1)
20
+ activesupport (= 4.0.1)
21
+ builder (~> 3.1.0)
22
+ activerecord (4.0.1)
23
+ activemodel (= 4.0.1)
24
+ activerecord-deprecated_finders (~> 1.0.2)
25
+ activesupport (= 4.0.1)
26
+ arel (~> 4.0.0)
27
+ activerecord-deprecated_finders (1.0.3)
28
+ activesupport (4.0.1)
29
+ i18n (~> 0.6, >= 0.6.4)
30
+ minitest (~> 4.2)
31
+ multi_json (~> 1.3)
32
+ thread_safe (~> 0.1)
33
+ tzinfo (~> 0.3.37)
34
+ arel (4.0.1)
35
+ atomic (1.1.14)
36
+ builder (3.1.4)
39
37
  diff-lcs (1.1.3)
40
38
  erubis (2.7.0)
41
- hike (1.2.1)
42
- i18n (0.6.1)
43
- journey (1.0.4)
44
- json (1.7.7)
45
- mail (2.5.3)
46
- i18n (>= 0.4.0)
39
+ hike (1.2.3)
40
+ i18n (0.6.5)
41
+ mail (2.5.4)
47
42
  mime-types (~> 1.16)
48
43
  treetop (~> 1.4.8)
49
- mime-types (1.21)
50
- multi_json (1.7.1)
44
+ mime-types (1.25)
45
+ minitest (4.7.5)
46
+ multi_json (1.8.2)
51
47
  polyglot (0.3.3)
52
- rack (1.4.5)
53
- rack-cache (1.2)
54
- rack (>= 0.4)
55
- rack-ssl (1.3.3)
56
- rack
48
+ rack (1.5.2)
57
49
  rack-test (0.6.2)
58
50
  rack (>= 1.0)
59
- rails (3.2.13)
60
- actionmailer (= 3.2.13)
61
- actionpack (= 3.2.13)
62
- activerecord (= 3.2.13)
63
- activeresource (= 3.2.13)
64
- activesupport (= 3.2.13)
65
- bundler (~> 1.0)
66
- railties (= 3.2.13)
67
- railties (3.2.13)
68
- actionpack (= 3.2.13)
69
- activesupport (= 3.2.13)
70
- rack-ssl (~> 1.3.2)
51
+ rails (4.0.1)
52
+ actionmailer (= 4.0.1)
53
+ actionpack (= 4.0.1)
54
+ activerecord (= 4.0.1)
55
+ activesupport (= 4.0.1)
56
+ bundler (>= 1.3.0, < 2.0)
57
+ railties (= 4.0.1)
58
+ sprockets-rails (~> 2.0.0)
59
+ railties (4.0.1)
60
+ actionpack (= 4.0.1)
61
+ activesupport (= 4.0.1)
71
62
  rake (>= 0.8.7)
72
- rdoc (~> 3.4)
73
- thor (>= 0.14.6, < 2.0)
74
- rake (10.0.3)
75
- rdoc (3.12.2)
76
- json (~> 1.4)
63
+ thor (>= 0.18.1, < 2.0)
64
+ rake (10.1.0)
77
65
  rspec (2.12.0)
78
66
  rspec-core (~> 2.12.0)
79
67
  rspec-expectations (~> 2.12.0)
@@ -82,17 +70,23 @@ GEM
82
70
  rspec-expectations (2.12.0)
83
71
  diff-lcs (~> 1.1.3)
84
72
  rspec-mocks (2.12.0)
85
- sprockets (2.2.2)
73
+ sprockets (2.10.0)
86
74
  hike (~> 1.2)
87
75
  multi_json (~> 1.0)
88
76
  rack (~> 1.0)
89
77
  tilt (~> 1.1, != 1.3.0)
90
- thor (0.17.0)
91
- tilt (1.3.6)
92
- treetop (1.4.12)
78
+ sprockets-rails (2.0.1)
79
+ actionpack (>= 3.0)
80
+ activesupport (>= 3.0)
81
+ sprockets (~> 2.8)
82
+ thor (0.18.1)
83
+ thread_safe (0.1.3)
84
+ atomic
85
+ tilt (1.4.1)
86
+ treetop (1.4.15)
93
87
  polyglot
94
88
  polyglot (>= 0.3.1)
95
- tzinfo (0.3.37)
89
+ tzinfo (0.3.38)
96
90
 
97
91
  PLATFORMS
98
92
  ruby
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
- ## About
1
+ # rails_new
2
2
 
3
3
  Bootstrap for Rails projects - Customizable Rails template with Twitter Bootstrap, Devise and more!
4
4
 
5
- ### Required Rails version
5
+ ### Current Rails version
6
6
 
7
- 3.2.11
7
+ 4.0.1
8
8
 
9
9
  ## Installation
10
10
 
@@ -14,7 +14,7 @@ Bootstrap for Rails projects - Customizable Rails template with Twitter Bootstra
14
14
 
15
15
  rails_new project_name
16
16
 
17
- After that, you'll answer some questions about what you want to use (Twitter Bootstrap, Devise, etc).
17
+ After that, you'll answer some questions about what you want to setup (Twitter Bootstrap, Devise, etc).
18
18
 
19
19
  ## Contributing
20
20
 
@@ -47,4 +47,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
47
47
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
48
48
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
49
49
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
50
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
50
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,14 +1,19 @@
1
1
  source 'https://rubygems.org'
2
- ruby '1.9.3'
2
+ ruby '2.0.0'
3
3
 
4
- gem 'rails', '3.2.13'
4
+ gem 'rails', '4.0.1'
5
+
6
+ gem 'sass-rails', '~> 4.0.0'
5
7
  gem 'jquery-rails'
8
+ gem 'uglifier', '>= 1.3.0'
9
+ gem 'coffee-rails', '~> 4.0.0'
10
+ gem 'therubyracer', platforms: :ruby
11
+ gem 'turbolinks'
6
12
  <%- if @haml -%>
7
13
  gem 'haml-rails'
8
14
  <%- end -%>
9
15
  gem '<%= database_adapter %>'
10
16
  <%- if @twitter_bootstrap -%>
11
- gem 'therubyracer'
12
17
  gem 'less-rails'
13
18
  gem 'twitter-bootstrap-rails'
14
19
  <%- end -%>
@@ -19,7 +24,7 @@ gem 'rails-i18n'
19
24
  group :development do
20
25
  gem 'annotate'
21
26
  gem 'better_errors'
22
- # gem 'binding_of_caller'
27
+ gem 'binding_of_caller'
23
28
  gem 'thin'
24
29
  gem 'meta_request'
25
30
  end
@@ -38,8 +43,3 @@ group :test do
38
43
  gem 'simplecov', require: false
39
44
  end
40
45
  <%- end -%>
41
-
42
- group :assets do
43
- gem 'coffee-rails', '~> 3.2.2'
44
- gem 'uglifier', '~> 1.2.4'
45
- end
@@ -0,0 +1,29 @@
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ /.bundle # Bundler configs
8
+ /log/*.log # Logfiles
9
+ /tmp # Tempfiles
10
+ /public/packages/* # public/packages directory
11
+ /public/system/* # public/system directory
12
+
13
+ /config/database.yml # Database configs
14
+ /config/application.yml # Application configs
15
+
16
+ <% if @sqlite3 %>
17
+ /db/*.sqlite3 # SQLite database
18
+ /db/*.sqlite3-journal # SQLite database
19
+ <% end %>
20
+
21
+ /.rvmrc # RVM files
22
+ /.rbenv-version # rbenv files
23
+ /.sass-cache/ # SASS cache
24
+ /.routes # Routes cache
25
+ /coverage/ # Simplecov files
26
+ /rails_best_practices_output.html # Rails Best Praticies files
27
+ /config/initializers/better_errors.rb # BetterErrors configs
28
+ /.vagrant # Vagrant files
29
+ /zeus.json # zeus configs
@@ -1,3 +1,3 @@
1
1
  module RailsNew
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.13'
3
3
  end
data/lib/template.rb CHANGED
@@ -66,7 +66,6 @@ end
66
66
  @twitter_bootstrap = yes? 'Install and configure Twitter Bootstrap Rails gem?'
67
67
  # @devise = yes? 'Install and configure Devise gem?'
68
68
 
69
-
70
69
  remove_file 'public/index.html'
71
70
  remove_file 'app/assets/images/rails.png'
72
71
 
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.13'
15
+ gem.add_dependency 'rails', '4.0.1'
16
16
  gem.add_development_dependency 'rspec'
17
17
 
18
18
  gem.files = `git ls-files`.split($/)
@@ -0,0 +1,6 @@
1
+ describe 'Acceptance' do
2
+ it 'returns true' do
3
+ # echo -e "\nn" | rails_new
4
+ expect(true).to be_true
5
+ end
6
+ end
@@ -12,7 +12,7 @@ describe 'files' do
12
12
  end
13
13
 
14
14
  it 'has the correct Ruby version' do
15
- expect(read_template).to match(%r{ruby '1.9.3'})
15
+ expect(read_template).to match(%r{ruby '2.0.0'})
16
16
  end
17
17
 
18
18
  it 'includes haml-rails gem' do
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_new
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
5
- prerelease:
4
+ version: 0.0.13
6
5
  platform: ruby
7
6
  authors:
8
7
  - Lucas Caton
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-19 00:00:00.000000000 Z
11
+ date: 2013-11-18 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - '='
20
18
  - !ruby/object:Gem::Version
21
- version: 3.2.13
19
+ version: 4.0.1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - '='
28
25
  - !ruby/object:Gem::Version
29
- version: 3.2.13
26
+ version: 4.0.1
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: Bootstrap for Rails projects - Customizable Rails template with Twitter
@@ -48,78 +43,54 @@ description: Bootstrap for Rails projects - Customizable Rails template with Twi
48
43
  email:
49
44
  - lucascaton@gmail.com
50
45
  executables:
51
- - !binary |-
52
- cmFpbHNfbmV3
46
+ - rails_new
53
47
  extensions: []
54
48
  extra_rdoc_files: []
55
49
  files:
56
- - !binary |-
57
- LmdpdGlnbm9yZQ==
58
- - !binary |-
59
- LnJzcGVj
60
- - !binary |-
61
- R2VtZmlsZQ==
62
- - !binary |-
63
- R2VtZmlsZS5sb2Nr
64
- - !binary |-
65
- UkVBRE1FLm1k
66
- - !binary |-
67
- UmFrZWZpbGU=
68
- - !binary |-
69
- YmluL3JhaWxzX25ldw==
70
- - !binary |-
71
- bGliL2ZpbGVzLy5naXRpZ25vcmUuZXJi
72
- - !binary |-
73
- bGliL2ZpbGVzL0dlbWZpbGUuZXJi
74
- - !binary |-
75
- bGliL2ZpbGVzL2NvbmZpZy9kYXRhYmFzZS55bWwuZXJi
76
- - !binary |-
77
- bGliL3JhaWxzX25ldy92ZXJzaW9uLnJi
78
- - !binary |-
79
- bGliL3RlbXBsYXRlLnJi
80
- - !binary |-
81
- cmFpbHNfbmV3LmdlbXNwZWM=
82
- - !binary |-
83
- c3BlYy9zcGVjX2hlbHBlci5yYg==
84
- - !binary |-
85
- c3BlYy9zdXBwb3J0L21hY3Jvcy5yYg==
86
- - !binary |-
87
- c3BlYy90ZW1wbGF0ZXMvZmlsZXNfc3BlYy5yYg==
50
+ - .gitignore
51
+ - .rspec
52
+ - Gemfile
53
+ - Gemfile.lock
54
+ - README.md
55
+ - Rakefile
56
+ - bin/rails_new
57
+ - lib/files/.gitignore.erb
58
+ - lib/files/Gemfile.erb
59
+ - lib/files/config/database.yml.erb
60
+ - lib/files/gitignore.erb
61
+ - lib/rails_new/version.rb
62
+ - lib/template.rb
63
+ - rails_new.gemspec
64
+ - spec/acceptance_spec.rb
65
+ - spec/spec_helper.rb
66
+ - spec/support/macros.rb
67
+ - spec/templates/files_spec.rb
88
68
  homepage: https://github.com/lucascaton/rails_new
89
69
  licenses: []
70
+ metadata: {}
90
71
  post_install_message:
91
72
  rdoc_options: []
92
73
  require_paths:
93
74
  - lib
94
75
  required_ruby_version: !ruby/object:Gem::Requirement
95
- none: false
96
76
  requirements:
97
- - - ! '>='
77
+ - - '>='
98
78
  - !ruby/object:Gem::Version
99
79
  version: '0'
100
- segments:
101
- - 0
102
- hash: -2564851333145586573
103
80
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
81
  requirements:
106
- - - ! '>='
82
+ - - '>='
107
83
  - !ruby/object:Gem::Version
108
84
  version: '0'
109
- segments:
110
- - 0
111
- hash: -2564851333145586573
112
85
  requirements: []
113
86
  rubyforge_project:
114
- rubygems_version: 1.8.25
87
+ rubygems_version: 2.1.9
115
88
  signing_key:
116
- specification_version: 3
89
+ specification_version: 4
117
90
  summary: Bootstrap for Rails projects - Customizable Rails template with Twitter Bootstrap,
118
91
  Devise and more!
119
92
  test_files:
120
- - !binary |-
121
- c3BlYy9zcGVjX2hlbHBlci5yYg==
122
- - !binary |-
123
- c3BlYy9zdXBwb3J0L21hY3Jvcy5yYg==
124
- - !binary |-
125
- c3BlYy90ZW1wbGF0ZXMvZmlsZXNfc3BlYy5yYg==
93
+ - spec/acceptance_spec.rb
94
+ - spec/spec_helper.rb
95
+ - spec/support/macros.rb
96
+ - spec/templates/files_spec.rb