shoes-package 4.0.0.pre3 → 4.0.0.pre4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e85a08b46b6fcdaa86a5b1609c14fb2e58c08677
4
- data.tar.gz: b655bde5a2d94c020ed7a99a7eed8337cbb36d2f
3
+ metadata.gz: 3505de07d002a4eae5f31d630590e9e530ee47e9
4
+ data.tar.gz: 9293f32727419d83b9fd7b1cb4816721bff8dd69
5
5
  SHA512:
6
- metadata.gz: d425a176814a1adfb819ed1296ad7d5f4308ce13b5928bdbbe933ad99a87c82714f179e37a2b2f5c22abcb43d052ef00d01e153d3f4ccdb54481b99351a4707c
7
- data.tar.gz: 31d06640d06a1932e8826727d62720d499b9a1ae391a611818d98607d6aada43dc98b7fd4f4b6b7d903c2753bfeb7472b5a578b47d92a61afb0609e83a2e4ff1
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.1.zip'
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
@@ -1,5 +1,5 @@
1
1
  class Shoes
2
2
  module Package
3
- VERSION = "4.0.0.pre3"
3
+ VERSION = "4.0.0.pre4"
4
4
  end
5
5
  end
@@ -27,7 +27,7 @@ module Warbler
27
27
  end
28
28
 
29
29
  def after_configure
30
- config.init_contents << StringIO.new("require 'shoes'\nShoes.configuration.backend = :swt\n")
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)
@@ -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 = %q{Application packaging for Shoes, the best little GUI toolkit for Ruby.}
12
- s.description = %q{Application packaging for Shoes, the best little GUI toolkit for Ruby. Shoes makes building for Mac, Windows, and Linux super simple.}
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.0"
20
+ s.add_dependency "furoshiki", "~> 0.3.1"
21
21
  end
@@ -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) { config = Shoes::Package::Configuration.load(path, additional_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' }
@@ -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.to_s}"
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.to_s}"
53
+ yield unless self.send "platform_is_#{platform}"
54
54
  end
55
55
 
56
56
  def platform_is_windows
@@ -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
 
@@ -34,7 +34,7 @@ describe Furoshiki::Jar do
34
34
  end
35
35
 
36
36
  context "inspecting contents" do
37
- let (:jar) { Zip::File.new(output_file) }
37
+ let(:jar) { Zip::File.new(output_file) }
38
38
 
39
39
  it "includes shoes-core" do
40
40
  shoes_core = jar.glob "gems/shoes-core*"
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.pre3
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-01-06 00:00:00.000000000 Z
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.pre3
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.pre3
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.0
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.0
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