rails-bootstrap 2.3.2.0 → 3.0.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2.0
4
+ version: 3.0.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -55,7 +55,6 @@ files:
55
55
  - LICENSE.txt
56
56
  - README.md
57
57
  - Rakefile
58
- - lib/generators/bootstrap/install_generator.rb
59
58
  - lib/rails/bootstrap.rb
60
59
  - lib/rails/bootstrap/version.rb
61
60
  - rails-bootstrap.gemspec
@@ -76,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
75
  version: '0'
77
76
  segments:
78
77
  - 0
79
- hash: -1096808215592737561
78
+ hash: -4562178427525346496
80
79
  required_rubygems_version: !ruby/object:Gem::Requirement
81
80
  none: false
82
81
  requirements:
@@ -85,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
84
  version: '0'
86
85
  segments:
87
86
  - 0
88
- hash: -1096808215592737561
87
+ hash: -4562178427525346496
89
88
  requirements: []
90
89
  rubyforge_project:
91
90
  rubygems_version: 1.8.25
@@ -1,23 +0,0 @@
1
- module Bootstrap
2
- module Generators
3
- class InstallGenerator < Rails::Generators::Base
4
- #source_root File.expand_path("../../templates", __FILE__)
5
-
6
- desc "Install bootstrap support to your application."
7
-
8
- def install_stylesheets
9
- line = " *= require_tree ."
10
- gsub_file 'app/assets/stylesheets/application.css', /(#{Regexp.escape(line)})/mi do |match|
11
- " *= require bootstrap\n#{match}"
12
- end
13
- end
14
-
15
- def install_javascript
16
- line = "//= require_tree ."
17
- gsub_file 'app/assets/javascripts/application.js', /(#{Regexp.escape(line)})/mi do |match|
18
- "//= require bootstrap\n#{match}"
19
- end
20
- end
21
- end
22
- end
23
- end