slack_message 2.3.0 → 3.0.1
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/.github/workflows/main.yml +1 -1
- data/.gitignore +1 -0
- data/CHANGELOG.md +21 -0
- data/README.md +32 -308
- data/docs/01_configuration.md +116 -0
- data/docs/02_posting_a_message.md +134 -0
- data/docs/03_message_dsl.md +326 -0
- data/docs/04_editing_messages.md +88 -0
- data/docs/05_deleting_messages.md +45 -0
- data/docs/06_notifying_users.md +62 -0
- data/docs/07_testing.md +49 -0
- data/docs/_config.yml +6 -0
- data/docs/index.md +49 -0
- data/lib/slack_message/api.rb +101 -23
- data/lib/slack_message/configuration.rb +11 -1
- data/lib/slack_message/dsl.rb +7 -5
- data/lib/slack_message/error_handling.rb +124 -0
- data/lib/slack_message/response.rb +42 -0
- data/lib/slack_message/rspec.rb +45 -21
- data/lib/slack_message.rb +37 -5
- data/slack_message.gemspec +2 -2
- data/spec/slack_message_spec.rb +62 -8
- metadata +14 -4
- data/Gemfile.lock +0 -40
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: slack_message
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version:  | 
| 4 | 
            +
              version: 3.0.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Joe Mastey
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021- | 
| 11 | 
            +
            date: 2021-12-23 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rspec
         | 
| @@ -64,13 +64,23 @@ files: | |
| 64 64 | 
             
            - CHANGELOG.md
         | 
| 65 65 | 
             
            - CODE_OF_CONDUCT.md
         | 
| 66 66 | 
             
            - Gemfile
         | 
| 67 | 
            -
            - Gemfile.lock
         | 
| 68 67 | 
             
            - MIT-LICENSE
         | 
| 69 68 | 
             
            - README.md
         | 
| 69 | 
            +
            - docs/01_configuration.md
         | 
| 70 | 
            +
            - docs/02_posting_a_message.md
         | 
| 71 | 
            +
            - docs/03_message_dsl.md
         | 
| 72 | 
            +
            - docs/04_editing_messages.md
         | 
| 73 | 
            +
            - docs/05_deleting_messages.md
         | 
| 74 | 
            +
            - docs/06_notifying_users.md
         | 
| 75 | 
            +
            - docs/07_testing.md
         | 
| 76 | 
            +
            - docs/_config.yml
         | 
| 77 | 
            +
            - docs/index.md
         | 
| 70 78 | 
             
            - lib/slack_message.rb
         | 
| 71 79 | 
             
            - lib/slack_message/api.rb
         | 
| 72 80 | 
             
            - lib/slack_message/configuration.rb
         | 
| 73 81 | 
             
            - lib/slack_message/dsl.rb
         | 
| 82 | 
            +
            - lib/slack_message/error_handling.rb
         | 
| 83 | 
            +
            - lib/slack_message/response.rb
         | 
| 74 84 | 
             
            - lib/slack_message/rspec.rb
         | 
| 75 85 | 
             
            - slack_message.gemspec
         | 
| 76 86 | 
             
            - spec/slack_message_spec.rb
         | 
| @@ -90,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 90 100 | 
             
              requirements:
         | 
| 91 101 | 
             
              - - ">="
         | 
| 92 102 | 
             
                - !ruby/object:Gem::Version
         | 
| 93 | 
            -
                  version: 2. | 
| 103 | 
            +
                  version: 2.5.0
         | 
| 94 104 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 95 105 | 
             
              requirements:
         | 
| 96 106 | 
             
              - - ">="
         | 
    
        data/Gemfile.lock
    DELETED
    
    | @@ -1,40 +0,0 @@ | |
| 1 | 
            -
            PATH
         | 
| 2 | 
            -
              remote: .
         | 
| 3 | 
            -
              specs:
         | 
| 4 | 
            -
                slack_message (2.3.0)
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            GEM
         | 
| 7 | 
            -
              remote: https://rubygems.org/
         | 
| 8 | 
            -
              specs:
         | 
| 9 | 
            -
                coderay (1.1.3)
         | 
| 10 | 
            -
                diff-lcs (1.4.4)
         | 
| 11 | 
            -
                method_source (1.0.0)
         | 
| 12 | 
            -
                pry (0.14.1)
         | 
| 13 | 
            -
                  coderay (~> 1.1)
         | 
| 14 | 
            -
                  method_source (~> 1.0)
         | 
| 15 | 
            -
                rb-readline (0.5.5)
         | 
| 16 | 
            -
                rspec (3.10.0)
         | 
| 17 | 
            -
                  rspec-core (~> 3.10.0)
         | 
| 18 | 
            -
                  rspec-expectations (~> 3.10.0)
         | 
| 19 | 
            -
                  rspec-mocks (~> 3.10.0)
         | 
| 20 | 
            -
                rspec-core (3.10.1)
         | 
| 21 | 
            -
                  rspec-support (~> 3.10.0)
         | 
| 22 | 
            -
                rspec-expectations (3.10.1)
         | 
| 23 | 
            -
                  diff-lcs (>= 1.2.0, < 2.0)
         | 
| 24 | 
            -
                  rspec-support (~> 3.10.0)
         | 
| 25 | 
            -
                rspec-mocks (3.10.2)
         | 
| 26 | 
            -
                  diff-lcs (>= 1.2.0, < 2.0)
         | 
| 27 | 
            -
                  rspec-support (~> 3.10.0)
         | 
| 28 | 
            -
                rspec-support (3.10.2)
         | 
| 29 | 
            -
             | 
| 30 | 
            -
            PLATFORMS
         | 
| 31 | 
            -
              ruby
         | 
| 32 | 
            -
             | 
| 33 | 
            -
            DEPENDENCIES
         | 
| 34 | 
            -
              pry (= 0.14.1)
         | 
| 35 | 
            -
              rb-readline (= 0.5.5)
         | 
| 36 | 
            -
              rspec (= 3.10.0)
         | 
| 37 | 
            -
              slack_message!
         | 
| 38 | 
            -
             | 
| 39 | 
            -
            BUNDLED WITH
         | 
| 40 | 
            -
               2.1.4
         |