cyborg 0.6.2 → 0.7.0

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: 02edda550ab2fe11cdc90d33bbcfd5169efa9809
4
- data.tar.gz: d59ede5b17f17ba1fadabaa19c470711a2776b57
2
+ SHA256:
3
+ metadata.gz: 93f06314aa842a9e0a1ab14cdfca582c90785972d718d2eb0794c3bdcd13380f
4
+ data.tar.gz: efac86731687d854c3f160ddc5d580c4e41afc964ec930a318d05d86ce60de33
5
5
  SHA512:
6
- metadata.gz: 8cb15260cfb664112747e484c08f055c000d3bbb02a25bca8c9e3498d69bd7e8bf999f6646ce6c6752bd93aa47d6d6f38334e4c52bb28b675e2b2c744c74f7f1
7
- data.tar.gz: 15f3a0d8ba976babf3dc746d1f80d78a3e5e20c2457c741f87c5f8444c3633763980e1243d1b3ee2a508c87f4baa875f6fd847991115254d6be9fa0f7e387a1a
6
+ metadata.gz: 0bec3f305da0f0ac370eddf0e87d87c38088f85a36162140e1e09de3e0571d5bade9e76f3f325aa81642e2d5993e435e26c5a3eee795b8370f7636eec41ea195
7
+ data.tar.gz: 78e367484469ad77d37d28099aa30ef29c655c1f0151a15fda33885eeaf59fac468fd7311627d5c6ab471ce76b282de17e642d2a482ccbba1d04e3debb2c4eed
@@ -25,7 +25,6 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency 'colorize', '~> 0.8'
26
26
  spec.add_runtime_dependency 'bundler', '~> 1.10'
27
27
  spec.add_runtime_dependency 'autoprefixer-rails', '~> 9.0'
28
- spec.add_runtime_dependency 'rack-cors', '~> 0.4'
29
28
  spec.add_runtime_dependency 'rails', '>= 4.2', '< 6'
30
29
 
31
30
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,19 +1,9 @@
1
- require 'rack/cors'
2
1
  require 'action_dispatch/middleware/static'
3
2
 
4
3
  module Cyborg
5
4
  class Application < Rails::Application
6
- config.middleware.insert_before ActionDispatch::Static, Rack::Deflater
7
-
8
- config.middleware.insert_before 0, Rack::Cors, :debug => true, :logger => (-> { Rails.logger }) do
9
- allow do
10
- origins "*"
11
- resource "*", {
12
- :headers => :any,
13
- :expose => ["Location"],
14
- :methods => [:get, :post, :put, :patch, :delete, :options]
15
- }
16
- end
5
+ initializer "static assets" do |app|
6
+ app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
17
7
  end
18
8
  end
19
9
 
@@ -1,3 +1,3 @@
1
1
  module Cyborg
2
- VERSION = "0.6.2"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cyborg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-24 00:00:00.000000000 Z
11
+ date: 2018-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -108,20 +108,6 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '9.0'
111
- - !ruby/object:Gem::Dependency
112
- name: rack-cors
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '0.4'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '0.4'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: rails
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -225,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
211
  version: '0'
226
212
  requirements: []
227
213
  rubyforge_project:
228
- rubygems_version: 2.4.5.1
214
+ rubygems_version: 2.7.6
229
215
  signing_key:
230
216
  specification_version: 4
231
217
  summary: Build a great style-guide for Rails (and humans).