amaranth 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/amaranth/request.rb +1 -1
- data/lib/amaranth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41fff3b6c316afb752696d0db23b7cd10cae4153
|
4
|
+
data.tar.gz: e8c54802636ba6bb9629f5e225549d52d3849a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49a652968e6e700828e540419bd8551a4646b1a94677a4c5563611d28958950759dc2b53af2bfd69e959a34b26b2c79bc64ec8de9198f2b80198ea79de4488b4
|
7
|
+
data.tar.gz: 4826f362323dd59581e7b64d41c14a138b47470a050bdd01cc8d511d4e377e1300820b88ea254f94b7139ea70b82e9eef15f81237d40d1c37d078f56d1952d96
|
data/lib/amaranth/request.rb
CHANGED
@@ -27,7 +27,7 @@ module Amaranth
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def self.request req, body = nil
|
30
|
-
Net::HTTP.start("www.amara.org") do |http|
|
30
|
+
Net::HTTP.start("www.amara.org", use_ssl: true) do |http|
|
31
31
|
req["Content-Type"] = "application/json"
|
32
32
|
req["X-api-username"] = Amaranth.api_username
|
33
33
|
req["X-api-key"] = Amaranth.api_key
|
data/lib/amaranth/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amaranth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|