shoes-package 4.0.0.pre3 → 4.0.0.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shoes/package/configuration.rb +2 -3
- data/lib/shoes/package/version.rb +1 -1
- data/lib/warbler/traits/shoes.rb +1 -1
- data/shoes-package.gemspec +3 -3
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- data/spec/swt_app_spec.rb +1 -1
- data/spec/swt_jar_spec.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3505de07d002a4eae5f31d630590e9e530ee47e9
|
4
|
+
data.tar.gz: 9293f32727419d83b9fd7b1cb4816721bff8dd69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0abdb9b0ee08267761177320ba65227563e951a9587ea1e479def12582ca0aeb6e74362a94944086f2639c5df4fdd72e3815ad2f189aaaeb651ef682046f43a7
|
7
|
+
data.tar.gz: 7e0624b1f02ae5c03aec6b1efb05e7d03e65e7852b19bc5ab8a44d7a31407664e275a2512192784bce4d24e6a97c7c7abec367ed34eb74e98e537095270604c9
|
@@ -16,12 +16,12 @@ class Shoes
|
|
16
16
|
module Configuration
|
17
17
|
extend ::Furoshiki::Util
|
18
18
|
|
19
|
-
JAR_APP_TEMPLATE_URL = 'https://s3.amazonaws.com/net.wasnotrice.shoes/wrappers/shoes-app-template-0.0.
|
19
|
+
JAR_APP_TEMPLATE_URL = 'https://s3.amazonaws.com/net.wasnotrice.shoes/wrappers/shoes-app-template-0.0.2.zip'
|
20
20
|
|
21
21
|
# Convenience method for loading config from a file. Note that you
|
22
22
|
# can pass four kinds of paths to the loader. Given the following
|
23
23
|
# file structure:
|
24
|
-
#
|
24
|
+
#
|
25
25
|
# ├── a
|
26
26
|
# │ ├── app.yaml
|
27
27
|
# │ └── shoes-app-a.rb
|
@@ -146,7 +146,6 @@ class Shoes
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
-
private
|
150
149
|
# Adds Shoes-specific functionality to the Warbler Config
|
151
150
|
module ShoesWarblerConfig
|
152
151
|
attr_accessor :run
|
data/lib/warbler/traits/shoes.rb
CHANGED
@@ -27,7 +27,7 @@ module Warbler
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def after_configure
|
30
|
-
config.init_contents << StringIO.new("require 'shoes'\
|
30
|
+
config.init_contents << StringIO.new("require 'shoes'\nrequire 'shoes/swt'\nShoes::Swt.initialize_backend\n")
|
31
31
|
end
|
32
32
|
|
33
33
|
def update_archive(jar)
|
data/shoes-package.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.authors = ["Team Shoes"]
|
9
9
|
s.email = ["shoes@librelist.com"]
|
10
10
|
s.homepage = "https://github.com/shoes/shoes4"
|
11
|
-
s.summary =
|
12
|
-
s.description =
|
11
|
+
s.summary = 'Application packaging for Shoes, the best little GUI toolkit for Ruby.'
|
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
15
|
s.files = `git ls-files`.split($/)
|
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
|
19
19
|
s.add_dependency "shoes-core", Shoes::Package::VERSION
|
20
|
-
s.add_dependency "furoshiki", "~> 0.3.
|
20
|
+
s.add_dependency "furoshiki", "~> 0.3.1"
|
21
21
|
end
|
data/spec/configuration_spec.rb
CHANGED
@@ -185,7 +185,7 @@ describe Shoes::Package::Configuration do
|
|
185
185
|
context "with additional gems" do
|
186
186
|
let(:path) { @config_filename }
|
187
187
|
let(:additional_config) { { gems: gems } }
|
188
|
-
let(:config) {
|
188
|
+
let(:config) { Shoes::Package::Configuration.load(path, additional_config) }
|
189
189
|
|
190
190
|
context "one gem" do
|
191
191
|
let(:gems) { 'shoes-swt' }
|
data/spec/spec_helper.rb
CHANGED
@@ -38,7 +38,7 @@ module Guard
|
|
38
38
|
# end
|
39
39
|
# end
|
40
40
|
def platform_is(platform)
|
41
|
-
yield if self.send "platform_is_#{platform
|
41
|
+
yield if self.send "platform_is_#{platform}"
|
42
42
|
end
|
43
43
|
|
44
44
|
# Runs specs only if platform does not match
|
@@ -50,7 +50,7 @@ module Guard
|
|
50
50
|
# end
|
51
51
|
# end
|
52
52
|
def platform_is_not(platform)
|
53
|
-
yield unless self.send "platform_is_#{platform
|
53
|
+
yield unless self.send "platform_is_#{platform}"
|
54
54
|
end
|
55
55
|
|
56
56
|
def platform_is_windows
|
data/spec/swt_app_spec.rb
CHANGED
@@ -41,7 +41,7 @@ describe Shoes::Package::JarApp do
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
its(:template_path) { should eq(cache_dir.join('shoes-app-template.zip')) }
|
44
|
+
its(:template_path) { should eq(cache_dir.join('shoes-app-template-0.0.2.zip')) }
|
45
45
|
its(:remote_template_url) { should eq(Shoes::Package::Configuration::JAR_APP_TEMPLATE_URL) }
|
46
46
|
end
|
47
47
|
|
data/spec/swt_jar_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.pre4
|
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-05-16 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.pre4
|
19
19
|
name: shoes-core
|
20
20
|
prerelease: false
|
21
21
|
type: :runtime
|
@@ -23,13 +23,13 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.0.
|
26
|
+
version: 4.0.0.pre4
|
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
|
-
version: 0.3.
|
32
|
+
version: 0.3.1
|
33
33
|
name: furoshiki
|
34
34
|
prerelease: false
|
35
35
|
type: :runtime
|
@@ -37,7 +37,7 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.
|
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.
|
42
42
|
email:
|
43
43
|
- shoes@librelist.com
|