fetchable 0.1.0 → 0.1.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.
@@ -8,8 +8,9 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Fetchable::VERSION
9
9
  spec.authors = ["Stephen Best", "Sam Phippen"]
10
10
  spec.email = ["bestie@gmail.com"]
11
- spec.summary = %q{Provides a decorator to add a Hash#fetch style interface to any object.}
12
- spec.description = spec.summary + " " + %{For extra flexibility you may specify the method used to fetch items from the underlying collection.}
11
+
12
+ spec.summary = %q{Provides a mixin and decorator to add a `Hash#fetch` like interface to any object.}
13
+ spec.description = spec.summary + " " + %{You must define a `[]` subscript method for raw access to the fetchable data.}
13
14
  spec.homepage = "https://github.com/bestie/fetchable"
14
15
  spec.license = "MIT"
15
16
 
@@ -1,5 +1,5 @@
1
1
  require "fetchable"
2
2
 
3
3
  module Fetchable
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fetchable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -60,9 +60,9 @@ dependencies:
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.9.12
62
62
  none: false
63
- description: Provides a decorator to add a Hash#fetch style interface to any object.
64
- For extra flexibility you may specify the method used to fetch items from the underlying
65
- collection.
63
+ description: Provides a mixin and decorator to add a `Hash#fetch` like interface to
64
+ any object. You must define a `[]` subscript method for raw access to the fetchable
65
+ data.
66
66
  email:
67
67
  - bestie@gmail.com
68
68
  executables: []
@@ -107,7 +107,8 @@ rubyforge_project:
107
107
  rubygems_version: 1.8.25
108
108
  signing_key:
109
109
  specification_version: 3
110
- summary: Provides a decorator to add a Hash#fetch style interface to any object.
110
+ summary: Provides a mixin and decorator to add a `Hash#fetch` like interface to any
111
+ object.
111
112
  test_files:
112
113
  - spec/fetchable/decorator_spec.rb
113
114
  - spec/fetchable_spec.rb