majestic-api 1.4.1 → 1.4.2
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.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/lib/majestic/api/client.rb +3 -3
- data/lib/majestic/api/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3930c8f720a3073af4e3ae8cfaa4b8c7bbf2c0f532505be161fb4e6c2f1a241
|
|
4
|
+
data.tar.gz: 49af3d227d92e7482211e8240f7030da9241a975e3eed966d2ad85e500496b9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f1e499e7907fe6ffd48cb836f32472503b242b108015cf87ea4438affbee2e0f35bac702736cf6a38987051217bdda4c990f82cab79c972aea4bbf4a347dc6e
|
|
7
|
+
data.tar.gz: a89eb0bb303c1944ae0d216160ecf67469aea8e86881e0f49ef1e6f94ae1acf71ee246ad0e582a32f73fd59099075723e808cb8faf5b12f4a38735ff7db20ec6
|
data/.gitignore
CHANGED
data/lib/majestic/api/client.rb
CHANGED
|
@@ -14,10 +14,10 @@ module Majestic
|
|
|
14
14
|
|
|
15
15
|
def set_api_url(format = :json)
|
|
16
16
|
self.api_url = case self.configuration.environment.to_sym
|
|
17
|
-
when :sandbox then "
|
|
18
|
-
when :production then "
|
|
17
|
+
when :sandbox then "https://developer.majestic.com/api/#{format}"
|
|
18
|
+
when :production then "https://api.majestic.com/api/#{format}"
|
|
19
19
|
else
|
|
20
|
-
"
|
|
20
|
+
"https://developer.majestic.com/api/#{format}"
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
|
data/lib/majestic/api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: majestic-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sebastian Johnsson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|