wrapp 0.2.0 → 0.2.1
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.
- data/README.md +5 -5
- data/lib/wrapp/cli.rb +6 -1
- data/lib/wrapp/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
|
@@ -40,16 +40,16 @@ Wrap the *Chunky Bacon* App:
|
|
|
40
40
|
wrapp /Applications/Chunky\ Bacon.app
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Wrap the *Chunky Bacon* App and include the parent directory
|
|
44
|
-
like *TeamViewer* or *FileMaker* reside in
|
|
45
|
-
`/Applications` rather then the top-level):
|
|
43
|
+
Wrap the *Chunky Bacon* App and include the parent directory with all
|
|
44
|
+
the content (some stuff like *TeamViewer* or *FileMaker* reside in
|
|
45
|
+
sub-directories of `/Applications` rather then the top-level itself):
|
|
46
46
|
|
|
47
47
|
```
|
|
48
48
|
wrapp --include-parent-dir /Applications/why/Chunky Bacon.app
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
The commands create a DMG like `chunky_bacon_1.2.3.dmg`
|
|
52
|
-
App
|
|
51
|
+
The commands create a DMG like `chunky_bacon_1.2.3.dmg` that contains
|
|
52
|
+
the given App. (the filename automatically includes the name and version).
|
|
53
53
|
|
|
54
54
|
Thats it.
|
|
55
55
|
|
data/lib/wrapp/cli.rb
CHANGED
|
@@ -2,8 +2,13 @@ module Wrapp
|
|
|
2
2
|
class CLI
|
|
3
3
|
include Mixlib::CLI
|
|
4
4
|
|
|
5
|
+
banner "Usage: #{File.basename($0)} [options] APP_PATH"
|
|
6
|
+
|
|
5
7
|
option :include_parent_dir,
|
|
6
|
-
:long => '--include-parent-dir'
|
|
8
|
+
:long => '--include-parent-dir',
|
|
9
|
+
:short => '-i',
|
|
10
|
+
:description => "Include the App's parent directory in the DMG with all(!!!) content.",
|
|
11
|
+
:boolean => true
|
|
7
12
|
|
|
8
13
|
class << self
|
|
9
14
|
def run
|
data/lib/wrapp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wrapp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -183,7 +183,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
183
183
|
version: '0'
|
|
184
184
|
segments:
|
|
185
185
|
- 0
|
|
186
|
-
hash:
|
|
186
|
+
hash: -527064214639857781
|
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
none: false
|
|
189
189
|
requirements:
|
|
@@ -192,13 +192,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
192
|
version: '0'
|
|
193
193
|
segments:
|
|
194
194
|
- 0
|
|
195
|
-
hash:
|
|
195
|
+
hash: -527064214639857781
|
|
196
196
|
requirements: []
|
|
197
197
|
rubyforge_project:
|
|
198
198
|
rubygems_version: 1.8.23
|
|
199
199
|
signing_key:
|
|
200
200
|
specification_version: 3
|
|
201
|
-
summary: wrapp-0.2.
|
|
201
|
+
summary: wrapp-0.2.1
|
|
202
202
|
test_files:
|
|
203
203
|
- features/step_definitions/wrapp_steps.rb
|
|
204
204
|
- features/support/app.rb
|