bootstrap-generators 3.0.2 → 3.0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 953bb2852e50cfb8cfeb9d19d9910b5f8b10cc58
|
|
4
|
+
data.tar.gz: 187d2dc4f3e93977e38006742884c990a936e11d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6934877e91a9de2b144290e3381c1d0607c51ab47750d30fb23468f008d86fddbefa43e4765c3f2e124c39e48234d589d4a0718ac381e551d9530a7b547ba4c6
|
|
7
|
+
data.tar.gz: 870299a392382f7236eb75483329a2f3712b539d4769e65f7fe55d0a8c7c20fccda76e4b273cd975bab71116ce38b518b20139d7545a4f2bb948c36eb8fc794c
|
data/lib/bootstrap-generators.rb
CHANGED
|
@@ -6,13 +6,12 @@ module Bootstrap
|
|
|
6
6
|
config.app_generators.stylesheets false
|
|
7
7
|
|
|
8
8
|
initializer 'bootstrap-generators.setup' do |app|
|
|
9
|
-
app.config.less.paths << File.expand_path('../../vendor/twitter/bootstrap/less', __FILE__) if app.config.respond_to?(:less)
|
|
10
|
-
app.config.assets.paths << File.expand_path('../../vendor/twitter/bootstrap/sass', __FILE__) if app.config.respond_to?(:sass)
|
|
9
|
+
app.config.less.paths << ::File.expand_path('../../vendor/twitter/bootstrap/less', __FILE__) if app.config.respond_to?(:less)
|
|
10
|
+
app.config.assets.paths << ::File.expand_path('../../vendor/twitter/bootstrap/sass', __FILE__) if app.config.respond_to?(:sass)
|
|
11
11
|
|
|
12
|
-
app.config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
|
12
|
+
app.config.assets.paths << ::Rails.root.join('app', 'assets', 'fonts')
|
|
13
13
|
|
|
14
14
|
app.config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/
|
|
15
|
-
app.config.assets.precompile += %w(bootstrap-ie.js)
|
|
16
15
|
end
|
|
17
16
|
end
|
|
18
17
|
end
|
|
@@ -4,7 +4,7 @@ module Bootstrap
|
|
|
4
4
|
module Generators
|
|
5
5
|
class InstallGenerator < ::Rails::Generators::Base
|
|
6
6
|
desc 'Copy BootstrapGenerators default files'
|
|
7
|
-
source_root File.expand_path('../templates', __FILE__)
|
|
7
|
+
source_root ::File.expand_path('../templates', __FILE__)
|
|
8
8
|
|
|
9
9
|
class_option :template_engine
|
|
10
10
|
class_option :stylesheet_engine
|
|
@@ -34,7 +34,7 @@ module Bootstrap
|
|
|
34
34
|
def inject_backbone
|
|
35
35
|
application_js_path = "app/assets/javascripts/application.js"
|
|
36
36
|
|
|
37
|
-
if File.exists?(File.join(destination_root, application_js_path))
|
|
37
|
+
if ::File.exists?(::File.join(destination_root, application_js_path))
|
|
38
38
|
inject_into_file application_js_path, :before => "//= require_tree" do
|
|
39
39
|
"//= require bootstrap\n"
|
|
40
40
|
end
|
metadata
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap-generators
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.2
|
|
4
|
+
version: 3.0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Décio Ferreira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.3'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rails
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '3.1'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '3.1'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: railties
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '3.1'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '3.1'
|
|
69
69
|
description: Bootstrap-generators provides Twitter Bootstrap generators for Rails
|
|
@@ -74,8 +74,8 @@ executables: []
|
|
|
74
74
|
extensions: []
|
|
75
75
|
extra_rdoc_files: []
|
|
76
76
|
files:
|
|
77
|
-
- .gitignore
|
|
78
|
-
- .travis.yml
|
|
77
|
+
- ".gitignore"
|
|
78
|
+
- ".travis.yml"
|
|
79
79
|
- Gemfile
|
|
80
80
|
- MIT-LICENSE
|
|
81
81
|
- README.md
|
|
@@ -216,17 +216,17 @@ require_paths:
|
|
|
216
216
|
- lib
|
|
217
217
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
218
218
|
requirements:
|
|
219
|
-
- -
|
|
219
|
+
- - ">="
|
|
220
220
|
- !ruby/object:Gem::Version
|
|
221
221
|
version: '0'
|
|
222
222
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
requirements:
|
|
224
|
-
- -
|
|
224
|
+
- - ">="
|
|
225
225
|
- !ruby/object:Gem::Version
|
|
226
226
|
version: '0'
|
|
227
227
|
requirements: []
|
|
228
228
|
rubyforge_project: bootstrap-generators
|
|
229
|
-
rubygems_version: 2.1
|
|
229
|
+
rubygems_version: 2.2.0.rc.1
|
|
230
230
|
signing_key:
|
|
231
231
|
specification_version: 4
|
|
232
232
|
summary: Bootstrap-generators provides Twitter Bootstrap generators for Rails 4 (supported
|