goldfinger 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/goldfinger/link.rb +4 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06a8ef2a1e5478c256b81c6a152c5fdd8681f626
4
- data.tar.gz: ca099d14c413a8b3825e19efcd2e2c1930d6fc29
3
+ metadata.gz: 86e84a0c8748697ba17c1291e699810185a21353
4
+ data.tar.gz: 26f8ed3895e9f991b6ff93c9505ebc4583a2780c
5
5
  SHA512:
6
- metadata.gz: 856a7925e94dce04b68bbc7ca1c116f35f916cd75709b0db1596bb2c8c1424ff8ade41392dcac6d1aa612ec918b7e9d2cb19b53d42b3b7939b7ca7215692e308
7
- data.tar.gz: 9bef19672f88c9abf5d29e10c2f1412168ae868277d918c8cadccea39c89d3c1cd8614704b7beba8b7977dfb3f89bee28fe720eb7de9d58321eed9e9f540a6f8
6
+ metadata.gz: 147f996f20676112150309e1d622a9ab95ca4a6df174bf10d51be7ade0206001073f047987e2afa98986a320ab4df741830e37d47622aa4757c75b4bbb465b7b
7
+ data.tar.gz: 25a53efb11942a4ce3af8239a554243d2d8c617b41cdef88ff6084e61049390adb5774f31a18bb40e4181432d18a26bb7cd7c3b924e048ef16345c25009c4bdd
@@ -1,15 +1,18 @@
1
1
  module Goldfinger
2
2
  # @!attribute [r] href
3
3
  # @return [String] The href the link points to
4
+ # @!attribute [r] template
5
+ # @return [String] The template the link contains
4
6
  # @!attribute [r] type
5
7
  # @return [String] The mime type of the link
6
8
  # @!attribute [r] rel
7
9
  # @return [String] The relation descriptor of the link
8
10
  class Link
9
- attr_reader :href, :type, :rel
11
+ attr_reader :href, :template, :type, :rel
10
12
 
11
13
  def initialize(a)
12
14
  @href = a[:href]
15
+ @template = a[:template]
13
16
  @type = a[:type]
14
17
  @rel = a[:rel]
15
18
  @titles = a[:titles]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goldfinger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Rochko