zendesk_apps_tools 1.18.2 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 218892c47df72fde58c138380d018a29ba6163c2
|
4
|
+
data.tar.gz: aafaf350cbd99f8c150a57a4192c3acc34b0d1ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dffdcadb0e6a137b34f3635695eb4cf9717ecac1f2ec655f8c1d1fe92eb1d286f6c7cd74cecec14bd254a0c7e7012c3bf6ece4195b6b19a7b785c2cf5ea701e8
|
7
|
+
data.tar.gz: 426348f984de10bfcf290073a1b9727cb3bfd5b62842fe66116b6a7f3251caf828655f3b53bfbec4f360f2e1dfc95f78f4f9363ad76e9ba21f6d49ea9bd8f841
|
@@ -6,7 +6,6 @@ require 'zendesk_apps_tools/directory'
|
|
6
6
|
require 'zendesk_apps_tools/package_helper'
|
7
7
|
require 'zendesk_apps_tools/settings'
|
8
8
|
require 'zendesk_apps_tools/translate'
|
9
|
-
require 'zendesk_apps_tools/validate_helper'
|
10
9
|
|
11
10
|
module ZendeskAppsTools
|
12
11
|
module CommandHelpers
|
@@ -16,6 +15,5 @@ module ZendeskAppsTools
|
|
16
15
|
include ZendeskAppsTools::Deploy
|
17
16
|
include ZendeskAppsTools::Directory
|
18
17
|
include ZendeskAppsTools::PackageHelper
|
19
|
-
include ZendeskAppsTools::ValidateHelper
|
20
18
|
end
|
21
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zendesk_apps_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James A. Rosen
|
@@ -11,146 +11,146 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-06-
|
14
|
+
date: 2014-06-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: thor
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 0.18.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 0.18.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rubyzip
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
|
-
- -
|
34
|
+
- - ~>
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 0.9.1
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 0.9.1
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: sinatra
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
|
-
- -
|
48
|
+
- - ~>
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: 1.3.4
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- -
|
55
|
+
- - ~>
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: 1.3.4
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: faraday
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- -
|
62
|
+
- - ~>
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: 0.8.7
|
65
65
|
type: :runtime
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ~>
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: 0.8.7
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: zendesk_apps_support
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
|
-
- -
|
76
|
+
- - ~>
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: 1.15.0
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - ~>
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: 1.15.0
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: cucumber
|
88
88
|
requirement: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
-
- -
|
90
|
+
- - '>='
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
type: :development
|
94
94
|
prerelease: false
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
|
-
- -
|
97
|
+
- - '>='
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: aruba
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- -
|
104
|
+
- - '>='
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: '0'
|
107
107
|
type: :development
|
108
108
|
prerelease: false
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- -
|
111
|
+
- - '>='
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: rspec
|
116
116
|
requirement: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
|
-
- -
|
118
|
+
- - '>='
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
123
|
version_requirements: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
|
-
- -
|
125
|
+
- - '>='
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
- !ruby/object:Gem::Dependency
|
129
129
|
name: bump
|
130
130
|
requirement: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- -
|
132
|
+
- - '>='
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
type: :development
|
136
136
|
prerelease: false
|
137
137
|
version_requirements: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
|
-
- -
|
139
|
+
- - '>='
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
143
|
name: webmock
|
144
144
|
requirement: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
|
-
- -
|
146
|
+
- - '>='
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
type: :development
|
150
150
|
prerelease: false
|
151
151
|
version_requirements: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
|
-
- -
|
153
|
+
- - '>='
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: '0'
|
156
156
|
description: Tools to help you develop Zendesk Apps.
|
@@ -194,7 +194,6 @@ files:
|
|
194
194
|
- lib/zendesk_apps_tools/server.rb
|
195
195
|
- lib/zendesk_apps_tools/settings.rb
|
196
196
|
- lib/zendesk_apps_tools/translate.rb
|
197
|
-
- lib/zendesk_apps_tools/validate_helper.rb
|
198
197
|
- templates/translation.erb.tt
|
199
198
|
homepage: http://github.com/zendesk/zendesk_apps_tools
|
200
199
|
licenses:
|
@@ -206,12 +205,12 @@ require_paths:
|
|
206
205
|
- lib
|
207
206
|
required_ruby_version: !ruby/object:Gem::Requirement
|
208
207
|
requirements:
|
209
|
-
- -
|
208
|
+
- - '>='
|
210
209
|
- !ruby/object:Gem::Version
|
211
210
|
version: '0'
|
212
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
212
|
requirements:
|
214
|
-
- -
|
213
|
+
- - '>='
|
215
214
|
- !ruby/object:Gem::Version
|
216
215
|
version: 1.3.6
|
217
216
|
requirements: []
|
@@ -1,21 +0,0 @@
|
|
1
|
-
module ZendeskAppsTools
|
2
|
-
module ValidateHelper
|
3
|
-
|
4
|
-
DEFAULT_ZENDESK_URL = 'http://support.zendesk.com'
|
5
|
-
|
6
|
-
def test_framework_version
|
7
|
-
prompt = "Enter a zendesk URL that you'd like to install the app (for example: 'http://abc.zendesk.com', default to '#{DEFAULT_ZENDESK_URL}'):\n"
|
8
|
-
zendesk = get_value_from_stdin(prompt, :valid_regex => /^http:\/\/\w+\.\w+|^$/, :error_msg => 'Invalid url, try again:')
|
9
|
-
zendesk = DEFAULT_ZENDESK_URL if zendesk.empty?
|
10
|
-
url = URI.parse(zendesk)
|
11
|
-
response = Net::HTTP.start(url.host, url.port) { |http| http.get('/api/v2/apps/framework_versions.json') }
|
12
|
-
version = JSON.parse(response.body, :symbolize_names => true)
|
13
|
-
|
14
|
-
if ZendeskAppsSupport::AppVersion::CURRENT != version[:current]
|
15
|
-
puts 'This tool is using an out of date Zendesk App Framework. Please upgrade!'
|
16
|
-
exit 1
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
21
|
-
end
|