qualtrics_api 0.0.13 → 0.0.14

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
  SHA256:
3
- metadata.gz: fb50ddee1036fc3427d0ef544b720df8cdb0377f45f2b31750b80b940efcd37c
4
- data.tar.gz: ab4cff3a77a42416b894fa14f70c66ec102a01d0b248588af84332aae8043461
3
+ metadata.gz: 14a8c584341554937f9191c5092906ecd8132a4e5a35c4bb9b8cfbfb28dda9e1
4
+ data.tar.gz: fcba2ec7a04c59497951c88bed64ce65655c3a9f4c799b5d0073b16d38f44c83
5
5
  SHA512:
6
- metadata.gz: 7658e9d9ebcbcea8e140048f0ec961ee8468516fba1b953557cf75daaca419e896095528284f8060357930e13386346f9a604af5260fa92b08f3781c586ca0a7
7
- data.tar.gz: 4e839ba0a562dff16581d909caea74e6f653c37d762e3ff7c13d86628667257737730ec0bdbf0fdf8317acc6d001bead75b66d39dab068738849e59b3705e322
6
+ metadata.gz: bdc4178b2d5c9b5117deaa74c61ee7c93e250f30953fa3c62370f77cc812707b0c06894251bc13012d6451d6e4048efb835a987ddd2922261252df52bfbac26d
7
+ data.tar.gz: f3cc2c6064c1a2ed083910e7cb87237dd2ef7081d7663991f2d71bc0b1229634c3c60799d22cf57ceead3622d2a84e93d91e6043e35f8e4943e0d5827e64557b
data/README.md CHANGED
@@ -23,6 +23,19 @@ Or install it yourself as:
23
23
 
24
24
  $ gem install qualtrics_api
25
25
 
26
+ ## Dependencies
27
+
28
+ Currently this gem is built & tested with Ruby 2.3.x.
29
+ Confirmed working with Ruby 2.4.x.
30
+
31
+ Requires Ruby >= 2.3
32
+
33
+ ```ruby
34
+ "faraday", "~> 0.13.1"
35
+ "faraday_middleware", "~> 0.12.2"
36
+ "virtus", "~> 1.0"
37
+ ```
38
+
26
39
  ## Usage
27
40
 
28
41
  ### Initialize
@@ -12,7 +12,7 @@ module QualtricsAPI
12
12
  def delete
13
13
  QualtricsAPI.connection(self)
14
14
  .delete(endpoint)
15
- .body["result"]
15
+ return true
16
16
  end
17
17
 
18
18
  private
@@ -1,3 +1,3 @@
1
1
  module QualtricsAPI
2
- VERSION = "0.0.13".freeze
2
+ VERSION = "0.0.14".freeze
3
3
  end
@@ -43,7 +43,8 @@ describe QualtricsAPI::EventSubscription do
43
43
  VCR.use_cassette("event_subscription_delete") do
44
44
  sub_id = 'SUB_2i7QDi3PXEK4eqx'
45
45
  subscription = QualtricsAPI.event_subscriptions.find(sub_id)
46
- subscription.delete
46
+ result = subscription.delete
47
+ expect(result).to be_truthy
47
48
  expect {
48
49
  QualtricsAPI.event_subscriptions.find(sub_id)
49
50
  }.to raise_error(QualtricsAPI::NotFoundError)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qualtrics_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yurui Zhang
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-12-08 00:00:00.000000000 Z
13
+ date: 2017-12-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday