longbow 0.2.0 → 0.3.0
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 +4 -4
- data/lib/longbow/images.rb +2 -2
- data/lib/longbow/targets.rb +3 -2
- data/lib/longbow/utilities.rb +8 -0
- data/lib/longbow/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0474cbb4b0559735ed51cf99fe4c88a2a6cba13
|
4
|
+
data.tar.gz: a93cf3a6c7280fe6aa8ed9e0a9c6e20a019919ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf807c8b352188c53890b3db79076e2970f1893207d14abe4a31a82f72dbc615d530682fe0bd4a5e8709baa5259b1876eca36729a380b98f8eeaae9347598afa
|
7
|
+
data.tar.gz: cb760751c7aea232dd3ae28870b8592d4a11af53915109ea8443a4572b26af340981e57e7519a9447c27586c17797e2e00713474e15ce484e8ef8145a07b22aa
|
data/lib/longbow/images.rb
CHANGED
@@ -5,6 +5,7 @@ include Magick
|
|
5
5
|
require 'colors'
|
6
6
|
require 'xcodeproj'
|
7
7
|
require 'open-uri'
|
8
|
+
require 'utilities'
|
8
9
|
|
9
10
|
module Longbow
|
10
11
|
|
@@ -355,7 +356,7 @@ module Longbow
|
|
355
356
|
# Asset Directory Methods
|
356
357
|
def self.make_asset_directory directory, target, path_extension
|
357
358
|
asset_path = assets_file_path directory
|
358
|
-
full_path = asset_path + '/' + target + path_extension
|
359
|
+
full_path = asset_path + '/' + Longbow::stripped_text(target) + path_extension
|
359
360
|
FileUtils::mkdir_p full_path
|
360
361
|
return full_path
|
361
362
|
end
|
@@ -384,5 +385,4 @@ module Longbow
|
|
384
385
|
return img_path + img_file_name
|
385
386
|
end
|
386
387
|
|
387
|
-
|
388
388
|
end
|
data/lib/longbow/targets.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'xcodeproj'
|
2
2
|
require 'colors'
|
3
3
|
require 'plist'
|
4
|
+
require 'utilities'
|
4
5
|
|
5
6
|
module Longbow
|
6
7
|
|
@@ -59,8 +60,8 @@ module Longbow
|
|
59
60
|
|
60
61
|
# Plist & Icons
|
61
62
|
settings['INFOPLIST_FILE'] = main_plist.split('/')[0] + '/' + target + '-info.plist'
|
62
|
-
settings['ASSETCATALOG_COMPILER_APPICON_NAME'] = target if icon
|
63
|
-
settings['ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME'] = target if launch
|
63
|
+
settings['ASSETCATALOG_COMPILER_APPICON_NAME'] = Longbow::stripped_text(target) if icon
|
64
|
+
settings['ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME'] = Longbow::stripped_text(target) if launch
|
64
65
|
settings['SKIP_INSTALL'] = 'NO'
|
65
66
|
|
66
67
|
if File.exists? directory + '/Pods'
|
data/lib/longbow/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: longbow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Intermark Interactive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -141,6 +141,7 @@ files:
|
|
141
141
|
- ./lib/longbow/json.rb
|
142
142
|
- ./lib/longbow/plist.rb
|
143
143
|
- ./lib/longbow/targets.rb
|
144
|
+
- ./lib/longbow/utilities.rb
|
144
145
|
- ./lib/longbow/version.rb
|
145
146
|
- ./lib/longbow.rb
|
146
147
|
- ./LICENSE.txt
|