tessitura_rest 0.1.0 → 0.1.1
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/.travis.yml +1 -1
- data/README.md +19 -19
- data/Rakefile +1 -1
- data/lib/{tessitura → tessitura_rest}/crm/accounts.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/crm/actions.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/crm/addresses.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/crm/attributes.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/crm/constituencies.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/crm/issues.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/crm/web_logins.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/custom/local_procedure.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/security/security_user_groups.rb +0 -0
- data/lib/tessitura_rest/version.rb +3 -0
- data/lib/{tessitura → tessitura_rest}/web/cart.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/web/login.rb +0 -0
- data/lib/{tessitura → tessitura_rest}/web/session.rb +0 -0
- data/lib/{tessitura.rb → tessitura_rest.rb} +2 -2
- data/{tessitura.gemspec → tessitura_rest.gemspec} +4 -5
- metadata +19 -33
- data/lib/tessitura/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e72ad521fd865e86e07f2048a129be9ca0f9ef99
|
4
|
+
data.tar.gz: 3a5c9c303c2432f09227a112c439930b91dcdf1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 772cddc0b6203755c5fc2eb25b20eaaa99d8c47def731bff6076bf8b47da162b79f5ad4811fbd4e2c6cca85202efdccab97026e3388deea6f358d0cc4dc3b73f
|
7
|
+
data.tar.gz: 63592a4136ab350c21e46dbf20ea341507a0b0117d43b880713c0b9cfa7565a1d96708d3919ecc328627655aa15baa742d40347bb86ef9c024bfa98138e6091f
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# TessituraRest
|
2
2
|
|
3
|
-
A Ruby gem wrapper for the [
|
3
|
+
A Ruby gem wrapper for the [TessituraRest Network's Rest API](https://www.tessituranetwork.com/) (version 14 and up).
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem '
|
10
|
+
gem 'tessitura_rest'
|
11
11
|
```
|
12
12
|
|
13
13
|
And then execute:
|
@@ -22,17 +22,17 @@ $ gem install tessitura
|
|
22
22
|
|
23
23
|
Create a .env file in the root of your directory. The following fields are required:
|
24
24
|
|
25
|
-
* TESSITURA_URL # the url to your Production
|
26
|
-
* USERNAME # the username to authenticate to your
|
27
|
-
* PASSWORD # the password to authenticate to your
|
25
|
+
* TESSITURA_URL # the url to your Production TessituraRest REST instance
|
26
|
+
* USERNAME # the username to authenticate to your TessituraRest REST instance
|
27
|
+
* PASSWORD # the password to authenticate to your TessituraRest REST instance
|
28
28
|
|
29
29
|
To run the gem locally, use:
|
30
30
|
```
|
31
31
|
$ rake console
|
32
32
|
```
|
33
|
-
To connect to the
|
33
|
+
To connect to the TessituraRest Rest API, use:
|
34
34
|
```
|
35
|
-
|
35
|
+
TessituraRest.new
|
36
36
|
```
|
37
37
|
followed by the method and arguments you would like to use.
|
38
38
|
|
@@ -42,26 +42,26 @@ followed by the method and arguments you would like to use.
|
|
42
42
|
2. Delete all of the pre-recorded cassettes tapes from spec/vcr_cassettes so they can be re-recorded with your instance's settings.
|
43
43
|
3. Create a .env file and set these values:
|
44
44
|
|
45
|
-
* TESSITURA_URL # the url to your Test/Staging
|
46
|
-
* USERNAME # the username to authenticate to your
|
47
|
-
* PASSWORD # the password to authenticate to your
|
45
|
+
* TESSITURA_URL # the url to your Test/Staging TessituraRest REST instance
|
46
|
+
* USERNAME # the username to authenticate to your TessituraRest REST instance
|
47
|
+
* PASSWORD # the password to authenticate to your TessituraRest REST instance
|
48
48
|
* WEB_CART_TEXT # the ID to the pricing rule you have setup for Cart
|
49
49
|
* ORDER_CONFIRM_TEXT # the ID to the pricing rule you have setup for Order Confirmations
|
50
|
-
* SESSION_KEY # an existing session key in your
|
51
|
-
* EMAIL # an email tied to an existing web login in your
|
52
|
-
* CONSTITUENT_ID # an active constituent in your
|
53
|
-
* ATTRIBUTE_ID # an active Attribute in your
|
54
|
-
* SCALPER_ID # any active constituent in your
|
55
|
-
* CSI_ID # the id of an open customer service inquiry in your
|
50
|
+
* SESSION_KEY # an existing session key in your TessituraRest instance
|
51
|
+
* EMAIL # an email tied to an existing web login in your TessituraRest instance
|
52
|
+
* CONSTITUENT_ID # an active constituent in your TessituraRest instance
|
53
|
+
* ATTRIBUTE_ID # an active Attribute in your TessituraRest instance
|
54
|
+
* SCALPER_ID # any active constituent in your TessituraRest instance
|
55
|
+
* CSI_ID # the id of an open customer service inquiry in your TessituraRest instance
|
56
56
|
* PATRON_ID # the patron ID of a user whom submits CSIs
|
57
|
-
* ACTION_ID # the id of an action made against a customer service inquiry in your
|
57
|
+
* ACTION_ID # the id of an action made against a customer service inquiry in your TessituraRest instance
|
58
58
|
* ACTION_TYPE # a valid action type that can be attributed to an action on a customer service inquiry
|
59
59
|
|
60
60
|
To run the tests:
|
61
61
|
```
|
62
62
|
$ rake spec
|
63
63
|
```
|
64
|
-
WARNING: I advise you NOT to run the test suite against your Production
|
64
|
+
WARNING: I advise you NOT to run the test suite against your Production TessituraRest API since it will make database alterations.
|
65
65
|
|
66
66
|
## Development
|
67
67
|
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,16 +1,16 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require '
|
4
|
+
require 'tessitura_rest/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "tessitura_rest"
|
8
|
-
spec.version =
|
8
|
+
spec.version = TessituraRest::VERSION
|
9
9
|
spec.authors = ["Brittany Martin"]
|
10
10
|
spec.email = ["martin@trustarts.org"]
|
11
11
|
|
12
|
-
spec.summary = "Rest API Endpoint for
|
13
|
-
spec.description = "
|
12
|
+
spec.summary = "Rest API Endpoint for TessituraRest"
|
13
|
+
spec.description = "TessituraRest is an enterprise-wide, fully integrated software system for arts & cultural organizations."
|
14
14
|
spec.homepage = "https://github.com/pgharts/tessitura"
|
15
15
|
spec.license = "MIT"
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
@@ -22,7 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
23
|
spec.add_development_dependency "rspec", "~> 3.0"
|
24
24
|
spec.add_development_dependency "pry"
|
25
|
-
spec.add_development_dependency "dotenv"
|
26
25
|
|
27
26
|
spec.add_dependency "json"
|
28
27
|
spec.add_dependency "httparty"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tessitura_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: dotenv
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: json
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,8 +108,8 @@ dependencies:
|
|
122
108
|
- - ">="
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: '0'
|
125
|
-
description:
|
126
|
-
arts & cultural organizations.
|
111
|
+
description: TessituraRest is an enterprise-wide, fully integrated software system
|
112
|
+
for arts & cultural organizations.
|
127
113
|
email:
|
128
114
|
- martin@trustarts.org
|
129
115
|
executables: []
|
@@ -140,21 +126,21 @@ files:
|
|
140
126
|
- Rakefile
|
141
127
|
- bin/console
|
142
128
|
- bin/setup
|
143
|
-
- lib/
|
144
|
-
- lib/
|
145
|
-
- lib/
|
146
|
-
- lib/
|
147
|
-
- lib/
|
148
|
-
- lib/
|
149
|
-
- lib/
|
150
|
-
- lib/
|
151
|
-
- lib/
|
152
|
-
- lib/
|
153
|
-
- lib/
|
154
|
-
- lib/
|
155
|
-
- lib/
|
156
|
-
- lib/
|
157
|
-
-
|
129
|
+
- lib/tessitura_rest.rb
|
130
|
+
- lib/tessitura_rest/crm/accounts.rb
|
131
|
+
- lib/tessitura_rest/crm/actions.rb
|
132
|
+
- lib/tessitura_rest/crm/addresses.rb
|
133
|
+
- lib/tessitura_rest/crm/attributes.rb
|
134
|
+
- lib/tessitura_rest/crm/constituencies.rb
|
135
|
+
- lib/tessitura_rest/crm/issues.rb
|
136
|
+
- lib/tessitura_rest/crm/web_logins.rb
|
137
|
+
- lib/tessitura_rest/custom/local_procedure.rb
|
138
|
+
- lib/tessitura_rest/security/security_user_groups.rb
|
139
|
+
- lib/tessitura_rest/version.rb
|
140
|
+
- lib/tessitura_rest/web/cart.rb
|
141
|
+
- lib/tessitura_rest/web/login.rb
|
142
|
+
- lib/tessitura_rest/web/session.rb
|
143
|
+
- tessitura_rest.gemspec
|
158
144
|
homepage: https://github.com/pgharts/tessitura
|
159
145
|
licenses:
|
160
146
|
- MIT
|
@@ -178,5 +164,5 @@ rubyforge_project:
|
|
178
164
|
rubygems_version: 2.6.13
|
179
165
|
signing_key:
|
180
166
|
specification_version: 4
|
181
|
-
summary: Rest API Endpoint for
|
167
|
+
summary: Rest API Endpoint for TessituraRest
|
182
168
|
test_files: []
|
data/lib/tessitura/version.rb
DELETED