build_47 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/build_47 +1 -1
- data/lib/build_47.rb +8 -10
- metadata +33 -38
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e193e36ec44ee24cf4ad58865e07b66616aeafa6c05808db54e1ca77459b69c4
|
4
|
+
data.tar.gz: 22be370aeb1f22bc1e5b64e1b1568237ca698c5f3ed507b1ba57f7662a2a62ca
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3a28033e94ed098e37604b7640584b4114d3c933d6a6e9305e36e0ef02fccc9579e87fee357ff075ec19530ea6daae317eaef3321eadbcde0d3816d570d1400c
|
7
|
+
data.tar.gz: f0aa81caa93908a18c59445a434e366a19a8054e4c6a937487b0176ef822524d14bf8e5941d796ba1642cd04ca718eaed2d637403b5667d21d742d75bb056be5
|
data/bin/build_47
CHANGED
data/lib/build_47.rb
CHANGED
@@ -8,18 +8,16 @@ class Build47
|
|
8
8
|
|
9
9
|
def push(app_id, platform, env, file_path, release_notes)
|
10
10
|
build_doc = {
|
11
|
-
:
|
12
|
-
:
|
13
|
-
:
|
14
|
-
:
|
15
|
-
:
|
16
|
-
:
|
11
|
+
build: {
|
12
|
+
platform: platform,
|
13
|
+
environment: env,
|
14
|
+
upload: File.new(file_path),
|
15
|
+
build_file: file_path.split('/')[-1],
|
16
|
+
release_notes: release_notes,
|
17
|
+
make_active: true
|
17
18
|
}
|
18
19
|
}
|
19
|
-
response = RestClient.post "https://cirrus.app47.com/api/apps/#{app_id}/builds", build_doc, {"X-Token"=> @token, :
|
20
|
+
response = RestClient.post "https://cirrus.app47.com/api/apps/#{app_id}/builds", build_doc, {"X-Token"=> @token, accept: :json}
|
20
21
|
puts "response code: #{response.code}"
|
21
22
|
end
|
22
|
-
|
23
23
|
end
|
24
|
-
|
25
|
-
|
metadata
CHANGED
@@ -1,65 +1,60 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: build_47
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.1.5
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.6
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- Andrew Glover
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2018-06-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
16
14
|
name: rest-client
|
17
|
-
|
18
|
-
|
19
|
-
none: false
|
20
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
21
17
|
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
18
|
+
- !ruby/object:Gem::Version
|
23
19
|
version: 1.6.0
|
24
20
|
type: :runtime
|
25
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.6.0
|
26
27
|
description: A simple Ruby utility for pushing builds to App47
|
27
|
-
email:
|
28
|
-
executables:
|
28
|
+
email: support@app47.com
|
29
|
+
executables:
|
29
30
|
- build_47
|
30
31
|
extensions: []
|
31
|
-
|
32
32
|
extra_rdoc_files: []
|
33
|
-
|
34
|
-
files:
|
35
|
-
- lib/build_47.rb
|
33
|
+
files:
|
36
34
|
- bin/build_47
|
35
|
+
- lib/build_47.rb
|
37
36
|
homepage: https://github.com/App47/build_47
|
38
37
|
licenses: []
|
39
|
-
|
38
|
+
metadata: {}
|
40
39
|
post_install_message:
|
41
40
|
rdoc_options: []
|
42
|
-
|
43
|
-
require_paths:
|
41
|
+
require_paths:
|
44
42
|
- lib
|
45
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
-
|
47
|
-
requirements:
|
43
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
48
45
|
- - ">="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version:
|
51
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
-
|
53
|
-
requirements:
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
54
50
|
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version:
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0'
|
57
53
|
requirements: []
|
58
|
-
|
59
54
|
rubyforge_project:
|
60
|
-
rubygems_version:
|
55
|
+
rubygems_version: 2.7.6
|
61
56
|
signing_key:
|
62
57
|
specification_version: 3
|
63
|
-
summary: Pushes an iOS or Android build file to App47 for distribution via an App
|
58
|
+
summary: Pushes an iOS or Android build file to App47 for distribution via an App
|
59
|
+
store.
|
64
60
|
test_files: []
|
65
|
-
|