bootstrap-generators 2.3.1.1 → 2.3.1.2

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: 18c29a2d2c6adb889962acc8a8bf13866f5dd40a
4
- data.tar.gz: 6c49c6ca1b9802290e6a2225a4b550879f81b0bf
3
+ metadata.gz: bc3a06739c0ffbd70a684b2961281d5ed1f586af
4
+ data.tar.gz: 9b1ac552ba8e2decf21b6ad691db8c851247b922
5
5
  SHA512:
6
- metadata.gz: e7c38da11fe176246d1ea26b4698340d1e3ad1626fa4b0d33d54286aae29e6490aef4ef3e34fcdd9c588e6ecea82b2b0539bb547c02a139f6aebcd82eee44cf4
7
- data.tar.gz: 8a222975d9e3d24ba947a6768e0bd05e644e8e5b25d59fc48c47ea037c96060dfa9ea030002c8d3329e83fe082dd4e39d13ff3ff647d7a414564ce68d4d5ec4e
6
+ metadata.gz: 0777e66a31f248476b4d5ac16fa4162f777d67bdd1c870293704a13708aa15f553fb614f7a34c8bd03e0048e6c4c3cf60a8df29003bdcdd92199aa18856fa5b3
7
+ data.tar.gz: 6c207c416c5f0876133a227c6d46da32d27d893a6ace48ad19cfaa8266a4497b92b56d845a685fc47f7c4da9bbb884153415ffd9aef5ae8986467a8d2f11d8cb
data/.gitignore CHANGED
@@ -3,4 +3,3 @@
3
3
  Gemfile.lock
4
4
  pkg/*
5
5
  tmp/
6
- nbproject/
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Decio Ferreira
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Bootstrap Generators
2
2
 
3
- Bootstrap-generators provides [Twitter Bootstrap](http://twitter.github.com/bootstrap/) generators for Rails 3.1. Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. Checkout http://decioferreira.github.com/bootstrap-generators.
3
+ [![Build Status](https://travis-ci.org/decioferreira/bootstrap-generators.png?branch=master)](https://travis-ci.org/decioferreira/bootstrap-generators)
4
+
5
+ Bootstrap-generators provides [Twitter Bootstrap](http://twitter.github.com/bootstrap/) generators for Rails 4 (supported Rails >= 3.1). Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. Checkout http://decioferreira.github.com/bootstrap-generators.
4
6
 
5
7
  ## Installing Gem
6
8
 
@@ -8,8 +8,9 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["Décio Ferreira"]
9
9
  s.email = ["decio.ferreira@decioferreira.com"]
10
10
  s.homepage = "http://decioferreira.github.com/bootstrap-generators/"
11
- s.summary = %q{Bootstrap-generators provides Twitter Bootstrap generators for Rails 3.1.}
12
- s.description = %q{Bootstrap-generators provides Twitter Bootstrap generators for Rails 3.1. Checkout http://twitter.github.com/bootstrap.}
11
+ s.summary = %q{Bootstrap-generators provides Twitter Bootstrap generators for Rails 4 (supported Rails >= 3.1).}
12
+ s.description = %q{Bootstrap-generators provides Twitter Bootstrap generators for Rails 4 (supported Rails >= 3.1). Checkout http://twitter.github.com/bootstrap.}
13
+ s.license = "MIT"
13
14
 
14
15
  s.rubyforge_project = "bootstrap-generators"
15
16
 
@@ -18,13 +19,10 @@ Gem::Specification.new do |s|
18
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
20
  s.require_paths = ["lib"]
20
21
 
21
- # specify any dependencies here; for example:
22
- # s.add_development_dependency "rspec"
23
- # s.add_runtime_dependency "rest-client"
22
+ s.add_development_dependency "bundler", "~> 1.3"
23
+ s.add_development_dependency "rake"
24
24
 
25
- s.add_development_dependency "bundler", "~> 1.0"
26
- s.add_development_dependency "test-unit"
27
- s.add_development_dependency "rails", "~> 3.1"
25
+ s.add_development_dependency "rails", ">= 3.1"
28
26
 
29
- s.add_runtime_dependency "railties", "~> 3.1"
27
+ s.add_runtime_dependency "railties", ">= 3.1"
30
28
  end
@@ -1,15 +1,5 @@
1
- require 'rails'
2
-
3
1
  module Bootstrap
4
2
  module Generators
5
- class Railtie < ::Rails::Railtie
6
- if ::Rails.version < "3.1"
7
- require 'bootstrap/generators/railtie'
8
- else
9
- config.app_generators.stylesheets false
10
- require 'bootstrap/generators/engine'
11
- end
12
- require 'bootstrap/generators/version'
13
- end
3
+ require 'bootstrap/generators/engine'
14
4
  end
15
5
  end
@@ -1,9 +1,13 @@
1
+ require 'rails'
2
+
1
3
  module Bootstrap
2
4
  module Generators
3
5
  class Engine < ::Rails::Engine
4
- initializer 'bootstrap-generators.setup', :group => :all do |app|
5
- config.less.paths << File.join(config.root, 'vendor', 'twitter', 'bootstrap', 'less') if config.respond_to?(:less)
6
- config.sass.load_paths << File.join(config.root, 'vendor', 'twitter', 'bootstrap', 'sass') if config.respond_to?(:sass)
6
+ config.app_generators.stylesheets false
7
+
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)
7
11
  end
8
12
  end
9
13
  end
@@ -1,5 +1,5 @@
1
1
  module Bootstrap
2
2
  module Generators
3
- VERSION = "2.3.1.1"
3
+ VERSION = "2.3.1.2"
4
4
  end
5
5
  end
@@ -26,7 +26,7 @@
26
26
  <% end -%>
27
27
  <td><%%= link_to 'Show', <%= singular_table_name %> %></td>
28
28
  <td><%%= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>) %></td>
29
- <td><%%= link_to 'Destroy', <%= singular_table_name %>, <%= key_value :confirm, "'Are you sure?'" %>, <%= key_value :method, ":delete" %> %></td>
29
+ <td><%%= link_to 'Destroy', <%= singular_table_name %>, confirm: 'Are you sure?', method: :delete %></td>
30
30
  </tr>
31
31
  <%% end %>
32
32
  </tbody>
@@ -1,8 +1,8 @@
1
1
  require 'test_helper'
2
2
 
3
- class Bootstrap::Generators::InstallGeneratorTest < ::Rails::Generators::TestCase
4
- destination File.join(Rails.root)
3
+ class InstallGeneratorTest < Rails::Generators::TestCase
5
4
  tests Bootstrap::Generators::InstallGenerator
5
+ destination File.join(Rails.root)
6
6
  arguments %w(--template-engine erb)
7
7
 
8
8
  setup :prepare_destination
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1.1
4
+ version: 2.3.1.2
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: 2013-04-23 00:00:00.000000000 Z
11
+ date: 2013-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,16 +16,16 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
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
- version: '1.0'
26
+ version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
- name: test-unit
28
+ name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '>='
@@ -42,32 +42,32 @@ dependencies:
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
70
- 3.1. Checkout http://twitter.github.com/bootstrap.
70
+ 4 (supported Rails >= 3.1). Checkout http://twitter.github.com/bootstrap.
71
71
  email:
72
72
  - decio.ferreira@decioferreira.com
73
73
  executables: []
@@ -75,14 +75,14 @@ extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
77
  - .gitignore
78
- - .rvmrc
78
+ - .travis.yml
79
79
  - Gemfile
80
+ - LICENSE.txt
80
81
  - README.md
81
82
  - Rakefile
82
83
  - bootstrap-generators.gemspec
83
84
  - lib/bootstrap-generators.rb
84
85
  - lib/bootstrap/generators/engine.rb
85
- - lib/bootstrap/generators/railtie.rb
86
86
  - lib/bootstrap/generators/version.rb
87
87
  - lib/generators/bootstrap/install/install_generator.rb
88
88
  - lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.css.scss
@@ -218,7 +218,8 @@ files:
218
218
  - vendor/twitter/bootstrap/sass/bootstrap.scss
219
219
  - vendor/twitter/bootstrap/sass/responsive.scss
220
220
  homepage: http://decioferreira.github.com/bootstrap-generators/
221
- licenses: []
221
+ licenses:
222
+ - MIT
222
223
  metadata: {}
223
224
  post_install_message:
224
225
  rdoc_options: []
@@ -239,5 +240,6 @@ rubyforge_project: bootstrap-generators
239
240
  rubygems_version: 2.0.3
240
241
  signing_key:
241
242
  specification_version: 4
242
- summary: Bootstrap-generators provides Twitter Bootstrap generators for Rails 3.1.
243
+ summary: Bootstrap-generators provides Twitter Bootstrap generators for Rails 4 (supported
244
+ Rails >= 3.1).
243
245
  test_files: []
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm use @bootstrap-generators
@@ -1,5 +0,0 @@
1
- module Bootstrap
2
- module Generators
3
- class Engine < ::Rails::Engine; end
4
- end
5
- end