augury 1.0.2 → 1.0.3
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/CHANGELOG.md +5 -0
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/augury.gemspec +1 -1
- data/bin/extract_creds +7 -2
- data/lib/augury/cli.rb +1 -1
- data/lib/augury/version.rb +1 -1
- metadata +4 -5
- data/TODO.md +0 -10
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 0202c829a5e6fdfb712f3cf87ea3a340d2242ed6c86a328ab6fefce9c255963d
         | 
| 4 | 
            +
              data.tar.gz: 2a90f740ab640843302ae6bc5e767c6d2f486d3c9ff060c200f8721ada5c16bd
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 3c91a52995151ac50e642785bafe6247e79598eacda3ad32c3fd0ae8331b48596c6567342b17a11918761dff5da2ff2dbdd2544ec16643db666121689f95675f
         | 
| 7 | 
            +
              data.tar.gz: 7c77c6c70e749e3c7f703a089554f686e3c7a1383c4f651a38a490b5f3c6244e28b658053a5bde478499e1994c6321817cd28ca6c8545b768a2fe83e2f72279d
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    
    
        data/augury.gemspec
    CHANGED
    
    | @@ -20,7 +20,7 @@ Gem::Specification.new do |spec| | |
| 20 20 | 
             
              spec.require_paths = ['lib']
         | 
| 21 21 |  | 
| 22 22 | 
             
              # Actual dependencies
         | 
| 23 | 
            -
              spec.add_dependency 'thor', '~>1.0'
         | 
| 23 | 
            +
              spec.add_dependency 'thor', '~>1.0.0'
         | 
| 24 24 | 
             
              spec.add_dependency 'twitter', '~>7.0'
         | 
| 25 25 | 
             
              ## For the word_wrap function
         | 
| 26 26 | 
             
              spec.add_dependency 'facets', '~>3.0'
         | 
    
        data/bin/extract_creds
    CHANGED
    
    | @@ -3,5 +3,10 @@ | |
| 3 3 |  | 
| 4 4 | 
             
            require 'yaml'
         | 
| 5 5 |  | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 6 | 
            +
            begin
         | 
| 7 | 
            +
              augury_config = YAML.load_file(File.expand_path('~/.augury.yml'))
         | 
| 8 | 
            +
              puts augury_config['twitter'].collect { |k, v| "export TWITTER_#{k.upcase}=#{v}" }.join("\n")
         | 
| 9 | 
            +
            rescue Errno::ENOENT
         | 
| 10 | 
            +
              puts 'echo "No config file present (~/.augury.yml) no env vars set"'
         | 
| 11 | 
            +
              exit 1
         | 
| 12 | 
            +
            end
         | 
    
        data/lib/augury/cli.rb
    CHANGED
    
    | @@ -72,7 +72,7 @@ module Augury | |
| 72 72 | 
             
                    },
         | 
| 73 73 | 
             
                  )
         | 
| 74 74 |  | 
| 75 | 
            -
                  config_path = File.expand_path('~/.augury.yml')
         | 
| 75 | 
            +
                  config_path = File.expand_path(ENV.fetch('AUGURY_CFG_PATH', '~/.augury.yml'))
         | 
| 76 76 | 
             
                  if File.file?(config_path)
         | 
| 77 77 | 
             
                    config_options = Thor::CoreExt::HashWithIndifferentAccess.new(YAML.load_file(config_path) || {})
         | 
| 78 78 | 
             
                    defaults = defaults.merge(config_options)
         | 
    
        data/lib/augury/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: augury
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0. | 
| 4 | 
            +
              version: 1.0.3
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Clayton Parker
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021-01- | 
| 11 | 
            +
            date: 2021-01-23 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: thor
         | 
| @@ -16,14 +16,14 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - "~>"
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version:  | 
| 19 | 
            +
                    version: 1.0.0
         | 
| 20 20 | 
             
              type: :runtime
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 24 | 
             
                - - "~>"
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version:  | 
| 26 | 
            +
                    version: 1.0.0
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: twitter
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -73,7 +73,6 @@ files: | |
| 73 73 | 
             
            - LICENSE.txt
         | 
| 74 74 | 
             
            - README.md
         | 
| 75 75 | 
             
            - Rakefile
         | 
| 76 | 
            -
            - TODO.md
         | 
| 77 76 | 
             
            - augury.gemspec
         | 
| 78 77 | 
             
            - bin/console
         | 
| 79 78 | 
             
            - bin/extract_creds
         | 
    
        data/TODO.md
    DELETED
    
    | @@ -1,10 +0,0 @@ | |
| 1 | 
            -
            # TODO
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            Some ideas for things that could be added:
         | 
| 4 | 
            -
             | 
| 5 | 
            -
            - Add an option to limit the tweets from a certain date forward.
         | 
| 6 | 
            -
              This would allow for adding the latest tweets via cron.
         | 
| 7 | 
            -
            - Ask user for twitter config on first start, save it out
         | 
| 8 | 
            -
            - Series of regex that could be applied.
         | 
| 9 | 
            -
              This would be a way to make SeinfeldToday dialog get put on their own lines.
         | 
| 10 | 
            -
            - Different word wrapping options. To a width, or by sentence, or whatever.
         |