sul_styles 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +1 -1
- data/Gemfile +26 -8
- data/app/views/sul_styles/style_guide/colors.html.erb +2 -1
- data/lib/sul_styles/version.rb +1 -1
- data/sul_styles.gemspec +2 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7223237efb4d3c3293d8580c8640a89aad89aa75
|
4
|
+
data.tar.gz: ed4873088e36531586ef60dd4fc69bde726ff7df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f0ba294b1e1b229e13446839ea41ca485a194ed8ed07698d50f56e2dc978edffd700ef730cfc69905f57e6ec2a693a1d5e7ead5dd537fca1fac84934d7e2ea9
|
7
|
+
data.tar.gz: f130b4f9cf5325f2aaa02bfb14ed1e7f815d33a089750f16eb99efb77e78b7eb9981ff50fb80e18d9803ca1467f62fb3a8be7beb1a859bb185df151b061dc9dc
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -3,19 +3,37 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in sul_styles.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
#
|
7
|
-
|
6
|
+
# BEGIN ENGINE_CART BLOCK
|
7
|
+
# engine_cart: 1.0.1
|
8
|
+
# engine_cart stanza: 0.10.0
|
9
|
+
# the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app.
|
10
|
+
file = File.expand_path('Gemfile', ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path('.internal_test_app', File.dirname(__FILE__)))
|
8
11
|
if File.exist?(file)
|
9
|
-
|
10
|
-
|
12
|
+
begin
|
13
|
+
eval_gemfile file
|
14
|
+
rescue Bundler::GemfileError => e
|
15
|
+
Bundler.ui.warn '[EngineCart] Skipping Rails application dependencies:'
|
16
|
+
Bundler.ui.warn e.message
|
17
|
+
end
|
11
18
|
else
|
12
|
-
|
13
|
-
|
19
|
+
Bundler.ui.warn "[EngineCart] Unable to find test application dependencies in #{file}, using placeholder dependencies"
|
20
|
+
|
21
|
+
if ENV['RAILS_VERSION']
|
22
|
+
if ENV['RAILS_VERSION'] == 'edge'
|
23
|
+
gem 'rails', github: 'rails/rails'
|
24
|
+
ENV['ENGINE_CART_RAILS_OPTIONS'] = '--edge --skip-turbolinks'
|
25
|
+
else
|
26
|
+
gem 'rails', ENV['RAILS_VERSION']
|
27
|
+
end
|
28
|
+
end
|
14
29
|
|
15
|
-
|
30
|
+
case ENV['RAILS_VERSION']
|
31
|
+
when /^4.2/
|
16
32
|
gem 'responders', '~> 2.0'
|
17
33
|
gem 'sass-rails', '>= 5.0'
|
18
|
-
|
34
|
+
gem 'coffee-rails', '~> 4.1.0'
|
35
|
+
when /^4.[01]/
|
19
36
|
gem 'sass-rails', '< 5.0'
|
20
37
|
end
|
21
38
|
end
|
39
|
+
# END ENGINE_CART BLOCK
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<h2>Colors</h2>
|
2
2
|
<% @colors.each do |color_group| %>
|
3
|
-
|
3
|
+
<% color_title = color_group.title.split(" from ") %>
|
4
|
+
<h3><%= link_to color_title[0], color_title[1] %></h3>
|
4
5
|
<div class='color-sample-container'>
|
5
6
|
<% color_group.colors.each do |color| %>
|
6
7
|
<div class='color-sample'>
|
data/lib/sul_styles/version.rb
CHANGED
data/sul_styles.gemspec
CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
spec.required_ruby_version = '>= 2.1'
|
20
20
|
|
21
|
-
spec.add_dependency 'rails', '
|
21
|
+
spec.add_dependency 'rails', '>= 4.1', '< 6'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.10"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
-
spec.add_development_dependency 'engine_cart', '~>
|
25
|
+
spec.add_development_dependency 'engine_cart', '~> 1.0'
|
26
26
|
spec.add_development_dependency 'rspec-rails', '~> 3.0'
|
27
27
|
spec.add_development_dependency 'capybara', '~> 2.4.4'
|
28
28
|
spec.add_development_dependency 'capistrano', '~> 3.4.0'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sul_styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Reed
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-20 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
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '6'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '4.1'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '6'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +64,14 @@ dependencies:
|
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
67
|
+
version: '1.0'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
74
|
+
version: '1.0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: rspec-rails
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -232,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
238
|
version: '0'
|
233
239
|
requirements: []
|
234
240
|
rubyforge_project:
|
235
|
-
rubygems_version: 2.
|
241
|
+
rubygems_version: 2.5.1
|
236
242
|
signing_key:
|
237
243
|
specification_version: 4
|
238
244
|
summary: A gem for adding Stanford University Libraries styles to Rails applications
|