elekk 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.
- data/Gemfile.lock +9 -9
- data/Rakefile +0 -8
- data/changelog.md +4 -0
- data/elekk.gemspec +7 -3
- data/lib/elekk/version.rb +1 -1
- data/readme.md +17 -7
- metadata +10 -16
    
        data/Gemfile.lock
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            PATH
         | 
| 2 2 | 
             
              remote: .
         | 
| 3 3 | 
             
              specs:
         | 
| 4 | 
            -
                elekk (1.0. | 
| 4 | 
            +
                elekk (1.0.3)
         | 
| 5 5 | 
             
                  json
         | 
| 6 6 | 
             
                  memcached
         | 
| 7 7 | 
             
                  nokogiri
         | 
| @@ -11,9 +11,11 @@ GEM | |
| 11 11 | 
             
              remote: http://rubygems.org/
         | 
| 12 12 | 
             
              specs:
         | 
| 13 13 | 
             
                diff-lcs (1.1.2)
         | 
| 14 | 
            -
                 | 
| 15 | 
            -
                 | 
| 16 | 
            -
                 | 
| 14 | 
            +
                ffi (1.1.5)
         | 
| 15 | 
            +
                json (1.7.5)
         | 
| 16 | 
            +
                memcached (1.4.6)
         | 
| 17 | 
            +
                mime-types (1.19)
         | 
| 18 | 
            +
                nokogiri (1.5.5)
         | 
| 17 19 | 
             
                rake (0.8.7)
         | 
| 18 20 | 
             
                rspec (2.2.0)
         | 
| 19 21 | 
             
                  rspec-core (~> 2.2)
         | 
| @@ -23,16 +25,14 @@ GEM | |
| 23 25 | 
             
                rspec-expectations (2.2.0)
         | 
| 24 26 | 
             
                  diff-lcs (~> 1.1.2)
         | 
| 25 27 | 
             
                rspec-mocks (2.2.0)
         | 
| 26 | 
            -
                typhoeus (0.2 | 
| 28 | 
            +
                typhoeus (0.4.2)
         | 
| 29 | 
            +
                  ffi (~> 1.0)
         | 
| 30 | 
            +
                  mime-types (~> 1.18)
         | 
| 27 31 |  | 
| 28 32 | 
             
            PLATFORMS
         | 
| 29 33 | 
             
              ruby
         | 
| 30 34 |  | 
| 31 35 | 
             
            DEPENDENCIES
         | 
| 32 36 | 
             
              elekk!
         | 
| 33 | 
            -
              json
         | 
| 34 | 
            -
              memcached
         | 
| 35 | 
            -
              nokogiri
         | 
| 36 37 | 
             
              rake
         | 
| 37 38 | 
             
              rspec
         | 
| 38 | 
            -
              typhoeus
         | 
    
        data/Rakefile
    CHANGED
    
    
    
        data/changelog.md
    CHANGED
    
    
    
        data/elekk.gemspec
    CHANGED
    
    | @@ -7,16 +7,20 @@ Gem::Specification.new do |s| | |
| 7 7 | 
             
              s.version     = Elekk::VERSION
         | 
| 8 8 | 
             
              s.platform    = Gem::Platform::RUBY
         | 
| 9 9 | 
             
              s.authors     = ["Isaac Wolkerstorfer"]
         | 
| 10 | 
            -
              s.email       = ["agnoster | 
| 10 | 
            +
              s.email       = ["i@agnoster.net"]
         | 
| 11 11 | 
             
              s.homepage    = "https://github.com/agnoster/elekk"
         | 
| 12 | 
            -
              s.summary     = %q{Ruby interface for World of Warcraft data}
         | 
| 13 | 
            -
              s.description = %q{ | 
| 12 | 
            +
              s.summary     = %q{[OUTDATED] Ruby interface for World of Warcraft data}
         | 
| 13 | 
            +
              s.description = %q{WARNING: Outdated and non-functional!
         | 
| 14 | 
            +
             | 
| 15 | 
            +
              					Elekk is a Ruby gem that provides an interface to data for Blizzard's highly popular
         | 
| 14 16 | 
             
              					MMORPG, World of Warcraft. It currently uses data both from Blizzard's official Armory website
         | 
| 15 17 | 
             
              					at wowarmory.com, as well as the popular community database, WoWhead.com. Future versions may
         | 
| 16 18 | 
             
              					make use of additional sources of information.}
         | 
| 17 19 |  | 
| 18 20 | 
             
              s.rubyforge_project = "elekk"
         | 
| 19 21 |  | 
| 22 | 
            +
              s.post_install_message = "Elekk is deprecated. The format of the Armory API has changed, and there are currenty no plans to update the gem."
         | 
| 23 | 
            +
             | 
| 20 24 | 
             
              s.add_dependency 'nokogiri'
         | 
| 21 25 | 
             
              s.add_dependency 'json'
         | 
| 22 26 | 
             
              s.add_dependency 'typhoeus'
         | 
    
        data/lib/elekk/version.rb
    CHANGED
    
    
    
        data/readme.md
    CHANGED
    
    | @@ -1,14 +1,21 @@ | |
| 1 1 | 
             
            Elekk
         | 
| 2 2 | 
             
            =====
         | 
| 3 | 
            -
            [Elekk][1] is a Ruby library for World of Warcraft data.
         | 
| 4 3 |  | 
| 5 | 
            -
             | 
| 4 | 
            +
            > **STATUS: Defunct** — Elekk worked with the old version of the armory, and will no longer function with the new one. The code here is for historical purposes only, because I don't like hiding from bad code I wrote in the past :-)
         | 
| 5 | 
            +
            >
         | 
| 6 | 
            +
            > If you're interested in taking the project over in any way, please [email](mailto:i@agnoster.net) or [twitter](http://twitter.com/agnoster) me. In all honesty though, you're probably better off starting from scratch!
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            [Elekk] is a Ruby gem that provides an interface to data for Blizzard's highly popular MMORPG, World of Warcraft. It currently uses data both from Blizzard's official [Armory] website, as well as the popular community database, [Wowhead]. Future versions may make use of additional sources of information.
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            Goals
         | 
| 11 | 
            +
            -----
         | 
| 6 12 |  | 
| 7 13 | 
             
             * Make querying information as natural and simple as possible
         | 
| 8 14 | 
             
             * Have native representations of every data type
         | 
| 9 15 | 
             
             * Reflect actual identifiers/schemes as closely as possible
         | 
| 10 16 |  | 
| 11 | 
            -
             | 
| 17 | 
            +
            Features
         | 
| 18 | 
            +
            --------
         | 
| 12 19 |  | 
| 13 20 | 
             
             * Get basic character information from the Armory
         | 
| 14 21 | 
             
            	  * Class
         | 
| @@ -29,9 +36,10 @@ Here is what you can do with it currently: | |
| 29 36 | 
             
            	  * Get the date the character completed the achievement
         | 
| 30 37 | 
             
            	  * Should support all categories now
         | 
| 31 38 |  | 
| 32 | 
            -
            To see how all this is done, it's probably best to check the [`spec/`][ | 
| 39 | 
            +
            To see how all this is done, it's probably best to check the [`spec/`][specs] directory, which has exhaustive examples of how to use nearly all the APIs, and is likely to be kept more up-to-date than this readme.
         | 
| 33 40 |  | 
| 34 | 
            -
            Example | 
| 41 | 
            +
            Example
         | 
| 42 | 
            +
            -------
         | 
| 35 43 |  | 
| 36 44 | 
             
            	>> a = Armory.new 'Uldaman', :us
         | 
| 37 45 | 
             
            	=> #<Elekk::Armory:0x10168cf20 @region=:us, @realm="Uldaman">
         | 
| @@ -58,5 +66,7 @@ Example: | |
| 58 66 | 
             
            	>> results.first.to_html
         | 
| 59 67 | 
             
            	=> "<a href='http://www.wowhead.com/achievement=4539'>Once Bitten, Twice Shy (10 player)</a>"
         | 
| 60 68 |  | 
| 61 | 
            -
            [ | 
| 62 | 
            -
            [ | 
| 69 | 
            +
            [Elekk]: http://github.com/agnoster/elekk "Elekk on github"
         | 
| 70 | 
            +
            [specs]: http://github.com/agnoster/elekk/tree/master/spec/ "Elekk specs on github"
         | 
| 71 | 
            +
            [Armory]: http://www.wowarmory.com/ "The World of Warcraft Armory online"
         | 
| 72 | 
            +
            [Wowhead]: http://www.wowhead.com/ "Wowhead"
         | 
    
        metadata
    CHANGED
    
    | @@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version | |
| 5 5 | 
             
              segments: 
         | 
| 6 6 | 
             
              - 1
         | 
| 7 7 | 
             
              - 0
         | 
| 8 | 
            -
              -  | 
| 9 | 
            -
              version: 1.0. | 
| 8 | 
            +
              - 3
         | 
| 9 | 
            +
              version: 1.0.3
         | 
| 10 10 | 
             
            platform: ruby
         | 
| 11 11 | 
             
            authors: 
         | 
| 12 12 | 
             
            - Isaac Wolkerstorfer
         | 
| @@ -14,14 +14,13 @@ autorequire: | |
| 14 14 | 
             
            bindir: bin
         | 
| 15 15 | 
             
            cert_chain: []
         | 
| 16 16 |  | 
| 17 | 
            -
            date:  | 
| 17 | 
            +
            date: 2012-10-03 00:00:00 +02:00
         | 
| 18 18 | 
             
            default_executable: 
         | 
| 19 19 | 
             
            dependencies: 
         | 
| 20 20 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 21 21 | 
             
              name: nokogiri
         | 
| 22 22 | 
             
              prerelease: false
         | 
| 23 23 | 
             
              requirement: &id001 !ruby/object:Gem::Requirement 
         | 
| 24 | 
            -
                none: false
         | 
| 25 24 | 
             
                requirements: 
         | 
| 26 25 | 
             
                - - ">="
         | 
| 27 26 | 
             
                  - !ruby/object:Gem::Version 
         | 
| @@ -34,7 +33,6 @@ dependencies: | |
| 34 33 | 
             
              name: json
         | 
| 35 34 | 
             
              prerelease: false
         | 
| 36 35 | 
             
              requirement: &id002 !ruby/object:Gem::Requirement 
         | 
| 37 | 
            -
                none: false
         | 
| 38 36 | 
             
                requirements: 
         | 
| 39 37 | 
             
                - - ">="
         | 
| 40 38 | 
             
                  - !ruby/object:Gem::Version 
         | 
| @@ -47,7 +45,6 @@ dependencies: | |
| 47 45 | 
             
              name: typhoeus
         | 
| 48 46 | 
             
              prerelease: false
         | 
| 49 47 | 
             
              requirement: &id003 !ruby/object:Gem::Requirement 
         | 
| 50 | 
            -
                none: false
         | 
| 51 48 | 
             
                requirements: 
         | 
| 52 49 | 
             
                - - ">="
         | 
| 53 50 | 
             
                  - !ruby/object:Gem::Version 
         | 
| @@ -60,7 +57,6 @@ dependencies: | |
| 60 57 | 
             
              name: memcached
         | 
| 61 58 | 
             
              prerelease: false
         | 
| 62 59 | 
             
              requirement: &id004 !ruby/object:Gem::Requirement 
         | 
| 63 | 
            -
                none: false
         | 
| 64 60 | 
             
                requirements: 
         | 
| 65 61 | 
             
                - - ">="
         | 
| 66 62 | 
             
                  - !ruby/object:Gem::Version 
         | 
| @@ -73,7 +69,6 @@ dependencies: | |
| 73 69 | 
             
              name: rake
         | 
| 74 70 | 
             
              prerelease: false
         | 
| 75 71 | 
             
              requirement: &id005 !ruby/object:Gem::Requirement 
         | 
| 76 | 
            -
                none: false
         | 
| 77 72 | 
             
                requirements: 
         | 
| 78 73 | 
             
                - - ">="
         | 
| 79 74 | 
             
                  - !ruby/object:Gem::Version 
         | 
| @@ -86,7 +81,6 @@ dependencies: | |
| 86 81 | 
             
              name: rspec
         | 
| 87 82 | 
             
              prerelease: false
         | 
| 88 83 | 
             
              requirement: &id006 !ruby/object:Gem::Requirement 
         | 
| 89 | 
            -
                none: false
         | 
| 90 84 | 
             
                requirements: 
         | 
| 91 85 | 
             
                - - ">="
         | 
| 92 86 | 
             
                  - !ruby/object:Gem::Version 
         | 
| @@ -96,12 +90,14 @@ dependencies: | |
| 96 90 | 
             
              type: :development
         | 
| 97 91 | 
             
              version_requirements: *id006
         | 
| 98 92 | 
             
            description: |-
         | 
| 99 | 
            -
               | 
| 93 | 
            +
              WARNING: Outdated and non-functional!
         | 
| 94 | 
            +
              
         | 
| 95 | 
            +
                					Elekk is a Ruby gem that provides an interface to data for Blizzard's highly popular
         | 
| 100 96 | 
             
                					MMORPG, World of Warcraft. It currently uses data both from Blizzard's official Armory website
         | 
| 101 97 | 
             
                					at wowarmory.com, as well as the popular community database, WoWhead.com. Future versions may
         | 
| 102 98 | 
             
                					make use of additional sources of information.
         | 
| 103 99 | 
             
            email: 
         | 
| 104 | 
            -
            - agnoster | 
| 100 | 
            +
            - i@agnoster.net
         | 
| 105 101 | 
             
            executables: []
         | 
| 106 102 |  | 
| 107 103 | 
             
            extensions: []
         | 
| @@ -133,13 +129,12 @@ has_rdoc: true | |
| 133 129 | 
             
            homepage: https://github.com/agnoster/elekk
         | 
| 134 130 | 
             
            licenses: []
         | 
| 135 131 |  | 
| 136 | 
            -
            post_install_message: 
         | 
| 132 | 
            +
            post_install_message: Elekk is deprecated. The format of the Armory API has changed, and there are currenty no plans to update the gem.
         | 
| 137 133 | 
             
            rdoc_options: []
         | 
| 138 134 |  | 
| 139 135 | 
             
            require_paths: 
         | 
| 140 136 | 
             
            - lib
         | 
| 141 137 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement 
         | 
| 142 | 
            -
              none: false
         | 
| 143 138 | 
             
              requirements: 
         | 
| 144 139 | 
             
              - - ">="
         | 
| 145 140 | 
             
                - !ruby/object:Gem::Version 
         | 
| @@ -147,7 +142,6 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 147 142 | 
             
                  - 0
         | 
| 148 143 | 
             
                  version: "0"
         | 
| 149 144 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 150 | 
            -
              none: false
         | 
| 151 145 | 
             
              requirements: 
         | 
| 152 146 | 
             
              - - ">="
         | 
| 153 147 | 
             
                - !ruby/object:Gem::Version 
         | 
| @@ -157,10 +151,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 157 151 | 
             
            requirements: []
         | 
| 158 152 |  | 
| 159 153 | 
             
            rubyforge_project: elekk
         | 
| 160 | 
            -
            rubygems_version: 1.3. | 
| 154 | 
            +
            rubygems_version: 1.3.6
         | 
| 161 155 | 
             
            signing_key: 
         | 
| 162 156 | 
             
            specification_version: 3
         | 
| 163 | 
            -
            summary: Ruby interface for World of Warcraft data
         | 
| 157 | 
            +
            summary: "[OUTDATED] Ruby interface for World of Warcraft data"
         | 
| 164 158 | 
             
            test_files: 
         | 
| 165 159 | 
             
            - spec/achievement_spec.rb
         | 
| 166 160 | 
             
            - spec/armory_spec.rb
         |