gom-client 0.0.2 → 0.0.3

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: 47c079f7884f7690f09f7ce8c4c0a50bfc65e38e
4
- data.tar.gz: 6231c9a90c47c9fa3f791b350e99e3219bbcd018
3
+ metadata.gz: c06e6999aeb7d00cb0ebf5c465dd52414dac4d81
4
+ data.tar.gz: a94203a788aad422d41b09e3bd3064694b24c05f
5
5
  SHA512:
6
- metadata.gz: e0c2f0fefd4cd006b1dad046c576ba8cd1e1720a763a502c062c8629ff18ab42ef30ef26ab019ca7e81bfc102333b36560eaa5af6adc1ad4f558f8eb474e064e
7
- data.tar.gz: 63e505910da3384fca83820a086ac192de61280f1e1f3a397941bcbf5aa02522a6221a6fd938cff1e0011a9b9704abbf70ce074affa7037a1d8d1f8d6b571017
6
+ metadata.gz: 20267fb03db364aa46f7cbb434f966a66e495335fcdb096b2c79c81fca32cb49a02c205a8352793b14fccc7d725691cd9adacf43a9c9bb00e641f8a03738809d
7
+ data.tar.gz: ef0d0622e1e53ab61e96566e6a333665437cc93fcdf692b4e3aa59d5dfc1fd646329857735f59700565e5fc739a353b51a9f19e0f5771decd67fc0b87c1bd8d1
@@ -1,6 +1,6 @@
1
1
  module Gom
2
2
  class Client
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  DATE = '2013-08-15'
5
5
  end
6
6
  end
@@ -12,11 +12,11 @@ describe Gom::Client do
12
12
  #let(:prefix) { "/tests/08ec4b58-38b3-44ac-9ea9-62b42a62b061" }
13
13
 
14
14
  before(:all) {
15
- VCR.insert_cassette('127.0.0.1:3000', :record => :new_episodes)
16
- # VCR.insert_cassette('gom.dev.artcom.de', :record => :new_episodes)
15
+ VCR.insert_cassette('127.0.0.1:3000', :record => :new_episodes)
16
+ # VCR.insert_cassette('gom.dev.artcom.de', :record => :new_episodes)
17
17
  }
18
18
  after(:all) {
19
- VCR.eject_cassette
19
+ VCR.eject_cassette
20
20
  }
21
21
 
22
22
  it 'creates and retrieves new node with no attributes' do
@@ -64,6 +64,15 @@ describe Gom::Client do
64
64
  hash[:attribute][:value].should eq(val)
65
65
  end
66
66
 
67
+ pending 'updates attribute with UTF charachter' do
68
+ uri = uniq_attr_uri
69
+ val = 'some UTF text: öäüßÖÄÜ'
70
+ (gom.update uri, val).should eq(val)
71
+ (hash = gom.retrieve uri).should be_kind_of(Hash)
72
+ hash[:attribute].should be
73
+ hash[:attribute][:value].should eq(val)
74
+ end
75
+
67
76
  it 'updates attribute containing ampersand' do
68
77
  uri = uniq_attr_uri
69
78
  val = 'Hallo & Ciao'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gom-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ART+COM