motion-hockeyrink 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/lib/motion/project/hockeyapp.rb +23 -20
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
YzY0ZjcyZTlkODdlZTlhYjdhMzg0NmE0OTI2N2Y2ZWQ5OTk1ODRiNGEyYzFj
|
10
|
-
MDY0YzVhZjc5ZjIxODY4NWMyYjgzZDEwYjM5YWY1YTU0ZDE3Mjg2N2NhMDlm
|
11
|
-
OTU5ZmRmYzM1NTM0YTEyMWZkZDhmMzYzYjExNTU1ZDg2MmI0N2I=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NWViYjZhNzEyZDYxMTNjYmQ3ODlkMDdlY2ExOGIwOThmOGMxYzQ4ODBkMGQy
|
14
|
-
YjJjMzE2YjVhZDQyMzgzMzQ2YWI2ZTdlZTM3NDlkZThlOTUxODY1ODBjNmYx
|
15
|
-
NmZkZTQwZmQ0NzZlMmY3OWNlNWQwZDk4OGM1Yzk0ZmI1MzdmOWE=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 13c7aeea3c16801dd995b708402b0b7962e8304d
|
4
|
+
data.tar.gz: a708c461ebb16e91ee9f31685bc7aaac2478df27
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 710963c4ee4dd42fa3f607011b5b52eaeff4af09a46b8eb992dd16a639a59ec4cc0c672dfd7c532a940673bcd9d330015077b2e5ee5c6dbe5fac7c7831d0868f
|
7
|
+
data.tar.gz: c983415f8d9b53b063fa34e73b47ceea5e36693892795217f99dec4b0cb63c523cf72979e2a3a7de3984694d7051685f150a7627ec0ef0068b77f52a8549615a
|
@@ -48,29 +48,32 @@ module Motion; module Project; class Config
|
|
48
48
|
end; end; end
|
49
49
|
|
50
50
|
namespace 'hockeyapp' do
|
51
|
-
desc "
|
52
|
-
task :
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
prefs.send("#{config}=", value)
|
68
|
-
end
|
51
|
+
desc "Build an archive for HockeyApp"
|
52
|
+
task :build do
|
53
|
+
# Set the build status
|
54
|
+
App.config_without_setup.hockeyapp_mode = true
|
55
|
+
|
56
|
+
# Validate configuration settings.
|
57
|
+
prefs = App.config.hockeyapp
|
58
|
+
App.fail "A value for app.hockeyapp.api_token is mandatory" unless prefs.api_token
|
59
|
+
App.fail "A value for app.hockeyapp.app_id is mandatory" unless prefs.app_id
|
60
|
+
|
61
|
+
# Allow CLI overrides for all properties
|
62
|
+
env_configs = HockeyAppConfig::PROPERTIES
|
63
|
+
env_configs.each do |config|
|
64
|
+
value = ENV[config.to_s]
|
65
|
+
if value
|
66
|
+
prefs.send("#{config}=", value)
|
69
67
|
end
|
68
|
+
end
|
70
69
|
|
71
|
-
|
72
|
-
|
70
|
+
# Create an archive
|
71
|
+
Rake::Task["archive"].invoke
|
72
|
+
end
|
73
73
|
|
74
|
+
desc "Submit an archive to HockeyApp"
|
75
|
+
task :submit => [:build] do
|
76
|
+
begin
|
74
77
|
# An archived version of the .dSYM bundle is needed.
|
75
78
|
app_dsym = App.config.app_bundle('iPhoneOS').sub(/\.app$/, '.dSYM')
|
76
79
|
app_dsym_zip = app_dsym + '.zip'
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-hockeyrink
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clay Allsopp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hockeyapp-config
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '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: '0'
|
27
27
|
description: motion-hockeyrink allows RubyMotion projects to easily embed the HockeyApp
|
@@ -44,12 +44,12 @@ require_paths:
|
|
44
44
|
- lib
|
45
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - '>='
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
@@ -59,3 +59,4 @@ signing_key:
|
|
59
59
|
specification_version: 4
|
60
60
|
summary: HockeyApp integration for RubyMotion projects
|
61
61
|
test_files: []
|
62
|
+
has_rdoc:
|