rest-core 0.4.0.pre.2 → 0.4.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.
- data/README.md +7 -12
 - data/lib/rest-core/version.rb +1 -1
 - data/rest-core.gemspec +5 -5
 - metadata +16 -25
 
    
        data/README.md
    CHANGED
    
    | 
         @@ -11,21 +11,16 @@ by Cardinal Blue <http://cardinalblue.com> 
     | 
|
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            ## DESCRIPTION:
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
      
 14 
     | 
    
         
            +
            Modular Ruby clients for REST APIs
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
            REST client, based on the effort from [rest-graph][]. In the cases of
         
     | 
| 
       23 
     | 
    
         
            -
            common APIs such as Facebook, Github, and Twitter, developers can simply
         
     | 
| 
       24 
     | 
    
         
            -
            use the built-in dedicated clients provided by rest-core, or do it yourself
         
     | 
| 
       25 
     | 
    
         
            -
            for any other REST APIs.
         
     | 
| 
      
 16 
     | 
    
         
            +
            There has been an explosion in the number of REST APIs available today.
         
     | 
| 
      
 17 
     | 
    
         
            +
            To address the need for a way to access these APIs easily and elegantly,
         
     | 
| 
      
 18 
     | 
    
         
            +
            we have developed [rest-core][], which consists of composable middleware
         
     | 
| 
      
 19 
     | 
    
         
            +
            that allows you to build a REST client for any REST API. Or in the case of
         
     | 
| 
      
 20 
     | 
    
         
            +
            common APIs such as Facebook, Github, and Twitter, you can simply use the
         
     | 
| 
      
 21 
     | 
    
         
            +
            built-in dedicated clients provided by rest-core.
         
     | 
| 
       26 
22 
     | 
    
         | 
| 
       27 
23 
     | 
    
         
             
            [rest-core]: http://github.com/cardinalblue/rest-core
         
     | 
| 
       28 
     | 
    
         
            -
            [rest-graph]: http://github.com/cardinalblue/rest-graph
         
     | 
| 
       29 
24 
     | 
    
         | 
| 
       30 
25 
     | 
    
         
             
            ## REQUIREMENTS:
         
     | 
| 
       31 
26 
     | 
    
         | 
    
        data/lib/rest-core/version.rb
    CHANGED
    
    
    
        data/rest-core.gemspec
    CHANGED
    
    | 
         @@ -2,14 +2,14 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       4 
4 
     | 
    
         
             
              s.name = "rest-core"
         
     | 
| 
       5 
     | 
    
         
            -
              s.version = "0.4.0 
     | 
| 
      
 5 
     | 
    
         
            +
              s.version = "0.4.0"
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
              s.required_rubygems_version = Gem::Requirement.new(" 
     | 
| 
      
 7 
     | 
    
         
            +
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         
     | 
| 
       8 
8 
     | 
    
         
             
              s.authors = [
         
     | 
| 
       9 
9 
     | 
    
         
             
              "Cardinal Blue",
         
     | 
| 
       10 
10 
     | 
    
         
             
              "Lin Jen-Shin (godfat)"]
         
     | 
| 
       11 
     | 
    
         
            -
              s.date = "2011-09- 
     | 
| 
       12 
     | 
    
         
            -
              s.description = " 
     | 
| 
      
 11 
     | 
    
         
            +
              s.date = "2011-09-26"
         
     | 
| 
      
 12 
     | 
    
         
            +
              s.description = "Modular Ruby clients for REST APIs\n\nThere has been an explosion in the number of REST APIs available today.\nTo address the need for a way to access these APIs easily and elegantly,\nwe have developed [rest-core][], which consists of composable middleware\nthat allows you to build a REST client for any REST API. Or in the case of\ncommon APIs such as Facebook, Github, and Twitter, you can simply use the\nbuilt-in dedicated clients provided by rest-core.\n\n[rest-core]: http://github.com/cardinalblue/rest-core"
         
     | 
| 
       13 
13 
     | 
    
         
             
              s.email = ["dev (XD) cardinalblue.com"]
         
     | 
| 
       14 
14 
     | 
    
         
             
              s.executables = ["rib-rest-core"]
         
     | 
| 
       15 
15 
     | 
    
         
             
              s.files = [
         
     | 
| 
         @@ -138,7 +138,7 @@ Gem::Specification.new do |s| 
     | 
|
| 
       138 
138 
     | 
    
         
             
              s.homepage = "https://github.com/cardinalblue/rest-core"
         
     | 
| 
       139 
139 
     | 
    
         
             
              s.require_paths = ["lib"]
         
     | 
| 
       140 
140 
     | 
    
         
             
              s.rubygems_version = "1.8.10"
         
     | 
| 
       141 
     | 
    
         
            -
              s.summary = " 
     | 
| 
      
 141 
     | 
    
         
            +
              s.summary = "Modular Ruby clients for REST APIs"
         
     | 
| 
       142 
142 
     | 
    
         
             
              s.test_files = [
         
     | 
| 
       143 
143 
     | 
    
         
             
              "test/client/facebook/test_api.rb",
         
     | 
| 
       144 
144 
     | 
    
         
             
              "test/client/facebook/test_cache.rb",
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,8 +1,8 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rest-core
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.4.0 
     | 
| 
       5 
     | 
    
         
            -
              prerelease:  
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.4.0
         
     | 
| 
      
 5 
     | 
    
         
            +
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Cardinal Blue
         
     | 
| 
         @@ -10,11 +10,11 @@ authors: 
     | 
|
| 
       10 
10 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       11 
11 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       12 
12 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
            date: 2011-09- 
     | 
| 
      
 13 
     | 
    
         
            +
            date: 2011-09-26 00:00:00.000000000Z
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
16 
     | 
    
         
             
              name: rest-client
         
     | 
| 
       17 
     | 
    
         
            -
              requirement: & 
     | 
| 
      
 17 
     | 
    
         
            +
              requirement: &2158078320 !ruby/object:Gem::Requirement
         
     | 
| 
       18 
18 
     | 
    
         
             
                none: false
         
     | 
| 
       19 
19 
     | 
    
         
             
                requirements:
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
         @@ -22,33 +22,24 @@ dependencies: 
     | 
|
| 
       22 
22 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       23 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
     | 
    
         
            -
              version_requirements: * 
     | 
| 
       26 
     | 
    
         
            -
            description: ! ' 
     | 
| 
      
 25 
     | 
    
         
            +
              version_requirements: *2158078320
         
     | 
| 
      
 26 
     | 
    
         
            +
            description: ! 'Modular Ruby clients for REST APIs
         
     | 
| 
       27 
27 
     | 
    
         | 
| 
       28 
28 
     | 
    
         | 
| 
       29 
     | 
    
         
            -
               
     | 
| 
      
 29 
     | 
    
         
            +
              There has been an explosion in the number of REST APIs available today.
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
     | 
    
         
            -
               
     | 
| 
      
 31 
     | 
    
         
            +
              To address the need for a way to access these APIs easily and elegantly,
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
     | 
    
         
            -
               
     | 
| 
      
 33 
     | 
    
         
            +
              we have developed [rest-core][], which consists of composable middleware
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
               
     | 
| 
      
 35 
     | 
    
         
            +
              that allows you to build a REST client for any REST API. Or in the case of
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
      
 37 
     | 
    
         
            +
              common APIs such as Facebook, Github, and Twitter, you can simply use the
         
     | 
| 
       37 
38 
     | 
    
         | 
| 
       38 
     | 
    
         
            -
               
     | 
| 
      
 39 
     | 
    
         
            +
              built-in dedicated clients provided by rest-core.
         
     | 
| 
       39 
40 
     | 
    
         | 
| 
       40 
     | 
    
         
            -
              REST client, based on the effort from [rest-graph][]. In the cases of
         
     | 
| 
       41 
41 
     | 
    
         | 
| 
       42 
     | 
    
         
            -
               
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
              use the built-in dedicated clients provided by rest-core, or do it yourself
         
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
              for any other REST APIs.
         
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
              [rest-core]: http://github.com/cardinalblue/rest-core
         
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
              [rest-graph]: http://github.com/cardinalblue/rest-graph'
         
     | 
| 
      
 42 
     | 
    
         
            +
              [rest-core]: http://github.com/cardinalblue/rest-core'
         
     | 
| 
       52 
43 
     | 
    
         
             
            email:
         
     | 
| 
       53 
44 
     | 
    
         
             
            - dev (XD) cardinalblue.com
         
     | 
| 
       54 
45 
     | 
    
         
             
            executables:
         
     | 
| 
         @@ -193,15 +184,15 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       193 
184 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       194 
185 
     | 
    
         
             
              none: false
         
     | 
| 
       195 
186 
     | 
    
         
             
              requirements:
         
     | 
| 
       196 
     | 
    
         
            -
              - - ! ' 
     | 
| 
      
 187 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
       197 
188 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       198 
     | 
    
         
            -
                  version:  
     | 
| 
      
 189 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
       199 
190 
     | 
    
         
             
            requirements: []
         
     | 
| 
       200 
191 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       201 
192 
     | 
    
         
             
            rubygems_version: 1.8.10
         
     | 
| 
       202 
193 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       203 
194 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       204 
     | 
    
         
            -
            summary:  
     | 
| 
      
 195 
     | 
    
         
            +
            summary: Modular Ruby clients for REST APIs
         
     | 
| 
       205 
196 
     | 
    
         
             
            test_files:
         
     | 
| 
       206 
197 
     | 
    
         
             
            - test/client/facebook/test_api.rb
         
     | 
| 
       207 
198 
     | 
    
         
             
            - test/client/facebook/test_cache.rb
         
     |