high_five 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.ruby-version +1 -1
- data/Gemfile.lock +11 -11
- data/lib/high_five/thor/tasks/distribution.rb +5 -2
- data/lib/high_five/version.rb +1 -1
- metadata +32 -32
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OTgxMjUyMThjYzU1ZjcyZDRjYzE5ZmVmZTU3MjU1NmU4ODY4MWVmNg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e5f7d42bb7b3d09b745cdbcd3b708851560e8beb
|
4
|
+
data.tar.gz: 60f79deaf3a7a25338c665e064cfcd1202ec2d14
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZjA3NGRlMjk5ZjkzNDdlMGFlY2Q1MmFkMWMwMThhYTMxNzhjYWQ2ZTZkODUy
|
11
|
-
NzYxZWJiMmU2MTE3NjY1ZjcxODMzYzA0NmQxNmRhZjAxZDEzMzg=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZDg0ZGIyZWQyZTE2NGMxNjNhNmMyNWUwN2YxMjA5MjQ3ZDhlZDg1Yjk3ZmFi
|
14
|
-
ZWRmZmExNGM3ZTQ0MGU4ZWNhM2FhMDMwMzcwOGRmNGI2NmZjZWU3NGExM2E1
|
15
|
-
ZGQxZTUxNmE4NmE2MzU5OWJiYTg0ZjhlNjE2ZDZiN2E1Njc0OGE=
|
6
|
+
metadata.gz: 2d5f35ddecac0e51b629f65df5429315fb200e1517ce0aa6fd53418d11dc6515ce5cca185d54db14aeaa51a355c93ab746d802723f14bf960e64f60149667496
|
7
|
+
data.tar.gz: 34f6731d5b681cde87654f4ebb89ed5e656b0f17dd7d58692b9a17beebea93245797c545e8cba314e61527f11ea42b7bad69a6cda6c2046dfada8b1b5cc3c608
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1
|
1
|
+
2.1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
high_five (0.2.
|
4
|
+
high_five (0.2.5)
|
5
5
|
chunky_png
|
6
6
|
coffee-script (~> 2.2.0)
|
7
7
|
compass (~> 0.12.2)
|
@@ -20,24 +20,24 @@ GEM
|
|
20
20
|
Platform (>= 0.4.0)
|
21
21
|
open4
|
22
22
|
Platform (0.4.0)
|
23
|
-
chunky_png (1.3.
|
23
|
+
chunky_png (1.3.1)
|
24
24
|
coffee-script (2.2.0)
|
25
25
|
coffee-script-source
|
26
26
|
execjs
|
27
27
|
coffee-script-source (1.7.0)
|
28
|
-
compass (0.12.
|
28
|
+
compass (0.12.6)
|
29
29
|
chunky_png (~> 1.2)
|
30
30
|
fssm (>= 0.2.7)
|
31
|
-
sass (~> 3.2.
|
31
|
+
sass (~> 3.2.19)
|
32
32
|
diff-lcs (1.2.5)
|
33
|
-
execjs (2.0
|
33
|
+
execjs (2.1.0)
|
34
34
|
fssm (0.2.10)
|
35
35
|
hike (1.2.3)
|
36
|
-
mini_portile (0.
|
37
|
-
multi_json (1.
|
38
|
-
nokogiri (1.6.1)
|
39
|
-
mini_portile (
|
40
|
-
open4 (1.3.
|
36
|
+
mini_portile (0.6.0)
|
37
|
+
multi_json (1.10.1)
|
38
|
+
nokogiri (1.6.2.1)
|
39
|
+
mini_portile (= 0.6.0)
|
40
|
+
open4 (1.3.4)
|
41
41
|
plist (3.1.0)
|
42
42
|
rack (1.5.2)
|
43
43
|
rspec (2.13.0)
|
@@ -49,7 +49,7 @@ GEM
|
|
49
49
|
diff-lcs (>= 1.1.3, < 2.0)
|
50
50
|
rspec-mocks (2.13.1)
|
51
51
|
sass (3.2.19)
|
52
|
-
sprockets (2.12.
|
52
|
+
sprockets (2.12.1)
|
53
53
|
hike (~> 1.2)
|
54
54
|
multi_json (~> 1.0)
|
55
55
|
rack (~> 1.0)
|
@@ -17,6 +17,7 @@ module HighFive
|
|
17
17
|
method_option :target, :desc => "iOS target to build (can also be set in environment)"
|
18
18
|
method_option :install, :aliases => "-i", type: :boolean, :desc => "Install on device after building"
|
19
19
|
method_option :environment, :aliases => "-e", :desc => "Environemnt [production|development]", :default => "development"
|
20
|
+
method_option :"ant-flags", :desc => "Additional flags to pass directly to ant (android only)"
|
20
21
|
|
21
22
|
def dist(platform)
|
22
23
|
@environment = options[:environment]
|
@@ -58,17 +59,19 @@ module HighFive
|
|
58
59
|
ENV['uuid'] = uuid
|
59
60
|
FileUtils.cp(@provisioning_profile, "#{ENV['HOME']}/Library/MobileDevice/Provisioning Profiles/#{uuid}.mobileprovision")
|
60
61
|
system(%Q(cd "#{ios_path}";
|
61
|
-
/usr/bin/xcodebuild -target "#{ios_target}" -configuration Release build "CONFIGURATION_BUILD_DIR=#{ios_path}/build" "CODE_SIGN_IDENTITY=#{@sign_identity}" PROVISIONING_PROFILE=$uuid))
|
62
|
+
/usr/bin/xcodebuild -target "#{ios_target}" -configuration Release clean build "CONFIGURATION_BUILD_DIR=#{ios_path}/build" "CODE_SIGN_IDENTITY=#{@sign_identity}" PROVISIONING_PROFILE=$uuid))
|
62
63
|
system(%Q(/usr/bin/xcrun -sdk iphoneos PackageApplication -v "#{ios_path}/build/#{ios_target}.app" -o "#{ios_path}/build/#{@output_file_name}.ipa" --embed "#{@provisioning_profile}" --sign "#{@sign_identity}"))
|
63
64
|
end
|
64
65
|
end
|
65
66
|
|
66
67
|
desc "dist_android [ANDROID_PATH]", "Create a distribution package for android"
|
67
68
|
method_option :output_file_name, :aliases => "-o", :desc => "Name of the final output file. Defaults to project_name.apk/ipa"
|
69
|
+
method_option :"ant-flags", :desc => "Additional flags to pass directly to ant"
|
68
70
|
def dist_android(android_path)
|
69
71
|
@output_file_name = options[:output_file_name]
|
72
|
+
ant_flags = options[:"ant-flags"] || ""
|
70
73
|
system("android update project --path #{android_path} --subprojects")
|
71
|
-
system("ant -file '#{android_path}/build.xml' release")
|
74
|
+
system("ant -file '#{android_path}/build.xml' release #{ant_flags}")
|
72
75
|
|
73
76
|
android_name = HighFive::AndroidHelper.project_name_from_build_xml("#{android_path}/build.xml")
|
74
77
|
if @output_file_name
|
data/lib/high_five/version.rb
CHANGED
metadata
CHANGED
@@ -1,171 +1,171 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: high_five
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Samson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: thor
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.17.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.17.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: compass
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.12.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.12.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: yui-compressor
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.9.6
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.9.6
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: uglifier
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.1.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.1.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: sprockets
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '2.0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '2.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: coffee-script
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 2.2.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 2.2.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: plist
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '3.0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '3.0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: nokogiri
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 1.5.0
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 1.5.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: chunky_png
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rspec
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: 2.13.0
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 2.13.0
|
167
|
-
description:
|
168
|
-
|
167
|
+
description: "Build, minify, and deal with different platforms and environments for
|
168
|
+
your HTML5 app.\n This is often used with PhoneGap but designed not to require
|
169
169
|
it, and high_five can be used to deploy any kind of HTML/JS/CSS-based\n application
|
170
170
|
that requires different deployment configurations.\n "
|
171
171
|
email:
|
@@ -175,10 +175,10 @@ executables:
|
|
175
175
|
extensions: []
|
176
176
|
extra_rdoc_files: []
|
177
177
|
files:
|
178
|
-
- .gitignore
|
179
|
-
- .rspec
|
180
|
-
- .ruby-gemset
|
181
|
-
- .ruby-version
|
178
|
+
- ".gitignore"
|
179
|
+
- ".rspec"
|
180
|
+
- ".ruby-gemset"
|
181
|
+
- ".ruby-version"
|
182
182
|
- Gemfile
|
183
183
|
- Gemfile.lock
|
184
184
|
- README.md
|
@@ -240,12 +240,12 @@ require_paths:
|
|
240
240
|
- lib
|
241
241
|
required_ruby_version: !ruby/object:Gem::Requirement
|
242
242
|
requirements:
|
243
|
-
- -
|
243
|
+
- - ">="
|
244
244
|
- !ruby/object:Gem::Version
|
245
245
|
version: '0'
|
246
246
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- -
|
248
|
+
- - ">="
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
requirements: []
|