wrapp 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 40c93543e0cd77a1baa9df614d75db5ea48377cf
4
+ data.tar.gz: d23d98c547556f4eb3b3c5c6a5745f6fe6a96109
5
+ SHA512:
6
+ metadata.gz: cda2fcf14485ab0aef3587f9b546f405e2d100fa28fdfc3b22453753ce980e4a5d96bdf59ad5095e3a3940d647b19ab6eb242c81a57eef9c5587b0c8c7966879
7
+ data.tar.gz: 3e6c45c4b97368ca26ab1dfc074f6c515ec3afd3eee394bef687a1ce4bcb80e24e00e7d88df239ee53b25ed40d2957b4ed1691f5522e9bccb2232fd2bd7cc714
data/README.md CHANGED
@@ -4,6 +4,7 @@ Wrap an App... in a disk image (DMG).
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/wrapp.png)](http://badge.fury.io/rb/wrapp)
6
6
 
7
+
7
8
  ## Prologue
8
9
 
9
10
  Say you wanna put your nice Mac OS X application in a handy disk image
@@ -11,22 +12,21 @@ Say you wanna put your nice Mac OS X application in a handy disk image
11
12
  Why not use *wrapp* for this?
12
13
  It is even shorter to type then `hdiutil` ;-)
13
14
 
14
- **NOTE: This runs on Mac OS X only!**
15
-
16
15
 
17
- ## Installation
16
+ ## Requirements
18
17
 
19
- Add this line to your application's Gemfile:
18
+ This obviously runs on Mac OS X only.
19
+ You also need to have Xcode and a recent Ruby version installed
20
+ (Mavericks ships with Ruby 2.0 which works fine).
20
21
 
21
- gem 'wrapp'
22
22
 
23
- And then execute:
23
+ ## Installation
24
24
 
25
- $ bundle
25
+ Install it yourself as:
26
26
 
27
- Or install it yourself as:
27
+ $ sudo gem install wrapp
28
28
 
29
- $ gem install wrapp
29
+ (Note: Rbenv/RVM users probably want to install without `sudo`.)
30
30
 
31
31
 
32
32
  ## Usage
@@ -1,5 +1,5 @@
1
1
  require 'aruba/cucumber'
2
2
 
3
3
  Before do
4
- @aruba_timeout_seconds = 10
4
+ @aruba_timeout_seconds = 20
5
5
  end
@@ -28,7 +28,7 @@ module Wrapp
28
28
  private
29
29
 
30
30
  def properties
31
- Plist::parse_xml plist
31
+ Plist4r.open plist
32
32
  end
33
33
  end
34
34
  end
data/lib/wrapp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wrapp
2
- VERSION = '0.2.3'
2
+ VERSION = '0.3.0'
3
3
  end
data/lib/wrapp.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'mixlib/cli'
2
- require 'plist'
2
+ require 'plist4r'
3
3
  require 'wrapp/version'
4
4
  require 'wrapp/app_info'
5
5
  require 'wrapp/dmg_builder'
@@ -32,7 +32,7 @@ module Wrapp
32
32
 
33
33
  describe '#properties' do
34
34
  it 'returns the app properties as hash' do
35
- Plist.should_receive(:parse_xml).with('Info.plist').
35
+ Plist4r.should_receive(:open).with('Info.plist').
36
36
  and_return(:plist_as_hash)
37
37
  expect(app.send(:properties)).to eq(:plist_as_hash)
38
38
  end
data/wrapp.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'plist', '~> 3.1'
21
+ spec.add_dependency 'plist4r', '~> 1.2'
22
22
  spec.add_dependency 'mixlib-cli', '~> 1.3'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.3'
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
5
- prerelease:
4
+ version: 0.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Björn Albers
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-18 00:00:00.000000000 Z
11
+ date: 2013-12-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: plist
14
+ name: plist4r
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: '3.1'
19
+ version: '1.2'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: '3.1'
26
+ version: '1.2'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: mixlib-cli
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,81 +55,71 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: guard
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: guard-cucumber
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: guard-rspec
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: aruba
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - '>='
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - '>='
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  description: Wrap an App... in a disk image (DMG)
@@ -171,34 +154,27 @@ files:
171
154
  homepage: https://github.com/bjoernalbers/wrapp
172
155
  licenses:
173
156
  - MIT
157
+ metadata: {}
174
158
  post_install_message:
175
159
  rdoc_options: []
176
160
  require_paths:
177
161
  - lib
178
162
  required_ruby_version: !ruby/object:Gem::Requirement
179
- none: false
180
163
  requirements:
181
- - - ! '>='
164
+ - - '>='
182
165
  - !ruby/object:Gem::Version
183
166
  version: '0'
184
- segments:
185
- - 0
186
- hash: -4452494712270023280
187
167
  required_rubygems_version: !ruby/object:Gem::Requirement
188
- none: false
189
168
  requirements:
190
- - - ! '>='
169
+ - - '>='
191
170
  - !ruby/object:Gem::Version
192
171
  version: '0'
193
- segments:
194
- - 0
195
- hash: -4452494712270023280
196
172
  requirements: []
197
173
  rubyforge_project:
198
- rubygems_version: 1.8.23
174
+ rubygems_version: 2.0.3
199
175
  signing_key:
200
- specification_version: 3
201
- summary: wrapp-0.2.3
176
+ specification_version: 4
177
+ summary: wrapp-0.3.0
202
178
  test_files:
203
179
  - features/step_definitions/wrapp_steps.rb
204
180
  - features/support/app.rb