jasny_bundle 2.0.2 → 2.1.0
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 +4 -4
- data/README.md +4 -51
- data/lib/jasny_bundle.rb +1 -1
- data/lib/jasny_bundle/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ecedb67b8eab9836415e981b834cb2806a3d015
|
|
4
|
+
data.tar.gz: 63feb9353162326ebbecc39fc0efd2fae3619197
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7cf616381b87b839a7d200496f4b7ff6074f2b347ef4451091ad21904b3c9047658d0c4a75f1f6c52c1889d2744959bf75a52e62f51c95c4d57ee973e55618f5
|
|
7
|
+
data.tar.gz: 538675eb0c7a721565e4b1274d8739d02ebdc3eb215d035fb1f3a389558e89342f4757443fbaa22b0e1d2ed264dea0ba9c0e75f18cb0e0c3d9617c8ca1ed73ca
|
data/README.md
CHANGED
|
@@ -1,56 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
## Jasny Bundle for Rails
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
A simple gem for jasny's bootstrap extensions which can be found [here](http://jasny.github.io/bootstrap "jasny's bootstrap"). The gem can be found on [Ruby Gems](https://rubygems.org/gems/jasny_bundle) and is tested and fully functional.
|
|
3
|
+
A simple gem for jasny's bootstrap extensions which can be found here. The gem can be found on Ruby Gems and is tested and fully functional.
|
|
6
4
|
|
|
7
5
|
This gem includes the default Bootstrap files, so there's no need to install them seperately. As of version 2.0.0, this gem now includes font-awesome and the bootstrap-social features developed by @lipis.
|
|
8
6
|
|
|
9
|
-
If you're looking for a quick and easy way to get a rails app started with off-canvas navigation, then you should also download my basic framework, which is setup with the jasny off-canvas navigation and can be found
|
|
10
|
-
If you feel like you could make an improvement to the framework, please submit a pull request as at the moment, any contribution that constitutes an improvement, would be more than welcome.
|
|
11
|
-
|
|
12
|
-
## Installation
|
|
13
|
-
|
|
14
|
-
**Install the gem**
|
|
15
|
-
|
|
16
|
-
gem install jasny_bundle
|
|
17
|
-
|
|
18
|
-
**Add it to your Gemfile**
|
|
19
|
-
|
|
20
|
-
gem 'jasny_bundle'
|
|
21
|
-
|
|
22
|
-
**Bundle install**
|
|
23
|
-
|
|
24
|
-
bundle install
|
|
25
|
-
|
|
26
|
-
## Usage
|
|
27
|
-
|
|
28
|
-
**In your application.js**
|
|
29
|
-
|
|
30
|
-
//= require bootstrap.min
|
|
31
|
-
//= require jasny-bootstrap
|
|
32
|
-
|
|
33
|
-
**In your application.css**
|
|
34
|
-
|
|
35
|
-
*= require bootstrap.min
|
|
36
|
-
*= require jasny-bootstrap
|
|
37
|
-
|
|
38
|
-
**And if you also want jasny's responsive**
|
|
39
|
-
|
|
40
|
-
*= require jasny-bootstrap-responsive
|
|
41
|
-
|
|
42
|
-
##For bootstrap social buttons
|
|
43
|
-
|
|
44
|
-
**In your application.js**
|
|
45
|
-
|
|
46
|
-
//= require social
|
|
47
|
-
|
|
48
|
-
**In your application.css**
|
|
49
|
-
|
|
50
|
-
*= require bootstrap-social
|
|
51
|
-
*= require font-awesome
|
|
52
|
-
## Framework
|
|
53
|
-
|
|
54
|
-
As mentioned earlier, I have created a framework for new rails apps to get you started with off-canvas navigation, which can be found [here](https://github.com/tipsforthings/jasny-offcanvas-nav-rails). If you are starting a new rails project, this is the method that I would recommend.
|
|
7
|
+
If you're looking for a quick and easy way to get a rails app started with off-canvas navigation, then you should also download my basic framework, which is setup with the jasny off-canvas navigation and can be found here. If you feel like you could make an improvement to the framework, please submit a pull request as at the moment, any contribution that constitutes an improvement, would be more than welcome.
|
|
55
8
|
|
|
56
|
-
|
|
9
|
+
Detailed usage instructions can be found at the [Wiki](https://github.com/tipsforthings/jasny-bundle/wiki "Jasny Bundle Github Wiki").
|
data/lib/jasny_bundle.rb
CHANGED
|
@@ -6,7 +6,7 @@ module JasnyBundle
|
|
|
6
6
|
if defined?(::Rails) and Gem::Requirement.new('>= 3.2').satisfied_by?(Gem::Version.new ::Rails.version)
|
|
7
7
|
class Rails::Engine < ::Rails::Engine
|
|
8
8
|
# this class enables the injection of files into the asset pipeline
|
|
9
|
-
end
|
|
9
|
+
config.assets.precompile += %w(*.woff *.ttf *.eot *.svg) end
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
12
|
end
|
data/lib/jasny_bundle/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jasny_bundle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Scott
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-08-
|
|
11
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: "This is a rails gem for the superb Jasny bootstrap extensions plus @lipis
|
|
14
14
|
bootstrap-social extension. It comes with all of the files you need to get going,
|
|
@@ -26,9 +26,9 @@ executables: []
|
|
|
26
26
|
extensions: []
|
|
27
27
|
extra_rdoc_files: []
|
|
28
28
|
files:
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
29
|
+
- .editorconfig
|
|
30
|
+
- .gitattributes
|
|
31
|
+
- .gitignore
|
|
32
32
|
- Gemfile
|
|
33
33
|
- LICENSE
|
|
34
34
|
- README.md
|
|
@@ -65,12 +65,12 @@ require_paths:
|
|
|
65
65
|
- lib
|
|
66
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
67
|
requirements:
|
|
68
|
-
- -
|
|
68
|
+
- - '>='
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
70
|
version: '0'
|
|
71
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - '>='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
requirements: []
|