shoes-package 4.0.0.pre4 → 4.0.0.pre5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Guardfile +4 -0
- data/lib/shoes/package/configuration.rb +1 -0
- data/lib/shoes/package/jar_app.rb +1 -1
- data/lib/shoes/package/version.rb +1 -1
- data/shoes-package.gemspec +1 -1
- data/spec/configuration_spec.rb +7 -5
- data/spec/swt_app_spec.rb +0 -1
- metadata +10 -11
- data/spec/.furoshiki/cache/shoes-app-template.zip +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecf026b21bf212724deac00451ad35c7861c1272
|
4
|
+
data.tar.gz: 8756aadf8388145c64f1d20d24d7ad3503051c3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fc70be513dbd2f3e010cb5546e920f478322d7c9fbd17f696b83c20daa746b21a1fb5e88d0316ad21a3191ee27a07d53062e889a973b89ddc3a9f21b051a9cd
|
7
|
+
data.tar.gz: 6cf409e6bbaff5e4566d43b4f9fc68f7822fdd8aa8a54fb5c2f29676336e699ee91f4e8e3f3857d21d735554e235c244c9366833cc8a846ac5438088c85113d6
|
data/Guardfile
ADDED
data/shoes-package.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = 'Application packaging for Shoes, the best little GUI toolkit for Ruby. Shoes makes building for Mac, Windows, and Linux super simple.'
|
13
13
|
s.license = 'MIT'
|
14
14
|
|
15
|
-
s.files = `git ls-files`.split(
|
15
|
+
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
16
16
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -101,7 +101,7 @@ describe Shoes::Package::Configuration do
|
|
101
101
|
end
|
102
102
|
|
103
103
|
context "with name, but without explicit shortname" do
|
104
|
-
let(:options) { {:
|
104
|
+
let(:options) { {name: "Sugar Clouds"} }
|
105
105
|
subject { Shoes::Package::Configuration.create options }
|
106
106
|
|
107
107
|
its(:name) { should eq("Sugar Clouds") }
|
@@ -109,7 +109,7 @@ describe Shoes::Package::Configuration do
|
|
109
109
|
end
|
110
110
|
|
111
111
|
context "when the file to run doens't exist" do
|
112
|
-
let(:options) { {:
|
112
|
+
let(:options) { {run: "path/to/non-existent/file"} }
|
113
113
|
subject { Shoes::Package::Configuration.create options }
|
114
114
|
|
115
115
|
it { is_expected.not_to be_valid }
|
@@ -118,7 +118,7 @@ describe Shoes::Package::Configuration do
|
|
118
118
|
context "when osx icon is not specified" do
|
119
119
|
include_context 'config'
|
120
120
|
let(:valid_config) { Shoes::Package::Configuration.load(@config_filename) }
|
121
|
-
let(:options) { valid_config.to_hash.merge(:
|
121
|
+
let(:options) { valid_config.to_hash.merge(icons: {}) }
|
122
122
|
subject { Shoes::Package::Configuration.create(options) }
|
123
123
|
|
124
124
|
it "sets osx icon path to nil" do
|
@@ -131,7 +131,7 @@ describe Shoes::Package::Configuration do
|
|
131
131
|
end
|
132
132
|
|
133
133
|
context "when osx icon is specified, but doesn't exist" do
|
134
|
-
let(:options) { ({:
|
134
|
+
let(:options) { ({icons: {osx: "path/to/non-existent/file"}}) }
|
135
135
|
subject { Shoes::Package::Configuration.create options }
|
136
136
|
|
137
137
|
it "sets osx icon path" do
|
@@ -178,7 +178,9 @@ describe Shoes::Package::Configuration do
|
|
178
178
|
|
179
179
|
context "when the file doesn't exist" do
|
180
180
|
it "blows up" do
|
181
|
-
expect
|
181
|
+
expect do
|
182
|
+
Shoes::Package::Configuration.load('some/bogus/path')
|
183
|
+
end.to raise_error /No such file or directory/
|
182
184
|
end
|
183
185
|
end
|
184
186
|
|
data/spec/swt_app_spec.rb
CHANGED
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoes-package
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Team Shoes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - '='
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 4.0.0.
|
18
|
+
version: 4.0.0.pre5
|
19
19
|
name: shoes-core
|
20
20
|
prerelease: false
|
21
21
|
type: :runtime
|
@@ -23,11 +23,11 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.0.
|
26
|
+
version: 4.0.0.pre5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- - ~>
|
30
|
+
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 0.3.1
|
33
33
|
name: furoshiki
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.3.1
|
41
41
|
description: Application packaging for Shoes, the best little GUI toolkit for Ruby. Shoes makes building for Mac, Windows, and Linux super simple.
|
@@ -45,6 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
+
- Guardfile
|
48
49
|
- Rakefile
|
49
50
|
- lib/shoes/package/configuration.rb
|
50
51
|
- lib/shoes/package/jar.rb
|
@@ -52,7 +53,6 @@ files:
|
|
52
53
|
- lib/shoes/package/version.rb
|
53
54
|
- lib/warbler/traits/shoes.rb
|
54
55
|
- shoes-package.gemspec
|
55
|
-
- spec/.furoshiki/cache/shoes-app-template.zip
|
56
56
|
- spec/configuration_spec.rb
|
57
57
|
- spec/spec_helper.rb
|
58
58
|
- spec/support/shared_config.rb
|
@@ -75,22 +75,21 @@ require_paths:
|
|
75
75
|
- lib
|
76
76
|
required_ruby_version: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - ">"
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: 1.3.1
|
86
86
|
requirements: []
|
87
87
|
rubyforge_project:
|
88
|
-
rubygems_version: 2.4.
|
88
|
+
rubygems_version: 2.4.8
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: Application packaging for Shoes, the best little GUI toolkit for Ruby.
|
92
92
|
test_files:
|
93
|
-
- spec/.furoshiki/cache/shoes-app-template.zip
|
94
93
|
- spec/configuration_spec.rb
|
95
94
|
- spec/spec_helper.rb
|
96
95
|
- spec/support/shared_config.rb
|
Binary file
|