dgate 1.0.0 → 1.0.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.
Files changed (5) hide show
  1. checksums.yaml +15 -0
  2. data/bin/dgate +2 -1
  3. data/dgate.gemspec +11 -0
  4. data/lib/dgate/version.rb +1 -1
  5. metadata +7 -16
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZGM4YzUzMmQ4ZDRiYjgzMzE4NDJjOWUwOGYzYmVkZTMwNjQ3NzkzZQ==
5
+ data.tar.gz: !binary |-
6
+ ZjY5ZGQ1ZjQ5YzVhZGQyYWM0NWExMTY2ZDE5YTI0YjNkMmZmYmJmMw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ODgyOThmMzU3YWU4ZDA0YzUyZTEzNzEwMWQyZjVmOTIyYWNiNDBiMzFlMWM2
10
+ ZDhmODNjZmM2YjMzOTEyNGMyOGE5NDgzNjM0NmJkMjU1OGNiOWFlMWE1Y2Uw
11
+ Y2UxNWE5ZTdjNDc1MDA4MTExZjZlNjVjMGZmYjMwYWIzNGNiODM=
12
+ data.tar.gz: !binary |-
13
+ MWVmYzg4YzE3ZGNmZGU3MzRmNTc0NTNjODBiZjY5ZDc0OGE0OWU0MmYzOTU2
14
+ YmY3MTNkMmZjNTVhNDdhOTMyNGU1YjFjNjk0NDJkMzgxMmFkZmM4OGI0YTcx
15
+ YzYwMTJlNjBmMzM3ZTJmZWVhMDQ1Yzc5MDQyMzhhZTg3NDA4NTY=
data/bin/dgate CHANGED
@@ -129,7 +129,7 @@ def do_push_file
129
129
  begin
130
130
  push_res = post_request(
131
131
  sprintf("/api/users/%s/apps",target_user),
132
- { :file => file , :message => message}
132
+ { :file => file , :message => message, :disable_notify => $disable_notify ? 'yes' : 'no'}
133
133
  )
134
134
  rescue => e
135
135
  if e.message == 'file'
@@ -198,6 +198,7 @@ parser = OptionParser.new do |option|
198
198
 
199
199
  option.on('-m', '--message=MESSAGE', '(push) optional message of this push') { |message| $message = message }
200
200
  option.on('-o', '--[no-]open', TrueClass, '(push) open with browser (Mac OS only)') { $open_with_browser = true }
201
+ option.on('--disable-notify', FalseClass, '(push) disable notify via email (iOS app only)') { $disable_notify = true }
201
202
 
202
203
  option.separator("")
203
204
  option.separator("Examples:")
@@ -12,6 +12,17 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = %q{A command-line interface for DeployGate}
13
13
  spec.homepage = "https://deploygate.com"
14
14
  spec.license = "Apache-2.0"
15
+ spec.post_install_message = <<"POST_INSTALL_MESSAGE"
16
+
17
+ dgate installed! To get started fast:
18
+
19
+ $ dgate push [app_file_path]
20
+
21
+ Or see the docs at:
22
+
23
+ https://deploygate.com/docs/cli
24
+
25
+ POST_INSTALL_MESSAGE
15
26
 
16
27
  spec.add_dependency 'json', '~> 1.7.4'
17
28
  spec.add_dependency 'httpclient', '~> 2.2.5'
@@ -1,3 +1,3 @@
1
1
  module Dgate
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dgate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - deploygate
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-07-01 00:00:00.000000000 Z
11
+ date: 2014-10-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: json
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: httpclient
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ! '>='
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ! '>='
76
67
  - !ruby/object:Gem::Version
@@ -95,26 +86,26 @@ files:
95
86
  homepage: https://deploygate.com
96
87
  licenses:
97
88
  - Apache-2.0
98
- post_install_message:
89
+ metadata: {}
90
+ post_install_message: ! "\ndgate installed! To get started fast:\n\n $ dgate push
91
+ [app_file_path]\n\nOr see the docs at:\n\n https://deploygate.com/docs/cli\n\n"
99
92
  rdoc_options: []
100
93
  require_paths:
101
94
  - lib
102
95
  required_ruby_version: !ruby/object:Gem::Requirement
103
- none: false
104
96
  requirements:
105
97
  - - ! '>='
106
98
  - !ruby/object:Gem::Version
107
99
  version: '0'
108
100
  required_rubygems_version: !ruby/object:Gem::Requirement
109
- none: false
110
101
  requirements:
111
102
  - - ! '>='
112
103
  - !ruby/object:Gem::Version
113
104
  version: '0'
114
105
  requirements: []
115
106
  rubyforge_project:
116
- rubygems_version: 1.8.23
107
+ rubygems_version: 2.2.2
117
108
  signing_key:
118
- specification_version: 3
109
+ specification_version: 4
119
110
  summary: A command-line interface for DeployGate
120
111
  test_files: []