shoes-package 4.0.0.pre9 → 4.0.0.pre10

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: 905de2fecc90976b6949e60f976a575c010c9008
4
- data.tar.gz: 5da98924922544603b1c736413b2696dd924f5cd
2
+ SHA256:
3
+ metadata.gz: bfbd81fb6ea138aba32b15175f2433a81a1c8df566db4c8a1e25cf6157c64fa5
4
+ data.tar.gz: 1d5c2b30224697d141591b5e1b7749250b138f34542debc1d8d03523be4ce887
5
5
  SHA512:
6
- metadata.gz: c9659f7fe6a19cde5a1ae14e2bf9881dfb68458ace0b2bf4e67c3bc53cc2ddae93e3209daa47395d1cf6a994283f76939885566659c9d61c89fd4902a9c54895
7
- data.tar.gz: 999aaa14cfbbf3624c2f82c4f059a23f38a3fff5c2a582ee791a3df82554114272a41bc538bf71dbcab651285ee52f8425ebe00764faea899251a9f6fc6c14e9
6
+ metadata.gz: 6eb872d63169ce203c18a28e86b26c22a1dfc5d3ee1c96c0194ca6aa9a64a519c485562752ff020d0466be4f105815c0f80c08d7bfd643278e9a8468c33fc699
7
+ data.tar.gz: 353a0fcc68dcac6152850c773fb1b15ac4ccbaf02989a011facc3b78f8d7622fbfa9535a76b437d4473494f59273d3ce581057249f41b2ff426ac5cb361c238c
@@ -1,17 +1,20 @@
1
1
  # frozen_string_literal: true
2
2
  class Shoes
3
3
  module Package
4
- def self.create_packager(config, wrapper)
5
- require 'furoshiki/jar'
6
- require 'furoshiki/jar_app'
4
+ def self.create_packager(config, package_type)
5
+ require 'furoshiki'
7
6
 
8
- case wrapper
9
- when 'jar'
7
+ case package_type
8
+ when :jar
10
9
  ::Furoshiki::Jar.new(config)
11
- when 'app'
12
- ::Furoshiki::JarApp.new(config)
10
+ when :mac
11
+ ::Furoshiki::MacApp.new(config)
12
+ when :linux
13
+ ::Furoshiki::LinuxApp.new(config)
14
+ when :windows
15
+ ::Furoshiki::WindowsApp.new(config)
13
16
  else
14
- abort "shoes: Don't know how to make #{config.backend}:#{wrapper} packages"
17
+ abort "shoes: Don't know how to make #{package_type} packages"
15
18
  end
16
19
  end
17
20
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  class Shoes
4
4
  module Package
5
- VERSION = "4.0.0.pre9"
5
+ VERSION = "4.0.0.pre10"
6
6
  end
7
7
  end
@@ -33,6 +33,10 @@ module Warbler
33
33
  require 'shoes'
34
34
  require 'shoes/swt'
35
35
 
36
+ app_dir = File.join(__FILE__, "..", "..", "shoes-app")
37
+ $LOAD_PATH.unshift(app_dir)
38
+ Shoes.configuration.app_dir = app_dir
39
+
36
40
  Shoes::Swt.initialize_backend
37
41
  EOS
38
42
 
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.pre9
4
+ version: 4.0.0.pre10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Shoes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-24 00:00:00.000000000 Z
11
+ date: 2017-06-17 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.pre9
18
+ version: 4.0.0.pre10
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.pre9
26
+ version: 4.0.0.pre10
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.4.0
32
+ version: 0.5.0
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.4.0
40
+ version: 0.5.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
@@ -52,7 +52,8 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: Application packaging for Shoes, the best little GUI toolkit for Ruby. Shoes makes building for Mac, Windows, and Linux super simple.
55
+ description: Application packaging for Shoes, the best little GUI toolkit for Ruby.
56
+ Shoes makes building for Mac, Windows, and Linux super simple.
56
57
  email:
57
58
  - shoes@lists.mvmanila.com
58
59
  executables: []
@@ -83,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
84
  version: 1.3.1
84
85
  requirements: []
85
86
  rubyforge_project:
86
- rubygems_version: 2.6.10
87
+ rubygems_version: 2.6.11
87
88
  signing_key:
88
89
  specification_version: 4
89
90
  summary: Application packaging for Shoes, the best little GUI toolkit for Ruby.