jasny_bundle_fixed 1.0.0 → 1.0.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: b185825d38b4b34a98db4f1e5b37454bc79d9ca3
4
- data.tar.gz: e8917b42fc8e1160fb9bf579f03d185984740e60
3
+ metadata.gz: 6790bac9b8a55f72a7103c2fb7f2dd2943b17108
4
+ data.tar.gz: 2a55cf8b389bc9a07a613bde384dcbac9b619a46
5
5
  SHA512:
6
- metadata.gz: c0985ea83eb31b8495309d91b2bc0fe23e100f66858a49f2ccaf3128e9a97d944765f96f3db36f769089063ed3f5441dc2cb470ac7a58c409d985cfc3a8fc567
7
- data.tar.gz: 14b0252dc08542ca8dfc55fea0eaafda12416752285cf1500273a8e2bc01233f57da7d45307549780ed913b0c7e53e9dd37ad76b935a533ffdc43cef67758d7a
6
+ metadata.gz: 1c08719cfa6f2da9068e6ee1db6db4273032daa4f02a63f8522fcdbf1f386bb4a40f344c3bb7a684c54b5db7f77509e13707291545d16324b896a399e7ef77bc
7
+ data.tar.gz: 0c41f8e0ade97e206983147556b5992d0c02d2097069607f39255b73d0819e75364ee30f3a773cc134ac1cab2e404e11fb1b8b89318d7400cb1427c8446e2714
data/lib/jasny_bundle.rb CHANGED
@@ -1,12 +1,8 @@
1
1
  require 'jasny_bundle/version'
2
- require "jasny_bundle/railtie" if defined?(Rails)
3
2
 
4
- module JasnyBundle
3
+ module JasnyBundleFixed
5
4
  module Rails
6
- if defined?(::Rails) and Gem::Requirement.new('>= 3.2').satisfied_by?(Gem::Version.new ::Rails.version)
7
- class Rails::Engine < ::Rails::Engine
8
- # this class enables the injection of files into the asset pipeline
9
- config.assets.precompile += %w(*.woff *.ttf *.eot *.svg) end
5
+ class Engine < ::Rails::Engine
10
6
  end
11
7
  end
12
8
  end
@@ -1,14 +1,14 @@
1
1
  require 'rack'
2
2
  require 'jasny_bundle/mime_types'
3
3
 
4
- module JasnyBundle
4
+ module JasnyBundleFixed
5
5
  class Middleware
6
6
 
7
7
  def initialize(app, origin, options={})
8
8
  @app = app
9
9
  @origin = origin
10
10
  @options = options
11
- @mime_types = JasnyBundle::MimeTypes.new(Rack::Mime::MIME_TYPES)
11
+ @mime_types = JasnyBundleFixed::MimeTypes.new(Rack::Mime::MIME_TYPES)
12
12
  end
13
13
 
14
14
  def access_control_headers
@@ -1,4 +1,4 @@
1
- module JasnyBundle
1
+ module JasnyBundleFixed
2
2
  class MimeTypes
3
3
  DEFAULT_TYPE = 'application/octet-stream'
4
4
  MIME_TYPES = {
@@ -14,7 +14,7 @@ module FontAssets
14
14
  'Rack::Runtime'
15
15
  end
16
16
 
17
- app.middleware.insert_before insert_target, JasnyBundle::Middleware, config.font_assets.origin, config.font_assets.options
17
+ app.middleware.insert_before insert_target, JasnyBundleFixed::Middleware, config.font_assets.origin, config.font_assets.options
18
18
  end
19
19
  end
20
20
  end
@@ -1,7 +1,9 @@
1
- module JasnyBundle
2
- MAJOR = 1
3
- MINOR = 0
4
- PATCH = 0
5
- VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
1
+ module JasnyBundleFixed
2
+ module Rails
3
+ MAJOR = 1
4
+ MINOR = 0
5
+ PATCH = 1
6
+ VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
+ end
6
8
  end
7
9
 
metadata CHANGED
@@ -1,15 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasny_bundle_fixed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilton Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-08 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2015-07-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0.14'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '2.0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0.14'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rails-dom-testing
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.0'
13
61
  description: This is a rails gem for the superb Jasny bootstrap extensions plus @lipis
14
62
  bootstrap-social extension.
15
63
  email:
@@ -18,15 +66,7 @@ executables: []
18
66
  extensions: []
19
67
  extra_rdoc_files: []
20
68
  files:
21
- - ".editorconfig"
22
- - ".gitattributes"
23
- - ".gitignore"
24
- - Gemfile
25
- - LICENSE
26
69
  - README.md
27
- - Rakefile
28
- - jasny_bundle-2.1.2.gem
29
- - jasny_bundle.gemspec
30
70
  - lib/jasny_bundle.rb
31
71
  - lib/jasny_bundle/middleware.rb
32
72
  - lib/jasny_bundle/mime_types.rb
@@ -65,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
105
  requirements:
66
106
  - - ">="
67
107
  - !ruby/object:Gem::Version
68
- version: '0'
108
+ version: 1.3.6
69
109
  requirements: []
70
110
  rubyforge_project:
71
111
  rubygems_version: 2.4.8
data/.editorconfig DELETED
@@ -1,14 +0,0 @@
1
- # editorconfig.org
2
-
3
- root = true
4
-
5
- [*]
6
- indent_style = space
7
- indent_size = 2
8
- end_of_line = lf
9
- charset = utf-8
10
- trim_trailing_whitespace = true
11
- insert_final_newline = true
12
-
13
- [*.py]
14
- indent_size = 4
data/.gitattributes DELETED
@@ -1,9 +0,0 @@
1
- # Enforce Unix newlines
2
- *.css text eol=lf
3
- *.html text eol=lf
4
- *.js text eol=lf
5
- *.json text eol=lf
6
- *.less text eol=lf
7
- *.md text eol=lf
8
- *.svg text eol=lf
9
- *.yml text eol=lf
data/.gitignore DELETED
@@ -1,32 +0,0 @@
1
- .ruby-version
2
-
3
- # Numerous always-ignore extensions
4
- *.diff
5
- *.err
6
- *.orig
7
- *.log
8
- *.rej
9
- *.swo
10
- *.swp
11
- *.zip
12
- *.vi
13
- *~
14
-
15
- # OS or Editor folders
16
- .DS_Store
17
- ._*
18
- Thumbs.db
19
- .cache
20
- .project
21
- .settings
22
- .tmproj
23
- *.esproj
24
- nbproject
25
- *.sublime-project
26
- *.sublime-workspace
27
- .idea
28
-
29
- # Komodo
30
- *.komodoproject
31
- .komodotools
32
-
data/Gemfile DELETED
@@ -1,16 +0,0 @@
1
- ruby '2.1.2'
2
- #ruby=2.1.2@jasny
3
- source "https://rubygems.org"
4
-
5
- # Declare your gem's dependencies in jasny_bootstrap_extension_rails.gemspec.
6
- # Bundler will treat runtime dependencies like base dependencies, and
7
- # development dependencies will be added by default to the :development group.
8
- gemspec
9
-
10
- # Declare any dependencies that are still in development here instead of in
11
- # your gemspec. These might include edge Rails or gems from your path or
12
- # Git. Remember to move these dependencies to your gemspec before releasing
13
- # your gem to rubygems.org.
14
-
15
- # To use debugger
16
- # gem 'debugger'
data/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2011-2014 Twitter, Inc
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
Binary file
data/jasny_bundle.gemspec DELETED
@@ -1,21 +0,0 @@
1
- $:.push File.expand_path('../lib', __FILE__)
2
-
3
- # Maintain your gem's version:
4
- require 'jasny_bundle/version'
5
-
6
- # Describe your gem and declare its dependencies:
7
- Gem::Specification.new do |s|
8
- s.name = 'jasny_bundle_fixed'
9
- s.version = JasnyBundle::VERSION
10
- s.authors = ['Ilton Garcia']
11
- s.email = ['ilton_unb@hotmail.com']
12
- s.homepage = 'https://github.com/tipsforthings/jasny-bundle/'
13
- s.summary = 'Complete bundle including the latest version of Bootstrap, Jasny Bootstrap extensions and as of version 2.0.0, it now includes the superb bootstrap-social extension provided by @lipis.'
14
- s.description = 'This is a rails gem for the superb Jasny bootstrap extensions plus @lipis bootstrap-social extension.'
15
-
16
- s.files = `git ls-files -z`.split("\x0")
17
- s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- s.test_files = s.files.grep(%r{^(test|s|features)/})
19
- s.require_paths = ['lib']
20
-
21
- end