sentimeta 0.1.21 → 0.1.22

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf698f74f813268cf21427474b4200a35c06f4a3
4
- data.tar.gz: beeb1b8646ebd250f563ba786a6bc6cbc06d6e6a
3
+ metadata.gz: 0a9728aa52502080efdbde6579fea13acde0c413
4
+ data.tar.gz: 420366b15a3750408ebb3f7d9d0251c395ff88e1
5
5
  SHA512:
6
- metadata.gz: b35802a495948856e711dee3d5fa19464574dc9926f7c017575315b422a790120f4b1a40db3a60a30a84fc9d1af19eb44b213135180ac70ecc4ea10e6e811325
7
- data.tar.gz: 3193d7ffde424aaed2de5a35c0782bcc155ed1426900dfb1885e41a533c5dbf632a6e09d67fe457ef02091e16444a02de3935e86a59e023a6a670b9ee9002bfd
6
+ metadata.gz: cdee54430b928171b4e3ab4aef69c19f56b3142e94c80ae208985c2c8d6535c4f077331533a8bf8a43822fafe083c50fb8a4b6985aee148608ee9f4387dabf25
7
+ data.tar.gz: 54fb0e605321fbc5783e93836d705b0a89e2d51955fd031c29b4b24879a4450154fdcd2c397140526d29d512c4adf9229a521f9b6c2594f2d16c67d26b4d6036
@@ -2,7 +2,7 @@ production:
2
2
  url: 'http://127.0.0.1/api/v1'
3
3
 
4
4
  staging:
5
- url: 'http://stagig-api.sentimeta.com/api/v1'
5
+ url: 'http://staging-api.sentimeta.com/api/v1'
6
6
 
7
7
  test:
8
- url: 'http://stagig-api.sentimeta.com/api/v1'
8
+ url: 'http://staging-api.sentimeta.com/api/v1'
@@ -1,3 +1,3 @@
1
1
  module Sentimeta
2
- VERSION = "0.1.21"
2
+ VERSION = "0.1.22"
3
3
  end
@@ -12,25 +12,25 @@ describe Sentimeta::RestClient, :vcr do
12
12
  it 'works without options' do
13
13
  expect(
14
14
  subject.generate_uri(:spheres)
15
- ).to eq 'http://stagig-api.sentimeta.com/api/v1/spheres'
15
+ ).to eq 'http://staging-api.sentimeta.com/api/v1/spheres'
16
16
  end
17
17
 
18
18
  it 'generate right uri for attributes' do
19
19
  expect(
20
20
  subject.generate_uri(:attributes, filter: 'actors', sphere: 'movies')
21
- ).to eq 'http://stagig-api.sentimeta.com/api/v1/movies/attributes/actors'
21
+ ).to eq 'http://staging-api.sentimeta.com/api/v1/movies/attributes/actors'
22
22
  end
23
23
 
24
24
  it 'generate right uri for prices' do
25
25
  expect(
26
26
  subject.generate_uri(:prices, provider: 'booking', sphere: 'hotels')
27
- ).to eq 'http://stagig-api.sentimeta.com/api/v1/hotels/prices/booking'
27
+ ).to eq 'http://staging-api.sentimeta.com/api/v1/hotels/prices/booking'
28
28
  end
29
29
 
30
30
  it 'puts id at the end of URI' do
31
31
  expect(
32
32
  subject.generate_uri(:prices, id: 12345, provider: 'booking', sphere: 'hotels')
33
- ).to eq 'http://stagig-api.sentimeta.com/api/v1/hotels/prices/booking/12345'
33
+ ).to eq 'http://staging-api.sentimeta.com/api/v1/hotels/prices/booking/12345'
34
34
  end
35
35
  end
36
36
 
@@ -45,7 +45,7 @@ describe Sentimeta::RestClient, :vcr do
45
45
 
46
46
  it 'sends right request' do
47
47
  expect(::RestClient::Request).to receive(:execute)
48
- .with(hash_including(url: 'http://stagig-api.sentimeta.com/api/v1/hotels/catalog'))
48
+ .with(hash_including(url: 'http://staging-api.sentimeta.com/api/v1/hotels/catalog'))
49
49
  .and_call_original
50
50
 
51
51
  subject.fetch 'catalog', sphere: 'hotels'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentimeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Shpakov