icapps-translations 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/icapps/translations/http.rb +1 -0
- data/lib/icapps/translations/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cab96f0d82d6376116970da936ba38f547dd07da
|
4
|
+
data.tar.gz: f290de2cb879cb094b2290266b0cbc0cf42351f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 142560d6db50ec98c4c78d6c1e4e8b2f42e08d593f933a9b01b7a25701b169bdeb181e07b56efb8bfbea571c78fd66537b341f1c963316e8a068fb4fd668eeba
|
7
|
+
data.tar.gz: 8674fe7031f0a389974ab8c5b80db14ef6230f0e0f5d1c91b5efaa26d1048c371cce04c600c0fcd85eecf0fe62488c00be7f26a27ce712f7dffc73e5650081a5
|
data/.gitignore
CHANGED
@@ -11,6 +11,7 @@ module Icapps
|
|
11
11
|
puts "[VERBOSE] Connecting to url '#{uri}'.".colorize(:white) if options[:verbose]
|
12
12
|
|
13
13
|
http = Net::HTTP.new(uri.host, uri.port)
|
14
|
+
http.use_ssl = uri.scheme == 'https'
|
14
15
|
request = Net::HTTP::Get.new(uri)
|
15
16
|
request.add_field 'Authorization', "Token token=#{config.project_key}"
|
16
17
|
response = http.request(request)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: icapps-translations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jelle Vandebeeck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.5.2
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Import translations from the iCapps translations portal.
|