checkoff 0.225.0 → 0.227.0
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/lib/checkoff/attachments.rb +11 -11
- data/lib/checkoff/cli.rb +9 -9
- data/lib/checkoff/custom_fields.rb +3 -3
- data/lib/checkoff/events.rb +6 -6
- data/lib/checkoff/internal/asana_event_enrichment.rb +10 -10
- data/lib/checkoff/internal/asana_event_filter.rb +2 -2
- data/lib/checkoff/internal/project_selector_evaluator.rb +2 -2
- data/lib/checkoff/internal/project_timing.rb +1 -1
- data/lib/checkoff/internal/search_url/parser.rb +3 -3
- data/lib/checkoff/internal/search_url/simple_param_converter.rb +1 -1
- data/lib/checkoff/internal/section_selector_evaluator.rb +4 -4
- data/lib/checkoff/internal/selector_classes/project.rb +2 -2
- data/lib/checkoff/internal/selector_classes/task.rb +4 -4
- data/lib/checkoff/internal/selector_evaluator.rb +1 -1
- data/lib/checkoff/internal/task_hashes.rb +1 -1
- data/lib/checkoff/internal/task_selector_evaluator.rb +1 -1
- data/lib/checkoff/internal/task_timing.rb +1 -1
- data/lib/checkoff/my_tasks.rb +5 -5
- data/lib/checkoff/portfolios.rb +6 -6
- data/lib/checkoff/project_selectors.rb +8 -8
- data/lib/checkoff/projects.rb +13 -13
- data/lib/checkoff/resources.rb +6 -6
- data/lib/checkoff/section_selectors.rb +7 -7
- data/lib/checkoff/sections.rb +22 -22
- data/lib/checkoff/subtasks.rb +6 -6
- data/lib/checkoff/tags.rb +8 -8
- data/lib/checkoff/task_searches.rb +12 -12
- data/lib/checkoff/task_selectors.rb +11 -11
- data/lib/checkoff/tasks.rb +23 -23
- data/lib/checkoff/timelines.rb +6 -6
- data/lib/checkoff/version.rb +1 -1
- data/lib/checkoff/workspaces.rb +1 -1
- data/rbi/checkoff.rbi +2486 -53
- data/sig/checkoff.rbs +33 -13
- metadata +3 -3
    
        data/sig/checkoff.rbs
    CHANGED
    
    | @@ -1417,11 +1417,11 @@ module Checkoff | |
| 1417 1417 | 
             
                               ?extra_section_fields: ::Array[String]
         | 
| 1418 1418 | 
             
                             ) -> Asana::Resources::Section?
         | 
| 1419 1419 |  | 
| 1420 | 
            -
                # sord warn -  | 
| 1420 | 
            +
                # sord warn - Asana::HttpClient::Response wasn't able to be resolved to a constant in this project
         | 
| 1421 1421 | 
             
                # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
         | 
| 1422 1422 | 
             
                # 
         | 
| 1423 1423 | 
             
                # _@param_ `response`
         | 
| 1424 | 
            -
                def parse: ( | 
| 1424 | 
            +
                def parse: (Asana::HttpClient::Response response) -> ::Array[(::Hash[untyped, untyped] | ::Hash[untyped, untyped])]
         | 
| 1425 1425 |  | 
| 1426 1426 | 
             
                # sord warn - "[String" does not appear to be a type
         | 
| 1427 1427 | 
             
                # sord warn - "nil]" does not appear to be a type
         | 
| @@ -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
         | 
| @@ -1877,11 +1877,11 @@ module Checkoff | |
| 1877 1877 | 
             
                # _@param_ `filename`
         | 
| 1878 1878 | 
             
                def content_type_from_filename: (String filename) -> String?
         | 
| 1879 1879 |  | 
| 1880 | 
            -
                # sord warn -  | 
| 1880 | 
            +
                # sord warn - Asana::HttpClient::Response wasn't able to be resolved to a constant in this project
         | 
| 1881 1881 | 
             
                # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
         | 
| 1882 1882 | 
             
                # 
         | 
| 1883 1883 | 
             
                # _@param_ `response`
         | 
| 1884 | 
            -
                def parse: ( | 
| 1884 | 
            +
                def parse: (Asana::HttpClient::Response response) -> ::Array[(::Hash[untyped, untyped] | ::Hash[untyped, untyped])]
         | 
| 1885 1885 |  | 
| 1886 1886 | 
             
                def self.run: () -> void
         | 
| 1887 1887 |  | 
| @@ -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,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: checkoff
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.227.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Vince Broz
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2025- | 
| 11 | 
            +
            date: 2025-02-16 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: activesupport
         | 
| @@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 182 182 | 
             
                - !ruby/object:Gem::Version
         | 
| 183 183 | 
             
                  version: '0'
         | 
| 184 184 | 
             
            requirements: []
         | 
| 185 | 
            -
            rubygems_version: 3. | 
| 185 | 
            +
            rubygems_version: 3.4.19
         | 
| 186 186 | 
             
            signing_key: 
         | 
| 187 187 | 
             
            specification_version: 4
         | 
| 188 188 | 
             
            summary: Command-line and gem client for Asana (unofficial)
         |