bootstrap-select-rails 1.3.0 → 1.3.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Assets for https://github.com/silviomoreto/bootstrap-select - see it for details
4
4
 
5
+ add to application.js and application.css something like
6
+
7
+ //= require bootstrap-select
8
+
9
+
5
10
  ## Installation
6
11
 
7
12
  Add this line to your application's Gemfile:
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'bootstrap/select/rails/version'
4
+ require 'bootstrap-select-rails/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "bootstrap-select-rails"
@@ -10,13 +10,13 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["maciej.krajowski@gmail.com"]
11
11
  spec.description = %q{assets for bootstrap-select}
12
12
  spec.summary = %q{assets for bootstrap-select}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/Slashek/bootstrap-select-rails"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib, vendor"]
19
+ spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
@@ -0,0 +1,14 @@
1
+ require "rails"
2
+ require "bootstrap-select-rails/version"
3
+
4
+ module Bootstrap
5
+ module Select
6
+ module Rails
7
+ if ::Rails.version < "3.1"
8
+ require "bootstrap-select-rails/railtie"
9
+ else
10
+ require "bootstrap-select-rails/engine"
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,5 +1,3 @@
1
- require "bootstrap/select/rails/version"
2
-
3
1
  module Bootstrap
4
2
  module Select
5
3
  module Rails
@@ -0,0 +1,7 @@
1
+ module Bootstrap
2
+ module Select
3
+ module Rails
4
+ class Railtie < ::Rails::Railtie; end
5
+ end
6
+ end
7
+ end
@@ -1,7 +1,7 @@
1
1
  module Bootstrap
2
2
  module Select
3
3
  module Rails
4
- VERSION = "1.3.0"
4
+ VERSION = "1.3.0.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 3
8
8
  - 0
9
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.0.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Maciej Krajowski-Kukiel
@@ -58,19 +59,21 @@ files:
58
59
  - README.md
59
60
  - Rakefile
60
61
  - bootstrap-select-rails.gemspec
61
- - lib/bootstrap/select/rails.rb
62
- - lib/bootstrap/select/rails/version.rb
62
+ - lib/bootstrap-select-rails.rb
63
+ - lib/bootstrap-select-rails/engine.rb
64
+ - lib/bootstrap-select-rails/railtie.rb
65
+ - lib/bootstrap-select-rails/version.rb
63
66
  - vendor/assets/javascripts/bootstrap-select.js
64
67
  - vendor/assets/stylesheets/bootstrap-select.css
65
68
  has_rdoc: true
66
- homepage: ""
69
+ homepage: https://github.com/Slashek/bootstrap-select-rails
67
70
  licenses:
68
71
  - MIT
69
72
  post_install_message:
70
73
  rdoc_options: []
71
74
 
72
75
  require_paths:
73
- - lib, vendor
76
+ - lib
74
77
  required_ruby_version: !ruby/object:Gem::Requirement
75
78
  requirements:
76
79
  - - ">="