researchable-freedcamp-api 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bundle/config +2 -0
- data/.gitignore +1 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +12 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/researchable/freedcamp_api/create_task.rb +22 -0
- data/lib/researchable/freedcamp_api/endpoint.rb +34 -0
- data/lib/researchable/freedcamp_api/list_milestones.rb +1 -0
- data/lib/researchable/freedcamp_api/list_projects.rb +1 -0
- data/lib/researchable/freedcamp_api/list_tasks.rb +36 -0
- data/lib/researchable/freedcamp_api/sessions/session.rb +28 -0
- data/lib/researchable/freedcamp_api/sessions/signed_session.rb +128 -0
- data/lib/researchable/freedcamp_api/sessions.rb +17 -0
- data/lib/researchable/freedcamp_api/structs/signature.rb +11 -0
- data/lib/researchable/freedcamp_api/structs/task.rb +48 -0
- data/lib/researchable/freedcamp_api/structs.rb +8 -0
- data/lib/researchable/freedcamp_api/update_task.rb +27 -0
- data/lib/researchable/freedcamp_api/version.rb +8 -0
- data/lib/researchable/freedcamp_api.rb +21 -0
- data/lib/researchable-freedcamp-api.rb +6 -0
- data/output/62d1c67bf1eebc3456f9cc8879519700b2a0fc45 +1 -0
- data/researchable_freedcamp_api.gemspec +44 -0
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/active_interaction.rbi +304 -0
- data/sorbet/rbi/gems/activemodel.rbi +342 -0
- data/sorbet/rbi/gems/activesupport.rbi +1023 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1662 -0
- data/sorbet/rbi/gems/httparty.rbi +446 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
- data/sorbet/rbi/gems/mime-types.rbi +225 -0
- data/sorbet/rbi/gems/multi_xml.rbi +35 -0
- data/sorbet/rbi/gems/researchable-freedcamp-api.rbi +25 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1915 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1110 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/tzinfo.rbi +586 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +4251 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +8306 -0
- data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +715 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
- data/sorbet/rbi/sorbet-typed/lib/httparty/all/httparty.rbi +566 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +24 -0
- data/sorbet/rbi/todo.rbi +7 -0
- data/test.rb +41 -0
- metadata +198 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi sorbet-typed
|
3
|
+
#
|
4
|
+
# If you would like to make changes to this file, great! Please upstream any changes you make here:
|
5
|
+
#
|
6
|
+
# https://github.com/sorbet/sorbet-typed/edit/master/lib/activesupport/>=6/activesupport.rbi
|
7
|
+
#
|
8
|
+
# typed: strong
|
9
|
+
|
10
|
+
class Array
|
11
|
+
sig { params(elements: T.untyped).returns(T::Array[T.untyped]) }
|
12
|
+
def excluding(*elements); end
|
13
|
+
|
14
|
+
sig do
|
15
|
+
params(
|
16
|
+
blk: T.nilable(T.proc.params(arg0: Elem).returns(T::Boolean))
|
17
|
+
).returns(T.any(T::Array[Elem], T::Enumerable[Elem]))
|
18
|
+
end
|
19
|
+
def extract!(&blk); end
|
20
|
+
|
21
|
+
sig { params(elements: T.untyped).returns(T::Array[T.untyped]) }
|
22
|
+
def including(*elements); end
|
23
|
+
end
|
24
|
+
|
25
|
+
module Enumerable
|
26
|
+
# https://github.com/rails/rails/blob/v6.0.0/activesupport/lib/active_support/core_ext/enumerable.rb#L70..L82
|
27
|
+
# the case where a block isn't given isn't handled - that seems like an unlikely case
|
28
|
+
sig do
|
29
|
+
type_parameters(:key).params(
|
30
|
+
default: T.untyped,
|
31
|
+
block: T.proc.params(o: Enumerable::Elem).returns(T.type_parameter(:key))
|
32
|
+
).returns(
|
33
|
+
T::Hash[Enumerable::Elem, T.type_parameter(:key)]
|
34
|
+
)
|
35
|
+
end
|
36
|
+
def index_with(default = T.unsafe(nil), &block); end
|
37
|
+
end
|