stbaldricks 4.0.0 → 4.1.0.alpha.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7399b4137dafda4d08e4d0433187ea25be964d2f
4
- data.tar.gz: ac04a8c8daca9754483f0a8187a7b80cb410e1c7
3
+ metadata.gz: 7f5a9ad7228375591641fcf3986f9a765a452e6a
4
+ data.tar.gz: 8984745c104b742efb571c9c995a7ad52f1e05aa
5
5
  SHA512:
6
- metadata.gz: 10977786371aed927cf6cb207756179f4dc4488c56587a463ff5e487b1fd159137c59ceac217f116ddaf7ee570168806ab5c82f6cc8a86a5508b0ea0ca9dddb4
7
- data.tar.gz: 03d9be530ea11be2a5df98c817cc52c4ec63e80bc2766b5f835327b3db948882b054730ce927e4db07144c3161386f964b3137b75c0697f642ecce09b4a0e5c1
6
+ metadata.gz: 7e46129ee015997b85af2df84702cb0a45cac349aa38e3129b1fca1143efd83dc9b1b5a9bbba7bb4d775f2fbe8c8089fe0362aa38adb1bcedd43e36e734c88d5
7
+ data.tar.gz: 37273e0d5658b87036ee9bb5c629f4af3175e1cffb6bbed5b40dd86a56e34e1552fa9310be461d252723ed7d0fef4866485c2366a19cbced0a8c4160534795ca
@@ -3,10 +3,12 @@ require 'stbaldricks/entities/lib/top_level'
3
3
  require 'stbaldricks/entities/lib/fundraising_page'
4
4
  require 'stbaldricks/endpoints/fund'
5
5
  require 'htmlentities'
6
+ require 'stbaldricks/entities/lib/default_cacheable'
6
7
 
7
8
  module SBF
8
9
  module Client
9
10
  class Fund < SBF::Client::TopLevelEntity
11
+ include Entities::DefaultCacheable
10
12
  endpoint SBF::Client::FundEndpoint
11
13
  action :allowed_entities
12
14
  action :get
@@ -1,10 +1,12 @@
1
1
  require 'stbaldricks/entities/lib/address'
2
2
  require 'stbaldricks/entities/lib/top_level'
3
3
  require 'stbaldricks/entities/lib/third_party_media'
4
+ require 'stbaldricks/entities/lib/default_cacheable'
4
5
 
5
6
  module SBF
6
7
  module Client
7
8
  class Memorial < SBF::Client::TopLevelEntity
9
+ include Entities::DefaultCacheable
8
10
  actions DEFAULT_CRUD_ACTIONS
9
11
  blacklist_action :save
10
12
  blacklist_action :create
@@ -5,21 +5,18 @@ require 'stbaldricks/entities/lib/email_address'
5
5
  require 'stbaldricks/entities/lib/name'
6
6
  require 'stbaldricks/entities/lib/phone'
7
7
  require 'stbaldricks/enums/league_status'
8
- require 'stbaldricks/entities/lib/cacheable'
9
8
  require 'stbaldricks/entities/lib/opt_out_settings'
9
+ require 'stbaldricks/entities/lib/default_cacheable'
10
10
 
11
11
  module SBF
12
12
  module Client
13
13
  class Person < SBF::Client::TopLevelEntity
14
- include Entities::Cacheable
14
+ include Entities::DefaultCacheable
15
15
  disallow_instantiation
16
16
 
17
17
  actions DEFAULT_CRUD_ACTIONS
18
18
  blacklist_action :delete
19
19
 
20
- cache_id -> { [id, type] }
21
- cache_id_from_hash ->(h) { [h[:id], h[:type]] }
22
-
23
20
  module Status
24
21
  PENDING = 'pending' #1
25
22
  ACTIVE = 'active' #2
@@ -5,10 +5,12 @@ require 'stbaldricks/entities/lib/top_level'
5
5
  require 'stbaldricks/entities/lib/fundraising_page'
6
6
  require 'stbaldricks/entities/lib/permissions'
7
7
  require 'htmlentities'
8
+ require 'stbaldricks/entities/lib/default_cacheable'
8
9
 
9
10
  module SBF
10
11
  module Client
11
12
  class Team < SBF::Client::TopLevelEntity
13
+ include Entities::DefaultCacheable
12
14
  actions DEFAULT_CRUD_ACTIONS
13
15
 
14
16
  blacklist_action :create
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '4.0.0'
3
+ VERSION = '4.1.0.alpha.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stbaldricks
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.0.alpha.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-22 00:00:00.000000000 Z
11
+ date: 2017-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -210,9 +210,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
210
  version: '0'
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">="
213
+ - - ">"
214
214
  - !ruby/object:Gem::Version
215
- version: '0'
215
+ version: 1.3.1
216
216
  requirements: []
217
217
  rubyforge_project:
218
218
  rubygems_version: 2.6.12