shep 0.1.0.pre.alpha0 → 0.2.1.pre.alpha0
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/README.md +5 -1
- data/Rakefile +1 -0
- data/doc/Shep/Entity/Account.html +22 -37
- data/doc/Shep/Entity/Context.html +8 -9
- data/doc/Shep/Entity/CustomEmoji.html +11 -15
- data/doc/Shep/Entity/MediaAttachment.html +13 -19
- data/doc/Shep/Entity/Notification.html +11 -15
- data/doc/Shep/Entity/Status.html +34 -61
- data/doc/Shep/Entity/StatusSource.html +9 -11
- data/doc/Shep/Entity/Status_Application.html +11 -10
- data/doc/Shep/Entity/Status_Mention.html +10 -13
- data/doc/Shep/Entity/Status_Tag.html +8 -9
- data/doc/Shep/Entity.html +156 -141
- data/doc/Shep/Error/Caller.html +4 -4
- data/doc/Shep/Error/Http.html +22 -22
- data/doc/Shep/Error/RateLimit.html +176 -0
- data/doc/Shep/Error/Remote.html +3 -4
- data/doc/Shep/Error/Server.html +5 -4
- data/doc/Shep/Error/Type.html +10 -12
- data/doc/Shep/Error.html +8 -5
- data/doc/Shep/Session.html +1023 -572
- data/doc/Shep.html +20 -5
- data/doc/_index.html +10 -3
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +52 -33
- data/doc/file_list.html +1 -1
- data/doc/index.html +117 -239
- data/doc/method_list.html +9 -1
- data/doc/top-level-namespace.html +2 -2
- data/lib/shep/entity_base.rb +6 -1
- data/lib/shep/exceptions.rb +8 -0
- data/lib/shep/session.rb +340 -145
- data/lib/shep/version.rb +4 -0
- data/lib/shep.rb +1 -1
- data/run_rake_test.example.sh +12 -5
- data/shep.gemspec +4 -2
- data/spec/session_reader_1_unauth_spec.rb +20 -17
- data/spec/session_reader_2_auth_spec.rb +17 -19
- data/spec/session_writer_spec.rb +4 -11
- data/spec/session_zzz_tricky_spec.rb +205 -0
- data/spec/spec_helper.rb +12 -3
- data/yard_helper.rb +11 -5
- metadata +12 -9
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.2.1.pre.alpha0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Reuter
|
@@ -11,42 +11,42 @@ cert_chain: []
|
|
11
11
|
date: 2023-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
17
|
- - "~>"
|
17
18
|
- !ruby/object:Gem::Version
|
18
19
|
version: 3.12.0
|
19
|
-
name: rspec
|
20
|
-
prerelease: false
|
21
20
|
type: :development
|
21
|
+
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.12.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
name: yard
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - "~>"
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 0.9.34
|
33
|
-
name: yard
|
34
|
-
prerelease: false
|
35
34
|
type: :development
|
35
|
+
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.9.34
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
43
44
|
requirements:
|
44
45
|
- - "~>"
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: 13.0.6
|
47
|
-
name: rake
|
48
|
-
prerelease: false
|
49
48
|
type: :development
|
49
|
+
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
@@ -81,6 +81,7 @@ files:
|
|
81
81
|
- doc/Shep/Error.html
|
82
82
|
- doc/Shep/Error/Caller.html
|
83
83
|
- doc/Shep/Error/Http.html
|
84
|
+
- doc/Shep/Error/RateLimit.html
|
84
85
|
- doc/Shep/Error/Remote.html
|
85
86
|
- doc/Shep/Error/Server.html
|
86
87
|
- doc/Shep/Error/Type.html
|
@@ -105,6 +106,7 @@ files:
|
|
105
106
|
- lib/shep/exceptions.rb
|
106
107
|
- lib/shep/session.rb
|
107
108
|
- lib/shep/typeboxes.rb
|
109
|
+
- lib/shep/version.rb
|
108
110
|
- run_rake_test.example.sh
|
109
111
|
- shep.gemspec
|
110
112
|
- spec/data/smallimg.jpg
|
@@ -125,11 +127,12 @@ files:
|
|
125
127
|
- spec/session_reader_1_unauth_spec.rb
|
126
128
|
- spec/session_reader_2_auth_spec.rb
|
127
129
|
- spec/session_writer_spec.rb
|
130
|
+
- spec/session_zzz_tricky_spec.rb
|
128
131
|
- spec/spec_helper.rb
|
129
132
|
- yard_helper.rb
|
130
133
|
homepage: https://codeberg.org/suetanvil/shep
|
131
134
|
licenses:
|
132
|
-
- AGPL with linking
|
135
|
+
- AGPL-3.0-only with linking exception
|
133
136
|
metadata: {}
|
134
137
|
post_install_message:
|
135
138
|
rdoc_options: []
|
@@ -147,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
150
|
version: 1.3.1
|
148
151
|
requirements:
|
149
152
|
- A Ruby implementing 3.0.x syntax and the standard libs.
|
150
|
-
rubygems_version: 3.
|
153
|
+
rubygems_version: 3.2.32
|
151
154
|
signing_key:
|
152
155
|
specification_version: 4
|
153
156
|
summary: An alternate interface to the Mastodon Web API
|