trailblazer-endpoint 0.0.8 → 0.0.11

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: be47945174c82b64947b1f14951b66c9395b65caf4bcb221792f50cae38bf25a
4
- data.tar.gz: 67b8254e1c2775f6909f29cb7779635d38412a3ec972c350ad49cb0e287d1131
3
+ metadata.gz: ee7450a17e47e6bb1b31145021159a23d95ae031686a7457988879435f318cde
4
+ data.tar.gz: c1777129764926dbbe9baade928d80ec38af237596015d87d85a328e7ffb0ae0
5
5
  SHA512:
6
- metadata.gz: eddf0ed3f16dd28c3fbebe2d9170e763ddc40f785f2ecd752cecd56ef2b9c3bc96c3dd4d8361cf170a9f997025dfd52316b2b9b799fe09dcf2720955903c5240
7
- data.tar.gz: 2fe89f93da8356a1f13e7b229f1a1137ddd0ee8c453c10858254097a42c1213e3e1dcdd23994eb2f4f16568e66ee696e3c0dfaeec0777f321931da98eca8691c
6
+ metadata.gz: 4fac1c090644f9981b01396978d0664ec543af839315947689f5a14816b4c373ee20d8a5393eeffe627ce908479be1666810205e5fc604f8eed845ee313defa5
7
+ data.tar.gz: 5ef9f14ed31f5fb5028482a74ce2690ea7853b3bd9543ac380b5f3bc21edf9ad7384bcf761b5b334409f1d93c41ca75d245d8cc05c05fc9d82b0e4bfd6624684
data/CHANGES.md CHANGED
@@ -1,3 +1,17 @@
1
+ # 0.0.11
2
+
3
+ * Require `trailblazer-activity-dsl-linear` >= 1.0.0.
4
+ * Use `#terminus` instead of clumsily adding termini to `Protocol` and `Adapter`.
5
+
6
+ # 0.0.10
7
+
8
+ * Require `dsl-linear` >= 0.5.0.
9
+
10
+ # 0.0.9
11
+
12
+ * Fix Ruby 3.0 code.
13
+ * Update dependencies.
14
+
1
15
  # 0.0.8
2
16
 
3
17
  * Add `Protocol.insert_copy_from_domain_ctx!` to copy from `domain_ctx` to the `endpoint_ctx`.
data/Gemfile CHANGED
@@ -8,7 +8,7 @@ gem "multi_json"
8
8
  gem "minitest-line"
9
9
 
10
10
  # gem "trailblazer-activity", path: "../trailblazer-activity"
11
- # gem "trailblazer-activity-dsl-linear", path: "../trailblazer-activity-dsl-linear"
11
+ gem "trailblazer-activity-dsl-linear", path: "../trailblazer-activity-dsl-linear"
12
12
  # gem "trailblazer-operation", path: "../operation"
13
13
 
14
14
  gem "dry-validation"
@@ -15,15 +15,8 @@ module Trailblazer
15
15
  _403_path = ->(*) { step :_403_status }
16
16
  # _422_path = ->(*) { step :_422_status } # TODO: this is currently represented by the {failure} track.
17
17
 
18
- # FIXME: is this really the only way to add an {End} to all this?
19
- @state.update_sequence do |sequence:, **|
20
- sequence = Activity::Path::DSL.append_end(sequence, task: Activity::End.new(semantic: :fail_fast), magnetic_to: :fail_fast, id: "End.fail_fast") # TODO: rename to {protocol_failure}
21
- sequence = Activity::Path::DSL.append_end(sequence, task: Activity::End.new(semantic: :failure), magnetic_to: :failure, id: "End.failure")
22
-
23
- recompile_activity!(sequence)
24
-
25
- sequence
26
- end
18
+ terminus :fail_fast
19
+ terminus :failure
27
20
 
28
21
  step Subprocess(Protocol), # this will get replaced
29
22
  id: :protocol,
@@ -93,10 +93,11 @@ module Trailblazer
93
93
  end
94
94
 
95
95
  # Builds and registers an endpoint in a controller class.
96
- def endpoint(name, **options, &block)
96
+ def endpoint(name=nil, **options, &block)
97
97
  options = options.merge(protocol_block: block) if block_given?
98
98
 
99
- return generic_endpoint_config(**name, **options) if name.is_a?(Hash)
99
+ return generic_endpoint_config(**options) if name.nil?
100
+
100
101
  build_endpoint(name, **options)
101
102
  end
102
103
 
@@ -114,7 +115,7 @@ module Trailblazer
114
115
  def build_endpoint(name, domain_activity: name, **options)
115
116
  build_options = options_for(:generic_options, {}).merge(domain_activity: domain_activity, **options) # DISCUSS: why don't we add this as another directive option/step?
116
117
 
117
- endpoint = Trailblazer::Endpoint.build(build_options)
118
+ endpoint = Trailblazer::Endpoint.build(**build_options)
118
119
 
119
120
  directive :endpoints, ->(*) { {name.to_s => endpoint} }
120
121
  end
@@ -134,6 +135,24 @@ module Trailblazer
134
135
 
135
136
  endpoint = endpoint_for(name)
136
137
 
138
+ # raise name.inspect unless block_given?
139
+ # TODO: check {dsl: false}
140
+ # unless block_given? # FIXME
141
+ # config_source = self.class # FIXME
142
+ # block_options = config_source.options_for(:options_for_block_options, **action_options)
143
+ # block_options = Trailblazer::Endpoint::Options.merge_with(action_options, block_options)
144
+
145
+ # signal, (ctx, _) = Trailblazer::Endpoint::Controller.advance_endpoint_for_controller(
146
+ # endpoint: endpoint,
147
+ # block_options: block_options,
148
+ # config_source: config_source,
149
+ # **action_options
150
+ # )
151
+
152
+ # return ctx
153
+ # end
154
+
155
+
137
156
  invoke_endpoint_with_dsl(endpoint: endpoint, **action_options, &block)
138
157
  end
139
158
 
@@ -77,7 +77,7 @@ module Trailblazer
77
77
  # after: :authenticate
78
78
  end
79
79
 
80
- insert_copy_to_domain_ctx!(protocol, :process_model => :model)
80
+ insert_copy_to_domain_ctx!(protocol, {:process_model => :model})
81
81
  end
82
82
 
83
83
  def insert_copy_to_domain_ctx!(protocol, variables, before: :domain_activity) # FIXME: `:before` untested!
@@ -38,15 +38,8 @@ module Trailblazer
38
38
 
39
39
  # add the {End.not_found} terminus to this Protocol. I'm not sure that's the final style, but since a {Protocol} needs to provide all
40
40
  # termini for the Adapter this is the only way to get it working right now.
41
- # FIXME: is this really the only way to add an {End} to all this?
42
- @state.update_sequence do |sequence:, **|
43
- sequence = Activity::Path::DSL.append_end(sequence, task: Activity::End.new(semantic: :not_found), magnetic_to: :not_found, id: "End.not_found")
44
- sequence = Activity::Path::DSL.append_end(sequence, task: Activity::End.new(semantic: :invalid_data), magnetic_to: :invalid_data, id: "End.invalid_data")
45
-
46
- recompile_activity!(sequence)
47
-
48
- sequence
49
- end
41
+ terminus :not_found
42
+ terminus :invalid_data
50
43
 
51
44
  # Best-practices of useful routes and handlers that work with 2.1-OPs.
52
45
  class Standard < Protocol
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  class Endpoint
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.11"
4
4
  end
5
5
  end
@@ -48,7 +48,7 @@ module Trailblazer
48
48
  end
49
49
 
50
50
  if serialize || deserialize
51
- Protocol::Controller.insert_copy_to_domain_ctx!(self, :resume_data => :resume_data)
51
+ Protocol::Controller.insert_copy_to_domain_ctx!(self, {:resume_data => :resume_data})
52
52
  end
53
53
 
54
54
  if find_process_model
@@ -131,7 +131,7 @@ module Trailblazer
131
131
  end
132
132
 
133
133
  # FIXME: name will change! this is for controllers, only!
134
- def self.advance_from_controller(endpoint, success_block:, failure_block:, protocol_failure_block: protocol_failure_block, **argument_options)
134
+ def self.advance_from_controller(endpoint, success_block:, failure_block:, protocol_failure_block:, **argument_options)
135
135
  args = Trailblazer::Endpoint.arguments_for(argument_options)
136
136
 
137
137
  signal, (ctx, _ ) = Trailblazer::Endpoint.with_or_etc(
@@ -13,7 +13,13 @@ gem 'sqlite3', '~> 1.4'
13
13
  # Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
14
14
  # gem 'rack-cors'
15
15
 
16
- gem "trailblazer-operation"
16
+ # gem "trailblazer-operation"
17
+ # gem "trailblazer-operation", path: "../../../trailblazer-operation"
18
+ # # gem "trailblazer-context", path: "../../../trailblazer-context"
19
+ # gem "trailblazer-activity-dsl-linear", path: "../../../trailblazer-activity-dsl-linear"
20
+ # gem "trailblazer-activity", path: "../../../trailblazer-activity"
21
+
22
+
17
23
  gem "trailblazer-endpoint", path: "../../."
18
24
  gem "jwt"
19
25
  gem "multi_json"
@@ -21,9 +27,10 @@ gem "minitest-line"
21
27
  gem "trailblazer-cells"
22
28
  gem "cells-erb"
23
29
  gem "cells-rails"
24
-
30
+ gem "representable"
31
+ gem "trailblazer-operation"
25
32
 
26
33
  # FIXME
27
- gem "trailblazer-workflow", path: "../../../trailblazer-workflow"
34
+ # gem "trailblazer-workflow", path: "../../../trailblazer-workflow"
28
35
  # gem "trailblazer-activity-dsl-linear", path: "../../../trailblazer-activity-dsl-linear"
29
- gem "trailblazer-activity-dsl-linear", ">= 0.3.4"
36
+ # gem "trailblazer-activity-dsl-linear", ">= 0.3.4"
@@ -1,71 +1,62 @@
1
- PATH
2
- remote: ../../../trailblazer-workflow
3
- specs:
4
- trailblazer-workflow (0.0.8)
5
- trailblazer-activity
6
- trailblazer-activity-implementation (>= 0.0.4)
7
- trailblazer-developer (>= 0.0.17)
8
- trailblazer-endpoint
9
-
10
1
  PATH
11
2
  remote: ../..
12
3
  specs:
13
- trailblazer-endpoint (0.0.7)
14
- trailblazer-activity-dsl-linear (>= 0.3.4, < 0.4.0)
4
+ trailblazer-endpoint (0.0.10)
5
+ trailblazer-activity-dsl-linear (>= 1.0.0, < 1.1.0)
15
6
 
16
7
  GEM
17
8
  remote: https://rubygems.org/
18
9
  specs:
19
- actioncable (6.0.3.4)
20
- actionpack (= 6.0.3.4)
10
+ actioncable (6.0.4.7)
11
+ actionpack (= 6.0.4.7)
21
12
  nio4r (~> 2.0)
22
13
  websocket-driver (>= 0.6.1)
23
- actionmailbox (6.0.3.4)
24
- actionpack (= 6.0.3.4)
25
- activejob (= 6.0.3.4)
26
- activerecord (= 6.0.3.4)
27
- activestorage (= 6.0.3.4)
28
- activesupport (= 6.0.3.4)
14
+ actionmailbox (6.0.4.7)
15
+ actionpack (= 6.0.4.7)
16
+ activejob (= 6.0.4.7)
17
+ activerecord (= 6.0.4.7)
18
+ activestorage (= 6.0.4.7)
19
+ activesupport (= 6.0.4.7)
29
20
  mail (>= 2.7.1)
30
- actionmailer (6.0.3.4)
31
- actionpack (= 6.0.3.4)
32
- actionview (= 6.0.3.4)
33
- activejob (= 6.0.3.4)
21
+ actionmailer (6.0.4.7)
22
+ actionpack (= 6.0.4.7)
23
+ actionview (= 6.0.4.7)
24
+ activejob (= 6.0.4.7)
34
25
  mail (~> 2.5, >= 2.5.4)
35
26
  rails-dom-testing (~> 2.0)
36
- actionpack (6.0.3.4)
37
- actionview (= 6.0.3.4)
38
- activesupport (= 6.0.3.4)
27
+ actionpack (6.0.4.7)
28
+ actionview (= 6.0.4.7)
29
+ activesupport (= 6.0.4.7)
39
30
  rack (~> 2.0, >= 2.0.8)
40
31
  rack-test (>= 0.6.3)
41
32
  rails-dom-testing (~> 2.0)
42
33
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
- actiontext (6.0.3.4)
44
- actionpack (= 6.0.3.4)
45
- activerecord (= 6.0.3.4)
46
- activestorage (= 6.0.3.4)
47
- activesupport (= 6.0.3.4)
34
+ actiontext (6.0.4.7)
35
+ actionpack (= 6.0.4.7)
36
+ activerecord (= 6.0.4.7)
37
+ activestorage (= 6.0.4.7)
38
+ activesupport (= 6.0.4.7)
48
39
  nokogiri (>= 1.8.5)
49
- actionview (6.0.3.4)
50
- activesupport (= 6.0.3.4)
40
+ actionview (6.0.4.7)
41
+ activesupport (= 6.0.4.7)
51
42
  builder (~> 3.1)
52
43
  erubi (~> 1.4)
53
44
  rails-dom-testing (~> 2.0)
54
45
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
55
- activejob (6.0.3.4)
56
- activesupport (= 6.0.3.4)
46
+ activejob (6.0.4.7)
47
+ activesupport (= 6.0.4.7)
57
48
  globalid (>= 0.3.6)
58
- activemodel (6.0.3.4)
59
- activesupport (= 6.0.3.4)
60
- activerecord (6.0.3.4)
61
- activemodel (= 6.0.3.4)
62
- activesupport (= 6.0.3.4)
63
- activestorage (6.0.3.4)
64
- actionpack (= 6.0.3.4)
65
- activejob (= 6.0.3.4)
66
- activerecord (= 6.0.3.4)
67
- marcel (~> 0.3.1)
68
- activesupport (6.0.3.4)
49
+ activemodel (6.0.4.7)
50
+ activesupport (= 6.0.4.7)
51
+ activerecord (6.0.4.7)
52
+ activemodel (= 6.0.4.7)
53
+ activesupport (= 6.0.4.7)
54
+ activestorage (6.0.4.7)
55
+ actionpack (= 6.0.4.7)
56
+ activejob (= 6.0.4.7)
57
+ activerecord (= 6.0.4.7)
58
+ marcel (~> 1.0.0)
59
+ activesupport (6.0.4.7)
69
60
  concurrent-ruby (~> 1.0, >= 1.0.2)
70
61
  i18n (>= 0.7, < 2)
71
62
  minitest (~> 5.1)
@@ -80,10 +71,10 @@ GEM
80
71
  cells-erb (0.1.0)
81
72
  cells (~> 4.0)
82
73
  erbse (>= 0.1.1)
83
- cells-rails (0.1.3)
74
+ cells-rails (0.1.4)
84
75
  actionpack (>= 5.0)
85
76
  cells (>= 4.1.6, < 5.0.0)
86
- concurrent-ruby (1.1.7)
77
+ concurrent-ruby (1.1.10)
87
78
  crass (1.0.6)
88
79
  declarative (0.0.20)
89
80
  declarative-builder (0.1.0)
@@ -92,104 +83,104 @@ GEM
92
83
  erbse (0.1.4)
93
84
  temple
94
85
  erubi (1.10.0)
95
- globalid (0.4.2)
96
- activesupport (>= 4.2.0)
97
- hashie (4.1.0)
86
+ globalid (1.0.0)
87
+ activesupport (>= 5.0)
88
+ hashie (5.0.0)
98
89
  hirb (0.7.3)
99
- i18n (1.8.7)
90
+ i18n (1.10.0)
100
91
  concurrent-ruby (~> 1.0)
101
- jwt (2.2.2)
102
- loofah (2.8.0)
92
+ jwt (2.3.0)
93
+ loofah (2.16.0)
103
94
  crass (~> 1.0.2)
104
95
  nokogiri (>= 1.5.9)
105
96
  mail (2.7.1)
106
97
  mini_mime (>= 0.1.1)
107
- marcel (0.3.3)
108
- mimemagic (~> 0.3.2)
98
+ marcel (1.0.2)
109
99
  method_source (1.0.0)
110
- mimemagic (0.3.5)
111
- mini_mime (1.0.2)
112
- minitest (5.14.3)
100
+ mini_mime (1.1.2)
101
+ mini_portile2 (2.8.0)
102
+ minitest (5.15.0)
113
103
  minitest-line (0.6.5)
114
104
  minitest (~> 5.0)
115
105
  multi_json (1.15.0)
116
- nio4r (2.5.4)
117
- nokogiri (1.11.1-x86_64-linux)
106
+ nio4r (2.5.8)
107
+ nokogiri (1.13.3)
108
+ mini_portile2 (~> 2.8.0)
109
+ racc (~> 1.4)
110
+ nokogiri (1.13.3-x86_64-linux)
118
111
  racc (~> 1.4)
119
- racc (1.5.2)
112
+ racc (1.6.0)
120
113
  rack (2.2.3)
121
114
  rack-test (1.1.0)
122
115
  rack (>= 1.0, < 3)
123
- rails (6.0.3.4)
124
- actioncable (= 6.0.3.4)
125
- actionmailbox (= 6.0.3.4)
126
- actionmailer (= 6.0.3.4)
127
- actionpack (= 6.0.3.4)
128
- actiontext (= 6.0.3.4)
129
- actionview (= 6.0.3.4)
130
- activejob (= 6.0.3.4)
131
- activemodel (= 6.0.3.4)
132
- activerecord (= 6.0.3.4)
133
- activestorage (= 6.0.3.4)
134
- activesupport (= 6.0.3.4)
116
+ rails (6.0.4.7)
117
+ actioncable (= 6.0.4.7)
118
+ actionmailbox (= 6.0.4.7)
119
+ actionmailer (= 6.0.4.7)
120
+ actionpack (= 6.0.4.7)
121
+ actiontext (= 6.0.4.7)
122
+ actionview (= 6.0.4.7)
123
+ activejob (= 6.0.4.7)
124
+ activemodel (= 6.0.4.7)
125
+ activerecord (= 6.0.4.7)
126
+ activestorage (= 6.0.4.7)
127
+ activesupport (= 6.0.4.7)
135
128
  bundler (>= 1.3.0)
136
- railties (= 6.0.3.4)
129
+ railties (= 6.0.4.7)
137
130
  sprockets-rails (>= 2.0.0)
138
131
  rails-dom-testing (2.0.3)
139
132
  activesupport (>= 4.2.0)
140
133
  nokogiri (>= 1.6)
141
- rails-html-sanitizer (1.3.0)
134
+ rails-html-sanitizer (1.4.2)
142
135
  loofah (~> 2.3)
143
- railties (6.0.3.4)
144
- actionpack (= 6.0.3.4)
145
- activesupport (= 6.0.3.4)
136
+ railties (6.0.4.7)
137
+ actionpack (= 6.0.4.7)
138
+ activesupport (= 6.0.4.7)
146
139
  method_source
147
140
  rake (>= 0.8.7)
148
141
  thor (>= 0.20.3, < 2.0)
149
- rake (13.0.3)
150
- representable (3.0.4)
142
+ rake (13.0.6)
143
+ representable (3.2.0)
151
144
  declarative (< 0.1.0)
152
- declarative-option (< 0.2.0)
145
+ trailblazer-option (>= 0.1.1, < 0.2.0)
153
146
  uber (< 0.2.0)
154
- sprockets (4.0.2)
147
+ sprockets (4.0.3)
155
148
  concurrent-ruby (~> 1.0)
156
149
  rack (> 1, < 3)
157
- sprockets-rails (3.2.2)
158
- actionpack (>= 4.0)
159
- activesupport (>= 4.0)
150
+ sprockets-rails (3.4.2)
151
+ actionpack (>= 5.2)
152
+ activesupport (>= 5.2)
160
153
  sprockets (>= 3.0.0)
161
154
  sqlite3 (1.4.2)
162
155
  temple (0.8.2)
163
- thor (1.0.1)
156
+ thor (1.2.1)
164
157
  thread_safe (0.3.6)
165
158
  tilt (2.0.10)
166
- trailblazer-activity (0.11.4)
167
- trailblazer-context (>= 0.3.1, < 0.4.0)
168
- trailblazer-activity-dsl-linear (0.3.4)
169
- trailblazer-activity (>= 0.11.3, < 1.0.0)
170
- trailblazer-activity-implementation (0.0.4)
171
- trailblazer-activity (>= 0.11.4)
172
- trailblazer-activity-dsl-linear
159
+ trailblazer-activity (0.14.0)
160
+ trailblazer-context (~> 0.5.0)
161
+ trailblazer-option (~> 0.1.0)
162
+ trailblazer-activity-dsl-linear (1.0.0)
163
+ trailblazer-activity (>= 0.14.0, < 0.15.0)
164
+ trailblazer-declarative (>= 0.0.1, < 0.1.0)
173
165
  trailblazer-cells (0.0.3)
174
166
  cells (>= 4.1.0.rc1, < 5.0.0)
175
- trailblazer-context (0.3.1)
176
- hashie (~> 4.1)
177
- trailblazer-developer (0.0.17)
167
+ trailblazer-context (0.5.0)
168
+ hashie (>= 3.0.0)
169
+ trailblazer-declarative (0.0.1)
170
+ trailblazer-developer (0.0.26)
178
171
  hirb
179
- representable
180
- trailblazer-activity (>= 0.11.0, < 1.0.0)
181
- trailblazer-activity-dsl-linear
182
- trailblazer-operation (0.6.5)
183
- trailblazer-activity (>= 0.11.2, < 1.0.0)
184
- trailblazer-activity-dsl-linear (>= 0.3.2, < 1.0.0)
185
- trailblazer-developer (>= 0.0.8)
172
+ trailblazer-activity-dsl-linear (>= 1.0.0.beta1, < 1.1.0)
173
+ trailblazer-operation (0.8.0)
174
+ trailblazer-activity-dsl-linear (>= 1.0.0, < 1.1.0)
175
+ trailblazer-developer (>= 0.0.26)
176
+ trailblazer-option (0.1.2)
186
177
  tzinfo (1.2.9)
187
178
  thread_safe (~> 0.1)
188
179
  uber (0.1.0)
189
- websocket-driver (0.7.3)
180
+ websocket-driver (0.7.5)
190
181
  websocket-extensions (>= 0.1.0)
191
182
  websocket-extensions (0.1.5)
192
- zeitwerk (2.4.2)
183
+ zeitwerk (2.5.4)
193
184
 
194
185
  PLATFORMS
195
186
  ruby
@@ -202,12 +193,11 @@ DEPENDENCIES
202
193
  minitest-line
203
194
  multi_json
204
195
  rails (~> 6.0.3, >= 6.0.3.1)
196
+ representable
205
197
  sqlite3 (~> 1.4)
206
- trailblazer-activity-dsl-linear (>= 0.3.4)
207
198
  trailblazer-cells
208
199
  trailblazer-endpoint!
209
200
  trailblazer-operation
210
- trailblazer-workflow!
211
201
 
212
202
  BUNDLED WITH
213
- 2.2.1
203
+ 2.3.10
@@ -31,8 +31,8 @@ class ApplicationController::Web < ApplicationController
31
31
  Policy.(domain_ctx)
32
32
  end
33
33
 
34
- Trailblazer::Endpoint::Protocol::Controller.insert_copy_to_domain_ctx!(self, :current_user => :current_user)
35
- Trailblazer::Endpoint::Protocol::Controller.insert_copy_from_domain_ctx!(self, :model => :process_model)
34
+ Trailblazer::Endpoint::Protocol::Controller.insert_copy_to_domain_ctx!(self, {:current_user => :current_user})
35
+ Trailblazer::Endpoint::Protocol::Controller.insert_copy_from_domain_ctx!(self, {:model => :process_model})
36
36
  end
37
37
  #:protocol end
38
38
  Policy = ->(domain_ctx) { domain_ctx[:params][:policy] == "false" ? false : true }
@@ -7,9 +7,9 @@ Gem::Specification.new do |spec|
7
7
  spec.version = Trailblazer::Endpoint::VERSION
8
8
  spec.authors = ["Nick Sutterer"]
9
9
  spec.email = ["apotonick@gmail.com"]
10
- spec.description = %q{Endpoints handle authentication, policies, run your domain operation and set up the rendering.}
11
- spec.summary = %q{Endpoints handle authentication, policies, run your domain operation and set up the rendering.}
12
- spec.homepage = "http://trailblazer.to/gems/operation/endpoint.html"
10
+ spec.description = %q{Endpoints handle authentication, policies, run your domain operation and prepare rendering.}
11
+ spec.summary = %q{Endpoints handle authentication, policies, run your domain operation and prepare rendering.}
12
+ spec.homepage = "https://trailblazer.to/2.1/docs/endpoint.html"
13
13
  spec.license = "LGPL-3.0"
14
14
 
15
15
  spec.files = `git ls-files`.split($/)
@@ -17,11 +17,10 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "trailblazer-activity-dsl-linear", ">= 0.3.4", "< 0.4.0"
20
+ spec.add_dependency "trailblazer-activity-dsl-linear", ">= 1.0.0", "< 1.1.0"
21
21
 
22
22
  spec.add_development_dependency "bundler"
23
23
  spec.add_development_dependency "rake"
24
24
  spec.add_development_dependency "minitest"
25
25
  spec.add_development_dependency "trailblazer-developer"
26
- # spec.add_development_dependency "appraisal"
27
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-endpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-13 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trailblazer-activity-dsl-linear
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.3.4
19
+ version: 1.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 0.4.0
22
+ version: 1.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.3.4
29
+ version: 1.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 0.4.0
32
+ version: 1.1.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -87,7 +87,7 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  description: Endpoints handle authentication, policies, run your domain operation
90
- and set up the rendering.
90
+ and prepare rendering.
91
91
  email:
92
92
  - apotonick@gmail.com
93
93
  executables: []
@@ -100,7 +100,6 @@ files:
100
100
  - Gemfile
101
101
  - README.md
102
102
  - Rakefile
103
- - gemfiles/rails_app.gemfile
104
103
  - lib/trailblazer-endpoint.rb
105
104
  - lib/trailblazer/endpoint.rb
106
105
  - lib/trailblazer/endpoint/adapter.rb
@@ -187,7 +186,7 @@ files:
187
186
  - test/rails-app/tmp/.keep
188
187
  - test/test_helper.rb
189
188
  - trailblazer-endpoint.gemspec
190
- homepage: http://trailblazer.to/gems/operation/endpoint.html
189
+ homepage: https://trailblazer.to/2.1/docs/endpoint.html
191
190
  licenses:
192
191
  - LGPL-3.0
193
192
  metadata: {}
@@ -206,11 +205,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
205
  - !ruby/object:Gem::Version
207
206
  version: '0'
208
207
  requirements: []
209
- rubygems_version: 3.0.3
208
+ rubygems_version: 3.2.3
210
209
  signing_key:
211
210
  specification_version: 4
212
211
  summary: Endpoints handle authentication, policies, run your domain operation and
213
- set up the rendering.
212
+ prepare rendering.
214
213
  test_files:
215
214
  - test/adapter/api_test.rb
216
215
  - test/adapter/representable_test.rb
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "multi_json"
6
- gem "minitest-line"
7
- gem "dry-validation"
8
- gem "rails", "6.0.3.1"
9
- gem "sqlite3", "~> 1.4"
10
- gem "trailblazer-operation"
11
-
12
- gemspec path: "../"