sul_styles 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7223237efb4d3c3293d8580c8640a89aad89aa75
4
- data.tar.gz: ed4873088e36531586ef60dd4fc69bde726ff7df
2
+ SHA256:
3
+ metadata.gz: 5105060e61bb1c7362ef1f0372405c43d095b197dfe4aed68c9bf9626698a98a
4
+ data.tar.gz: dcd14dabc643389cce1f34fac8ebf043d84b3a5ab8b9720a436d543fd673d94e
5
5
  SHA512:
6
- metadata.gz: 9f0ba294b1e1b229e13446839ea41ca485a194ed8ed07698d50f56e2dc978edffd700ef730cfc69905f57e6ec2a693a1d5e7ead5dd537fca1fac84934d7e2ea9
7
- data.tar.gz: f130b4f9cf5325f2aaa02bfb14ed1e7f815d33a089750f16eb99efb77e78b7eb9981ff50fb80e18d9803ca1467f62fb3a8be7beb1a859bb185df151b061dc9dc
6
+ metadata.gz: 27671a21b7ae5012a203ac2a55fd5674e5a37d1ecd014c1d47ff1ec006dd23fafd0cae72f4af71d54b74303ceffa1da04d04cfb5809bc4ab1764ba7477d69441
7
+ data.tar.gz: b51ca58f822a19513747427413c3c59bad2c344c3ed1329587f516b6df33e52caf81d9a7545268c5bf385ccf920d4addd7971497736b2922e678528fe643d157
@@ -1,3 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.1
3
+ - 2.7.0
4
+ env:
5
+ - RAILS_VERSION=5.2.4.1
6
+ - RAILS_VERSION=6.0.2.1
data/Capfile CHANGED
@@ -3,6 +3,7 @@ require 'capistrano/setup'
3
3
 
4
4
  # Include default deployment tasks
5
5
  require 'capistrano/deploy'
6
+ require 'capistrano/bundler'
6
7
  require 'dlss/capistrano'
7
8
 
8
9
  # Load custom tasks from `lib/capistrano/tasks` if you have any defined
data/Gemfile CHANGED
@@ -3,6 +3,9 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in sul_styles.gemspec
4
4
  gemspec
5
5
 
6
+ gem 'dlss-capistrano', require: false
7
+ gem 'capistrano-bundler'
8
+
6
9
  # BEGIN ENGINE_CART BLOCK
7
10
  # engine_cart: 1.0.1
8
11
  # engine_cart stanza: 0.10.0
@@ -28,12 +31,8 @@ else
28
31
  end
29
32
 
30
33
  case ENV['RAILS_VERSION']
31
- when /^4.2/
32
- gem 'responders', '~> 2.0'
33
- gem 'sass-rails', '>= 5.0'
34
- gem 'coffee-rails', '~> 4.1.0'
35
- when /^4.[01]/
36
- gem 'sass-rails', '< 5.0'
34
+ when /^5.[12]/, /^6.0/
35
+ gem 'sass-rails', '~> 5.0'
37
36
  end
38
37
  end
39
38
  # END ENGINE_CART BLOCK
@@ -1,15 +1,11 @@
1
1
  # config valid only for current version of Capistrano
2
- lock '3.4.0'
3
-
4
2
  set :application, 'sul_styles'
5
-
3
+ set :repo_url, 'https://github.com/sul-dlss/sul_styles.git'
6
4
  # Default branch is :master
7
5
  # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
8
- ask :user, proc { `whoami`.chomp }.call
9
- set :home_directory, "/opt/app/#{fetch(:user)}"
10
6
 
11
7
  # Default deploy_to directory is /var/www/my_app_name
12
- set :deploy_to, "#{fetch(:home_directory)}/#{fetch(:application)}"
8
+ set :deploy_to, '/opt/app/cdn/sul_styles'
13
9
 
14
10
  # Default value for :scm is :git
15
11
  # set :scm, :git
@@ -0,0 +1,4 @@
1
+ server 'sul-cdn-dev.stanford.edu', user: 'cdn', roles: %w{web db app}
2
+
3
+ Capistrano::OneTimeKey.generate_one_time_key!
4
+ set :rails_env, 'development'
@@ -0,0 +1,4 @@
1
+ server 'sul-cdn-prod.stanford.edu', user: 'cdn', roles: %w{web db app}
2
+
3
+ Capistrano::OneTimeKey.generate_one_time_key!
4
+ set :rails_env, 'development'
@@ -0,0 +1,4 @@
1
+ server 'sul-cdn-stage.stanford.edu', user: 'cdn', roles: %w{web db app}
2
+
3
+ Capistrano::OneTimeKey.generate_one_time_key!
4
+ set :rails_env, 'development'
@@ -1,3 +1,3 @@
1
1
  module SulStyles
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
@@ -16,15 +16,13 @@ Gem::Specification.new do |spec|
16
16
  spec.bindir = "exe"
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
- spec.required_ruby_version = '>= 2.1'
19
+ spec.required_ruby_version = '>= 2.3'
20
20
 
21
- spec.add_dependency 'rails', '>= 4.1', '< 6'
21
+ spec.add_dependency 'rails', '>= 4.1', '< 7'
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.10"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency 'engine_cart', '~> 1.0'
23
+ spec.add_development_dependency "bundler", "~> 2"
24
+ spec.add_development_dependency "rake"
25
+ spec.add_development_dependency 'engine_cart', '~> 2.0'
26
26
  spec.add_development_dependency 'rspec-rails', '~> 3.0'
27
- spec.add_development_dependency 'capybara', '~> 2.4.4'
28
- spec.add_development_dependency 'capistrano', '~> 3.4.0'
29
- spec.add_development_dependency 'lyberteam-capistrano-devel'
27
+ spec.add_development_dependency 'capybara', '~> 3.31'
30
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sul_styles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
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-09-20 00:00:00.000000000 Z
11
+ date: 2020-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6'
22
+ version: '7'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,49 +29,49 @@ dependencies:
29
29
  version: '4.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6'
32
+ version: '7'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.10'
39
+ version: '2'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.10'
46
+ version: '2'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '10.0'
53
+ version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '10.0'
60
+ version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: engine_cart
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.0'
67
+ version: '2.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '1.0'
74
+ version: '2.0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rspec-rails
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -92,42 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 2.4.4
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: 2.4.4
103
- - !ruby/object:Gem::Dependency
104
- name: capistrano
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: 3.4.0
95
+ version: '3.31'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
100
  - - "~>"
115
101
  - !ruby/object:Gem::Version
116
- version: 3.4.0
117
- - !ruby/object:Gem::Dependency
118
- name: lyberteam-capistrano-devel
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- version: '0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - ">="
129
- - !ruby/object:Gem::Version
130
- version: '0'
102
+ version: '3.31'
131
103
  description:
132
104
  email:
133
105
  - pjreed@stanford.edu
@@ -167,9 +139,9 @@ files:
167
139
  - app/views/sul_styles/style_guide/index.html.erb
168
140
  - bin/rails
169
141
  - config/deploy.rb
170
- - config/deploy/development.rb
171
- - config/deploy/production.rb
172
- - config/deploy/staging.rb
142
+ - config/deploy/dev.rb
143
+ - config/deploy/prod.rb
144
+ - config/deploy/stage.rb
173
145
  - config/locales/sul_styles.en.yml
174
146
  - config/routes.rb
175
147
  - dist/0.3.0/sul-icons.css
@@ -230,15 +202,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
230
202
  requirements:
231
203
  - - ">="
232
204
  - !ruby/object:Gem::Version
233
- version: '2.1'
205
+ version: '2.3'
234
206
  required_rubygems_version: !ruby/object:Gem::Requirement
235
207
  requirements:
236
208
  - - ">="
237
209
  - !ruby/object:Gem::Version
238
210
  version: '0'
239
211
  requirements: []
240
- rubyforge_project:
241
- rubygems_version: 2.5.1
212
+ rubygems_version: 3.1.2
242
213
  signing_key:
243
214
  specification_version: 4
244
215
  summary: A gem for adding Stanford University Libraries styles to Rails applications
@@ -1,6 +0,0 @@
1
- set :deploy_host, ask('Server', 'e.g. server.stanford.edu')
2
-
3
- server fetch(:deploy_host), user: fetch(:user), roles: %w{web db app}
4
-
5
- Capistrano::OneTimeKey.generate_one_time_key!
6
- set :rails_env, 'development'
@@ -1,6 +0,0 @@
1
- set :deploy_host, ask('Server', 'e.g. server.stanford.edu')
2
-
3
- server fetch(:deploy_host), user: fetch(:user), roles: %w{web db app}
4
-
5
- Capistrano::OneTimeKey.generate_one_time_key!
6
- set :rails_env, 'development'
@@ -1,6 +0,0 @@
1
- set :deploy_host, ask('Server', 'e.g. server.stanford.edu')
2
-
3
- server fetch(:deploy_host), user: fetch(:user), roles: %w{web db app}
4
-
5
- Capistrano::OneTimeKey.generate_one_time_key!
6
- set :rails_env, 'development'