cyborg 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
2
  SHA1:
3
- metadata.gz: b50c0cd198ccb71205a34a823d400ddacfe6ce01
4
- data.tar.gz: 00a72528550ea0b6d23a8570b32c7601c8ea4dc9
3
+ metadata.gz: 02edda550ab2fe11cdc90d33bbcfd5169efa9809
4
+ data.tar.gz: d59ede5b17f17ba1fadabaa19c470711a2776b57
5
5
  SHA512:
6
- metadata.gz: 78576a6dce9d9e7b0e0d67cc39a5a8a8d6cd90b6681115faa40377d0854d297b0f45432773661b12f5ccd0885114476a87ee80d2bf793b794634bb6201f3a54c
7
- data.tar.gz: 40ba07fa17eb08d76021b3741d8bf864e48e63780381b3057e40e21e264d39c2a2eca4a5ff9509d498254274be7e852cf4374e9cee607c44aed7761c336a126c
6
+ metadata.gz: 8cb15260cfb664112747e484c08f055c000d3bbb02a25bca8c9e3498d69bd7e8bf999f6646ce6c6752bd93aa47d6d6f38334e4c52bb28b675e2b2c744c74f7f1
7
+ data.tar.gz: 15f3a0d8ba976babf3dc746d1f80d78a3e5e20c2457c741f87c5f8444c3633763980e1243d1b3ee2a508c87f4baa875f6fd847991115254d6be9fa0f7e387a1a
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_runtime_dependency 'block_helpers', '~> 0.3'
25
25
  spec.add_runtime_dependency 'colorize', '~> 0.8'
26
26
  spec.add_runtime_dependency 'bundler', '~> 1.10'
27
- spec.add_runtime_dependency 'autoprefixer-rails', '~> 6.4'
27
+ spec.add_runtime_dependency 'autoprefixer-rails', '~> 9.0'
28
28
  spec.add_runtime_dependency 'rack-cors', '~> 0.4'
29
29
  spec.add_runtime_dependency 'rails', '>= 4.2', '< 6'
30
30
 
@@ -7,11 +7,9 @@ module Cyborg
7
7
  DEPENDENCIES = YAML.load %Q{
8
8
  private: true
9
9
  devDependencies:
10
- babelify: ^6.4.0
11
- browserify: ^11.2.0
12
- browserify-incremental: ^3.0.1
13
- minifyify: ^7.3.2
14
- svgo: ^0.5.6
10
+ browserify: ^16.2.1
11
+ browserify-incremental: ^3.1.1
12
+ svgo: ^1.0.5
15
13
  }
16
14
 
17
15
  def setup
@@ -28,12 +26,6 @@ module Cyborg
28
26
  File.join(Dir.pwd, 'package.json')
29
27
  end
30
28
 
31
- def node_dependencies
32
- DEPENDENCIES['devDependencies'].map do |k,v|
33
- "#{k}@\"#{v}\""
34
- end.join(' ')
35
- end
36
-
37
29
  def write_package_json(contents)
38
30
  File.open(package_path, 'w') do |io|
39
31
  io.write(JSON.pretty_generate(contents))
@@ -66,13 +66,16 @@ module Cyborg
66
66
 
67
67
  def build_command(file)
68
68
  dest = destination(file).sub(/\.js$/,'')
69
- options = " -t babelify --standalone #{plugin.name} -o #{dest}.js -d"
69
+ options = "--standalone #{plugin.name} -o #{dest}.js -d"
70
70
 
71
- if Cyborg.production?
72
- npm_path "browserify #{file} #{options} -p [ minifyify --map #{url(file).sub(/\.js$/,'')}.map.json --output #{dest}.map.json ]"
71
+ cmd = if Cyborg.production?
72
+ npm_path "browserify #{file} #{options} -t"
73
73
  else
74
74
  npm_path "browserifyinc --cachefile #{cache_file(File.basename(dest))} #{file} #{options}"
75
75
  end
76
+ puts "Running: #{cmd}"
77
+
78
+ cmd
76
79
 
77
80
  end
78
81
  end
@@ -1,3 +1,3 @@
1
1
  module Cyborg
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
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.1
4
+ version: 0.6.2
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-02-12 00:00:00.000000000 Z
11
+ date: 2018-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '6.4'
103
+ version: '9.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '6.4'
110
+ version: '9.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rack-cors
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  version: '0'
226
226
  requirements: []
227
227
  rubyforge_project:
228
- rubygems_version: 2.6.11
228
+ rubygems_version: 2.4.5.1
229
229
  signing_key:
230
230
  specification_version: 4
231
231
  summary: Build a great style-guide for Rails (and humans).