voog-kit 0.5.4 → 0.5.8

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: 9ed26cef655b21f91a963a0747fd9227a16d270c
4
- data.tar.gz: 5babe8d69df18f767e3f7d704fb88efdfacf9d2f
2
+ SHA256:
3
+ metadata.gz: dd2772b088e4393011c286f94147c3445c2cd65ca443c5a94bf72dc8a1caf8c7
4
+ data.tar.gz: 5f5b600bb5ab449e8bdd005d88108285729943bc11aaaac940823240a6518094
5
5
  SHA512:
6
- metadata.gz: f6232baa6a43fe1e4ae01eedeffc0dfcf7b68dbe481eebd6c44d9c4baf3a5829dfe1d818e6c7aeb56ca1d735960b87a3bc9562129dbe94942c79e6146516fba9
7
- data.tar.gz: 997aa20442c819223af501e32efad152e741c6875d171e658ded57561852b4e1652bbf38ac248733dd2b7949fcd15bf24d4f3ad8ebdcb173fd8ef3928b81c089
6
+ metadata.gz: ebe00fbbd5c838201b0e18b14ec89338e3f68b1625b1c1c3b2e0480969d48059b6bfe498f31afdc54bc8a537db9adb0f36c6f7faca6bb1871e6768422c57f7cf
7
+ data.tar.gz: 988d541f32772e63805d848bdd13f4e853db8324df7c0ea1cde591f9bc7686f54b713bd631be533300516d45bf04fcca49b4d25a60202ba61fbb4776cfdd5ba3
data/bin/kit CHANGED
@@ -269,7 +269,6 @@ pre do |global, command, options, args|
269
269
  matched_protocol = host.match(/^https?:\/\//)
270
270
  if (matched_protocol)
271
271
  protocol_string = matched_protocol[0].slice(0, matched_protocol[0].length-3)
272
- puts 'protocol string' + protocol_string
273
272
  if options.fetch(:protocol, '').empty?
274
273
  protocol = protocol_string
275
274
  else
@@ -34,6 +34,9 @@ module Voog::Dtk
34
34
  end
35
35
 
36
36
  def write_manifest(manifest)
37
+ if manifest["layouts"].is_a?(Array)
38
+ manifest["layouts"].sort! { |a, b| a["file"] <=> b["file"]}
39
+ end
37
40
  File.open('manifest.json', 'w+', encoding: 'UTF-8') do |file|
38
41
  file << JSON.pretty_generate(manifest)
39
42
  end
@@ -478,7 +481,7 @@ module Voog::Dtk
478
481
  open(asset.filename, 'wb') { |file| file.write(asset.data) }
479
482
  else
480
483
  url = URI(asset.public_url)
481
- Net::HTTP.start(url.hostname) do |http|
484
+ Net::HTTP.start(url.hostname, url.port, use_ssl: (url.scheme == 'https')) do |http|
482
485
  resp = http.get(url.path)
483
486
  open(asset.filename, 'wb') { |file| file.write(resp.body) }
484
487
  end
@@ -1,5 +1,5 @@
1
1
  module Voog
2
2
  module Dtk
3
- VERSION = '0.5.4'
3
+ VERSION = '0.5.8'
4
4
  end
5
5
  end
data/voog-kit.gemspec CHANGED
@@ -25,8 +25,9 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency 'rake'
26
26
  spec.add_development_dependency 'rspec'
27
27
  spec.add_development_dependency 'guard-rspec'
28
- spec.add_runtime_dependency 'gli', '2.10.0'
29
28
 
29
+ spec.add_runtime_dependency 'rb-fsevent', '0.9.8'
30
+ spec.add_runtime_dependency 'gli', '2.10.0'
30
31
  spec.add_runtime_dependency 'pry'
31
32
  spec.add_runtime_dependency 'listen', '~> 3.0'
32
33
  spec.add_runtime_dependency 'git'
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voog-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikk Pristavka
8
8
  - Priit Haamer
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-09-15 00:00:00.000000000 Z
12
+ date: 2021-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -67,6 +67,20 @@ dependencies:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rb-fsevent
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '='
75
+ - !ruby/object:Gem::Version
76
+ version: 0.9.8
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '='
82
+ - !ruby/object:Gem::Version
83
+ version: 0.9.8
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: gli
72
86
  requirement: !ruby/object:Gem::Requirement
@@ -244,7 +258,7 @@ homepage: http://voog.com/developers/kit
244
258
  licenses:
245
259
  - MIT
246
260
  metadata: {}
247
- post_install_message:
261
+ post_install_message:
248
262
  rdoc_options: []
249
263
  require_paths:
250
264
  - lib
@@ -259,9 +273,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
273
  - !ruby/object:Gem::Version
260
274
  version: '0'
261
275
  requirements: []
262
- rubyforge_project:
263
- rubygems_version: 2.5.1
264
- signing_key:
276
+ rubygems_version: 3.0.8
277
+ signing_key:
265
278
  specification_version: 4
266
279
  summary: Voog Developer Toolkit
267
280
  test_files: