bootswitch 0.1.3 → 0.2.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/.travis.yml +1 -0
- data/LICENSE.txt +1 -1
- data/README.rdoc +4 -2
- data/Rakefile +3 -24
- data/VERSION +1 -1
- data/bootswitch.gemspec +5 -6
- data/spec/spec_helper.rb +1 -1
- metadata +23 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5ae3b4a228d91ceb81d216a09a4f1381547911f
|
|
4
|
+
data.tar.gz: 121a982b6caecf178227c51af675a4e9730511ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 977f20397c8c48001cca5f13b0a57c738e362858768bc41243fc4beafb4e09ad4b8ce38663e1948c0067110556371845beac03962d3f7de52d531e5393f4f275
|
|
7
|
+
data.tar.gz: 1b040e1e640a092e880ef2d820d89cea898dca986f8a56ec01cc3964ea3b0c239660cfa83662c4dd544f867d5d5b4340a3baf4b9edee12e1b712180bbccfdd58
|
data/.travis.yml
CHANGED
data/LICENSE.txt
CHANGED
data/README.rdoc
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
= Bootswitch
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](http://badge.fury.io/rb/bootswitch)
|
|
4
|
+
[](https://travis-ci.org/gemvein/bootswitch)
|
|
5
|
+
[](https://coveralls.io/r/gemvein/bootswitch)
|
|
4
6
|
|
|
5
7
|
For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file.
|
|
6
8
|
|
|
@@ -34,5 +36,5 @@ Put this in your application.js file, below jquery:
|
|
|
34
36
|
|
|
35
37
|
== Copyright
|
|
36
38
|
|
|
37
|
-
Copyright (c) 2014
|
|
39
|
+
Copyright (c) 2014 Gem Vein. Apache License. See LICENSE.txt for further details.
|
|
38
40
|
|
data/Rakefile
CHANGED
|
@@ -13,41 +13,20 @@ require 'rake'
|
|
|
13
13
|
|
|
14
14
|
require 'jeweler'
|
|
15
15
|
|
|
16
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
16
|
+
# version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
17
17
|
|
|
18
18
|
Jeweler::Tasks.new do |gem|
|
|
19
19
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
|
20
20
|
gem.name = "bootswitch"
|
|
21
|
-
gem.homepage = "http://
|
|
21
|
+
gem.homepage = "http://www.gemvein.com/museum/cases/bootswitch"
|
|
22
22
|
gem.license = "MIT"
|
|
23
23
|
gem.summary = %Q{For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file.}
|
|
24
24
|
gem.description = %Q{For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file.}
|
|
25
25
|
gem.email = "webmaster@sourcherryweb.com"
|
|
26
26
|
gem.authors = ["Karen Lundgren"]
|
|
27
|
-
gem.version = version
|
|
27
|
+
# gem.version = version
|
|
28
28
|
# dependencies defined in Gemfile
|
|
29
29
|
end
|
|
30
30
|
Jeweler::RubygemsDotOrgTasks.new
|
|
31
31
|
|
|
32
|
-
require 'rspec/core'
|
|
33
|
-
require 'rspec/core/rake_task'
|
|
34
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
35
|
-
spec.pattern = FileList['spec/**/*_spec.rb']
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
|
39
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
|
40
|
-
spec.rcov = true
|
|
41
|
-
end
|
|
42
|
-
|
|
43
32
|
task :default => :spec
|
|
44
|
-
|
|
45
|
-
require 'rdoc/task'
|
|
46
|
-
Rake::RDocTask.new do |rdoc|
|
|
47
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
48
|
-
|
|
49
|
-
rdoc.rdoc_dir = 'rdoc'
|
|
50
|
-
rdoc.title = "bootswitch #{version}"
|
|
51
|
-
rdoc.rdoc_files.include('README*')
|
|
52
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
53
|
-
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.2.0
|
data/bootswitch.gemspec
CHANGED
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: bootswitch 0.1.3 ruby lib
|
|
6
5
|
|
|
7
6
|
Gem::Specification.new do |s|
|
|
8
7
|
s.name = "bootswitch"
|
|
9
|
-
s.version = "0.
|
|
8
|
+
s.version = "0.2.0"
|
|
10
9
|
|
|
11
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
|
-
s.require_paths = ["lib"]
|
|
13
11
|
s.authors = ["Karen Lundgren"]
|
|
14
|
-
s.date = "2014-
|
|
12
|
+
s.date = "2014-10-08"
|
|
15
13
|
s.description = "For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file."
|
|
16
14
|
s.email = "webmaster@sourcherryweb.com"
|
|
17
15
|
s.extra_rdoc_files = [
|
|
@@ -115,9 +113,10 @@ Gem::Specification.new do |s|
|
|
|
115
113
|
"vendor/assets/stylesheets/bootswatch/yeti/theme.css.scss",
|
|
116
114
|
"vendor/assets/stylesheets/bootswatch/yeti/variables.css.scss"
|
|
117
115
|
]
|
|
118
|
-
s.homepage = "http://
|
|
116
|
+
s.homepage = "http://www.gemvein.com/museum/cases/bootswitch"
|
|
119
117
|
s.licenses = ["MIT"]
|
|
120
|
-
s.
|
|
118
|
+
s.require_paths = ["lib"]
|
|
119
|
+
s.rubygems_version = "2.0.3"
|
|
121
120
|
s.summary = "For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file."
|
|
122
121
|
|
|
123
122
|
if s.respond_to? :specification_version then
|
data/spec/spec_helper.rb
CHANGED
|
@@ -4,7 +4,7 @@ require File.expand_path("../dummy/config/environment", __FILE__)
|
|
|
4
4
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
5
5
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
|
6
6
|
require 'rspec/rails'
|
|
7
|
-
require 'rspec/autorun'
|
|
7
|
+
# require 'rspec/autorun'
|
|
8
8
|
require 'shoulda-matchers'
|
|
9
9
|
require 'capybara/rspec'
|
|
10
10
|
require 'bootswitch'
|
metadata
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootswitch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karen Lundgren
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - '>='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '4.1'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - '>='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '4.1'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: haml-rails
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - '>='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - '>='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: bootstrap-sass
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - '>='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :runtime
|
|
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: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: bootswitch
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - '>='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
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: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rdoc
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - '>='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- -
|
|
80
|
+
- - '>='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: bundler
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- -
|
|
87
|
+
- - '>='
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: '0'
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- -
|
|
94
|
+
- - '>='
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: jeweler
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- -
|
|
101
|
+
- - '>='
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
103
|
version: '0'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- -
|
|
108
|
+
- - '>='
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
111
|
description: For multi-theme sites, Bootswitch allows a site to configure the Bootswatch
|
|
@@ -117,9 +117,9 @@ extra_rdoc_files:
|
|
|
117
117
|
- LICENSE.txt
|
|
118
118
|
- README.rdoc
|
|
119
119
|
files:
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
120
|
+
- .document
|
|
121
|
+
- .rspec
|
|
122
|
+
- .travis.yml
|
|
123
123
|
- Gemfile
|
|
124
124
|
- LICENSE.txt
|
|
125
125
|
- README.rdoc
|
|
@@ -212,7 +212,7 @@ files:
|
|
|
212
212
|
- vendor/assets/stylesheets/bootswatch/yeti/bootswatch.css.scss
|
|
213
213
|
- vendor/assets/stylesheets/bootswatch/yeti/theme.css.scss
|
|
214
214
|
- vendor/assets/stylesheets/bootswatch/yeti/variables.css.scss
|
|
215
|
-
homepage: http://
|
|
215
|
+
homepage: http://www.gemvein.com/museum/cases/bootswitch
|
|
216
216
|
licenses:
|
|
217
217
|
- MIT
|
|
218
218
|
metadata: {}
|
|
@@ -222,17 +222,17 @@ require_paths:
|
|
|
222
222
|
- lib
|
|
223
223
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
224
224
|
requirements:
|
|
225
|
-
- -
|
|
225
|
+
- - '>='
|
|
226
226
|
- !ruby/object:Gem::Version
|
|
227
227
|
version: '0'
|
|
228
228
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
229
|
requirements:
|
|
230
|
-
- -
|
|
230
|
+
- - '>='
|
|
231
231
|
- !ruby/object:Gem::Version
|
|
232
232
|
version: '0'
|
|
233
233
|
requirements: []
|
|
234
234
|
rubyforge_project:
|
|
235
|
-
rubygems_version: 2.
|
|
235
|
+
rubygems_version: 2.0.3
|
|
236
236
|
signing_key:
|
|
237
237
|
specification_version: 4
|
|
238
238
|
summary: For multi-theme sites, Bootswitch allows a site to configure the Bootswatch
|