tessitura_rest 0.1.0 → 0.1.1

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: ab87325ff4533860073d1220a218556059761523
4
- data.tar.gz: a4e3968109b574bc699f7ca264ffcc90694f10f2
3
+ metadata.gz: e72ad521fd865e86e07f2048a129be9ca0f9ef99
4
+ data.tar.gz: 3a5c9c303c2432f09227a112c439930b91dcdf1c
5
5
  SHA512:
6
- metadata.gz: 45018c3d15499f9e1ef40d92578fff6b3e0f708064f1f49b19692168e4b2d5966991fc01666781f77386e5db912c5b6038458df0db4a9c110b7e1ccb4dabc2ce
7
- data.tar.gz: 9b5f87b3258bc200e9aa24e8430ae3f55e5ac2ae7ac5b5df291d5eb2caceb365973bd6b51c464e28dd25d9b820011fef877a770463e4f9a959969237012cae01
6
+ metadata.gz: 772cddc0b6203755c5fc2eb25b20eaaa99d8c47def731bff6076bf8b47da162b79f5ad4811fbd4e2c6cca85202efdccab97026e3388deea6f358d0cc4dc3b73f
7
+ data.tar.gz: 63592a4136ab350c21e46dbf20ea341507a0b0117d43b880713c0b9cfa7565a1d96708d3919ecc328627655aa15baa742d40347bb86ef9c024bfa98138e6091f
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.1
4
+ - 2.4.2
5
5
  before_install: gem install bundler -v 1.12.5
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # Tessitura
1
+ # TessituraRest
2
2
 
3
- A Ruby gem wrapper for the [Tessitura Network's Rest API](https://www.tessituranetwork.com/) (version 14 and up).
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 'tessitura'
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 Tessitura REST instance
26
- * USERNAME # the username to authenticate to your Tessitura REST instance
27
- * PASSWORD # the password to authenticate to your Tessitura REST instance
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 Tessitura Rest API, use:
33
+ To connect to the TessituraRest Rest API, use:
34
34
  ```
35
- Tessitura.new
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 Tessitura REST instance
46
- * USERNAME # the username to authenticate to your Tessitura REST instance
47
- * PASSWORD # the password to authenticate to your Tessitura REST instance
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 Tessitura instance
51
- * EMAIL # an email tied to an existing web login in your Tessitura instance
52
- * CONSTITUENT_ID # an active constituent in your Tessitura instance
53
- * ATTRIBUTE_ID # an active Attribute in your Tessitura instance
54
- * SCALPER_ID # any active constituent in your Tessitura instance
55
- * CSI_ID # the id of an open customer service inquiry in your Tessitura instance
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 Tessitura instance
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 Tessitura API since it will make database alterations.
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
@@ -8,7 +8,7 @@ task :default => :spec
8
8
  task :console do
9
9
  require 'irb'
10
10
  require 'irb/completion'
11
- require 'tessitura'
11
+ require 'tessitura_rest'
12
12
  ARGV.clear
13
13
  IRB.start
14
14
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ class TessituraRest
2
+ VERSION = "0.1.1"
3
+ end
File without changes
File without changes
File without changes
@@ -1,9 +1,9 @@
1
1
  require 'require_all'
2
- require_rel 'tessitura'
2
+ require_rel 'tessitura_rest'
3
3
  require 'json'
4
4
  require 'httparty'
5
5
 
6
- class Tessitura
6
+ class TessituraRest
7
7
  include HTTParty
8
8
  include Session
9
9
  include SecurityUserGroups
@@ -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 'tessitura/version'
4
+ require 'tessitura_rest/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "tessitura_rest"
8
- spec.version = Tessitura::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 Tessitura"
13
- spec.description = "Tessitura is an enterprise-wide, fully integrated software system for arts & cultural organizations."
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.0
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: Tessitura is an enterprise-wide, fully integrated software system for
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/tessitura.rb
144
- - lib/tessitura/crm/accounts.rb
145
- - lib/tessitura/crm/actions.rb
146
- - lib/tessitura/crm/addresses.rb
147
- - lib/tessitura/crm/attributes.rb
148
- - lib/tessitura/crm/constituencies.rb
149
- - lib/tessitura/crm/issues.rb
150
- - lib/tessitura/crm/web_logins.rb
151
- - lib/tessitura/custom/local_procedure.rb
152
- - lib/tessitura/security/security_user_groups.rb
153
- - lib/tessitura/version.rb
154
- - lib/tessitura/web/cart.rb
155
- - lib/tessitura/web/login.rb
156
- - lib/tessitura/web/session.rb
157
- - tessitura.gemspec
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 Tessitura
167
+ summary: Rest API Endpoint for TessituraRest
182
168
  test_files: []
@@ -1,3 +0,0 @@
1
- class Tessitura
2
- VERSION = "0.1.0"
3
- end