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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3505de07d002a4eae5f31d630590e9e530ee47e9
4
- data.tar.gz: 9293f32727419d83b9fd7b1cb4816721bff8dd69
3
+ metadata.gz: ecf026b21bf212724deac00451ad35c7861c1272
4
+ data.tar.gz: 8756aadf8388145c64f1d20d24d7ad3503051c3e
5
5
  SHA512:
6
- metadata.gz: 0abdb9b0ee08267761177320ba65227563e951a9587ea1e479def12582ca0aeb6e74362a94944086f2639c5df4fdd72e3815ad2f189aaaeb651ef682046f43a7
7
- data.tar.gz: 7e0624b1f02ae5c03aec6b1efb05e7d03e65e7852b19bc5ab8a44d7a31407664e275a2512192784bce4d24e6a97c7c7abec367ed34eb74e98e537095270604c9
6
+ metadata.gz: 9fc70be513dbd2f3e010cb5546e920f478322d7c9fbd17f696b83c20daa746b21a1fb5e88d0316ad21a3191ee27a07d53062e889a973b89ddc3a9f21b051a9cd
7
+ data.tar.gz: 6cf409e6bbaff5e4566d43b4f9fc68f7822fdd8aa8a54fb5c2f29676336e699ee91f4e8e3f3857d21d735554e235c244c9366833cc8a846ac5438088c85113d6
data/Guardfile ADDED
@@ -0,0 +1,4 @@
1
+ guard 'rspec', cmd: 'rspec' do
2
+ watch(%r{^spec/.+_spec\.rb$})
3
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
4
+ end
@@ -103,6 +103,7 @@ class Shoes
103
103
  end
104
104
 
105
105
  private
106
+
106
107
  # If it exists, load default options. If not, let the filesystem raise an
107
108
  # error.
108
109
  def self.config_for_single_file_app(pathname)
@@ -7,7 +7,7 @@ class Shoes
7
7
  extend Forwardable
8
8
 
9
9
  def_delegators :@packager, :package, :default_package_dir, :cache_dir,
10
- :remote_template_url, :template_path
10
+ :remote_template_url, :template_path
11
11
 
12
12
  def initialize(config)
13
13
  config.gems << 'shoes-swt'
@@ -1,5 +1,5 @@
1
1
  class Shoes
2
2
  module Package
3
- VERSION = "4.0.0.pre4"
3
+ VERSION = "4.0.0.pre5"
4
4
  end
5
5
  end
@@ -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
 
@@ -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) { {:name => "Sugar Clouds"} }
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) { {:run => "path/to/non-existent/file"} }
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(:icons => {}) }
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) { ({:icons => {:osx => "path/to/non-existent/file"}}) }
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 { Shoes::Package::Configuration.load('some/bogus/path') }.to raise_error
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
@@ -23,7 +23,6 @@ describe Shoes::Package::JarApp do
23
23
  ENV['FUROSHIKI_HOME'] = nil
24
24
  end
25
25
 
26
-
27
26
  its(:cache_dir) { should eq(Pathname.new(Dir.home).join('.furoshiki', 'cache')) }
28
27
 
29
28
  after do
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.pre4
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-05-16 00:00:00.000000000 Z
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.pre4
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.pre4
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.2
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