tessitura_rest 0.8.6.6 → 0.8.8

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: d053e34849a4314bf916e946a487f3e948a443a7ae683425bf8bf95313803d23
4
- data.tar.gz: 60bf4b056850f4816bee3319686c9c2d713393656c083ce6bb9384669f8e46e1
3
+ metadata.gz: 2fa34426ec546055756c280dc4d77d789d63b59e89b5a43be5914f95fede2aae
4
+ data.tar.gz: 3592bd2415fdd5887a1281f1641ec31c3bfde43dbcc1ca42cbd04308f29c8c4c
5
5
  SHA512:
6
- metadata.gz: 8bd1767f0212e0a67723166e5bbba8badd9cb88275a2ba93b151183cec28a2a32fa5f025d679508309a636a1525fff19edf4942a30b9c254bec7950ecd46dbb6
7
- data.tar.gz: a5840d7148e57685c24ad430f68a5c92ad432dfc4609f5afc0b450a72cd7304841ddadd76b3d80e22b30c4d1f7be47e317d0cb46df859926aa91c859657886af
6
+ metadata.gz: 6c257cdb5f389d3f352ed506cf811ae7d49b1d0fd9d14c58eff8e2bb4cf027ad4400b778545a8f9e38eb70b70f7997d4543039f9ab0d36a1b4eb18c774ea2f44
7
+ data.tar.gz: cae55d00e90e6b06657ca5cedbdc7c6b2ccc0ec0d722944118cabc176ec94cc2903aaa0586dd5a4f29b8530f689aec057991e6816a6c9f384c0e63426c512c0a
data/.travis.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.4.2
4
+ - 2.5.3
5
5
  before_install:
6
- - gem install bundler -v 1.12.5
6
+ - gem install bundler -v 2.2.15
7
7
  - openssl aes-256-cbc -K $encrypted_3c84dcdc6bbe_key -iv $encrypted_3c84dcdc6bbe_iv -in .env.enc -out .env -d
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 The Pittsburgh Cultural Trust
3
+ Copyright (c) 2021 The Pittsburgh Cultural Trust
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -3,4 +3,9 @@ module Diagnostics
3
3
  options.merge!(basic_auth: @auth, headers: @headers)
4
4
  self.class.get(base_api_endpoint('Diagnostics/Status'), options)
5
5
  end
6
+
7
+ def seat_server_status(options={})
8
+ options.merge!(basic_auth: @auth, headers: @headers)
9
+ self.class.get(base_api_endpoint('Diagnostics/SeatServerStatus'), options)
10
+ end
6
11
  end
@@ -48,10 +48,10 @@ module PerformanceExtension
48
48
  JSON.parse(response.body)
49
49
  end
50
50
 
51
- def get_performance_prices(id, mos, options={})
51
+ def get_performance_prices(id, mos, source, options={})
52
52
  options.merge!(basic_auth: @auth, headers: @headers)
53
53
  options.merge!(:headers => {'Content-Type' => 'application/json'})
54
- response = self.class.get(base_api_endpoint("TXN/Performances/Prices?performanceIds=#{id}&modeOfSaleId=#{mos}"), options)
54
+ response = self.class.get(base_api_endpoint("TXN/Performances/Prices?performanceIds=#{id}&modeOfSaleId=#{mos}&sourceId=#{source}"), options)
55
55
  JSON.parse(response.body)
56
56
  end
57
57
 
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '0.8.6.6'
2
+ VERSION = '0.8.8'.freeze
3
3
  end
@@ -55,7 +55,7 @@ module Cart
55
55
  'GiftCertificateNumber': gift_certificate_number
56
56
  }
57
57
  options.merge!(basic_auth: @auth, headers: @headers)
58
- options.merge!(:body => parameters)
58
+ options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
59
59
  self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Payments/GiftCertificate"), options)
60
60
  end
61
61
 
@@ -150,7 +150,7 @@ module Cart
150
150
  "RequestedSeats": requested_seats
151
151
  }
152
152
  options.merge!(basic_auth: @auth, headers: @headers)
153
- options.merge!(:body => parameters)
153
+ options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
154
154
  self.class.post(base_api_endpoint("/Web/Cart/#{session_key}/Tickets"), options)
155
155
  end
156
156
 
@@ -202,7 +202,7 @@ module Cart
202
202
  "Unseated": unseated
203
203
  }
204
204
  options.merge!(basic_auth: @auth, headers: @headers)
205
- options.merge!(:body => parameters)
205
+ options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'})
206
206
  self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Packages/Nfs"), options)
207
207
  end
208
208
 
@@ -6,8 +6,8 @@ require 'tessitura_rest/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "tessitura_rest"
8
8
  spec.version = TessituraRest::VERSION
9
- spec.authors = ["Brittany Martin"]
10
- spec.email = ["martin@trustarts.org"]
9
+ spec.authors = ['Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald']
10
+ spec.email = ['webteam@trustarts.org']
11
11
 
12
12
  spec.summary = "Rest API Endpoint for the Tessitura Rest API (v14+)."
13
13
  spec.description = "TessituraRest is an enterprise-wide, fully integrated software system for arts & cultural organizations."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tessitura_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6.6
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
- - Brittany Martin
7
+ - Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-16 00:00:00.000000000 Z
11
+ date: 2021-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -111,7 +111,7 @@ dependencies:
111
111
  description: TessituraRest is an enterprise-wide, fully integrated software system
112
112
  for arts & cultural organizations.
113
113
  email:
114
- - martin@trustarts.org
114
+ - webteam@trustarts.org
115
115
  executables: []
116
116
  extensions: []
117
117
  extra_rdoc_files: []
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  - !ruby/object:Gem::Version
186
186
  version: '0'
187
187
  requirements: []
188
- rubygems_version: 3.0.3
188
+ rubygems_version: 3.0.9
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: Rest API Endpoint for the Tessitura Rest API (v14+).