checkoff 0.226.0 → 0.227.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/checkoff/attachments.rb +10 -10
  3. data/lib/checkoff/cli.rb +9 -9
  4. data/lib/checkoff/custom_fields.rb +3 -3
  5. data/lib/checkoff/events.rb +6 -6
  6. data/lib/checkoff/internal/asana_event_enrichment.rb +10 -10
  7. data/lib/checkoff/internal/asana_event_filter.rb +2 -2
  8. data/lib/checkoff/internal/project_selector_evaluator.rb +2 -2
  9. data/lib/checkoff/internal/project_timing.rb +1 -1
  10. data/lib/checkoff/internal/search_url/parser.rb +3 -3
  11. data/lib/checkoff/internal/search_url/simple_param_converter.rb +1 -1
  12. data/lib/checkoff/internal/section_selector_evaluator.rb +4 -4
  13. data/lib/checkoff/internal/selector_classes/project.rb +2 -2
  14. data/lib/checkoff/internal/selector_classes/task.rb +4 -4
  15. data/lib/checkoff/internal/selector_evaluator.rb +1 -1
  16. data/lib/checkoff/internal/task_hashes.rb +1 -1
  17. data/lib/checkoff/internal/task_selector_evaluator.rb +1 -1
  18. data/lib/checkoff/internal/task_timing.rb +1 -1
  19. data/lib/checkoff/my_tasks.rb +5 -5
  20. data/lib/checkoff/portfolios.rb +6 -6
  21. data/lib/checkoff/project_selectors.rb +8 -8
  22. data/lib/checkoff/projects.rb +13 -13
  23. data/lib/checkoff/resources.rb +6 -6
  24. data/lib/checkoff/section_selectors.rb +7 -7
  25. data/lib/checkoff/sections.rb +21 -21
  26. data/lib/checkoff/subtasks.rb +6 -6
  27. data/lib/checkoff/tags.rb +8 -8
  28. data/lib/checkoff/task_searches.rb +12 -12
  29. data/lib/checkoff/task_selectors.rb +11 -11
  30. data/lib/checkoff/tasks.rb +23 -23
  31. data/lib/checkoff/timelines.rb +6 -6
  32. data/lib/checkoff/version.rb +1 -1
  33. data/lib/checkoff/workspaces.rb +1 -1
  34. data/rbi/checkoff.rbi +2482 -49
  35. data/sig/checkoff.rbs +29 -9
  36. metadata +1 -1
data/sig/checkoff.rbs CHANGED
@@ -1505,7 +1505,7 @@ module Checkoff
1505
1505
  # _@param_ `projects`
1506
1506
  #
1507
1507
  # _@param_ `clients`
1508
- def initialize: (?config: ::Hash[untyped, untyped], ?projects: Checkoff::Projects, ?clients: Checkoff::Clients) -> void
1508
+ def initialize: (?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader), ?projects: Checkoff::Projects, ?clients: Checkoff::Clients) -> void
1509
1509
 
1510
1510
  # True if all subtasks of the task are completed
1511
1511
  #
@@ -1579,7 +1579,7 @@ module Checkoff
1579
1579
  #
1580
1580
  # _@param_ `client`
1581
1581
  def initialize: (
1582
- ?config: ::Hash[untyped, untyped],
1582
+ ?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader),
1583
1583
  ?workspaces: Checkoff::Workspaces,
1584
1584
  ?tasks: Checkoff::Tasks,
1585
1585
  ?sections: Checkoff::Sections,
@@ -1646,7 +1646,7 @@ module Checkoff
1646
1646
  #
1647
1647
  # _@param_ `client`
1648
1648
  def initialize: (
1649
- ?config: ::Hash[untyped, untyped],
1649
+ ?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader),
1650
1650
  ?workspaces: Checkoff::Workspaces,
1651
1651
  ?sections: Checkoff::Sections,
1652
1652
  ?tasks: Checkoff::Tasks,
@@ -1807,7 +1807,7 @@ module Checkoff
1807
1807
  #
1808
1808
  # _@param_ `client`
1809
1809
  def initialize: (
1810
- ?config: ::Hash[untyped, untyped],
1810
+ ?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader),
1811
1811
  ?workspaces: Checkoff::Workspaces,
1812
1812
  ?clients: Checkoff::Clients,
1813
1813
  ?client: Asana::Client
@@ -2024,7 +2024,7 @@ module Checkoff
2024
2024
  #
2025
2025
  # _@param_ `asana_resources_collection_class`
2026
2026
  def initialize: (
2027
- ?config: ::Hash[Symbol, Object],
2027
+ ?config: (::Hash[Symbol, Object] | Checkoff::Internal::EnvFallbackConfigLoader),
2028
2028
  ?workspaces: Checkoff::Workspaces,
2029
2029
  ?task_selectors: Checkoff::TaskSelectors,
2030
2030
  ?projects: Checkoff::Projects,
@@ -2157,7 +2157,7 @@ module Checkoff
2157
2157
  #
2158
2158
  # _@param_ `timelines`
2159
2159
  def initialize: (
2160
- ?config: ::Hash[untyped, untyped],
2160
+ ?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader),
2161
2161
  ?client: Asana::Client,
2162
2162
  ?tasks: Checkoff::Tasks,
2163
2163
  ?timelines: Checkoff::Timelines,
@@ -2209,7 +2209,7 @@ module Checkoff
2209
2209
  #
2210
2210
  # _@param_ `client`
2211
2211
  def initialize: (
2212
- ?config: ::Hash[Symbol, Object],
2212
+ ?config: (::Hash[Symbol, Object] | Checkoff::Internal::EnvFallbackConfigLoader),
2213
2213
  ?workspaces: Checkoff::Workspaces,
2214
2214
  ?projects: Checkoff::Projects,
2215
2215
  ?custom_fields: Checkoff::CustomFields,
@@ -2257,7 +2257,7 @@ module Checkoff
2257
2257
  #
2258
2258
  # _@param_ `client`
2259
2259
  def initialize: (
2260
- ?config: ::Hash[Symbol, Object],
2260
+ ?config: (::Hash[Symbol, Object] | Checkoff::Internal::EnvFallbackConfigLoader),
2261
2261
  ?workspaces: Checkoff::Workspaces,
2262
2262
  ?sections: Checkoff::Sections,
2263
2263
  ?custom_fields: Checkoff::CustomFields,
@@ -2897,7 +2897,7 @@ module Checkoff
2897
2897
  #
2898
2898
  # _@param_ `asana_event_enrichment`
2899
2899
  def initialize: (
2900
- ?config: ::Hash[untyped, untyped],
2900
+ ?config: (::Hash[untyped, untyped] | Checkoff::Internal::EnvFallbackConfigLoader),
2901
2901
  ?workspaces: Checkoff::Workspaces,
2902
2902
  ?tasks: Checkoff::Tasks,
2903
2903
  ?sections: Checkoff::Sections,
@@ -3746,4 +3746,24 @@ module Logging
3746
3746
 
3747
3747
  # @sg-ignore
3748
3748
  def log_level: () -> Symbol
3749
+ end
3750
+
3751
+ module T
3752
+ # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
3753
+ # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
3754
+ # _@param_ `type`
3755
+ def self.nilable: ((T::Types::Base | singleton(Object)) _type) -> T::Types::Base
3756
+
3757
+ # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
3758
+ # _@param_ `obj`
3759
+ #
3760
+ # _@param_ `type`
3761
+ def self.let: (BasicObject obj, (T::Types::Base | singleton(Object)) _type) -> BasicObject
3762
+
3763
+ # sord warn - T::Types::Base wasn't able to be resolved to a constant in this project
3764
+ def self.untyped: () -> T::Types::Base
3765
+
3766
+ class Struct
3767
+ extend T::Props::ClassMethods
3768
+ end
3749
3769
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.226.0
4
+ version: 0.227.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz