document_builder 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGFkOWQ4NTM0NDI2ZTFiZDk0ZjczODgwYWQ2OWI4YmI4N2FjZDM0Mg==
4
+ MDY1MjliOTFlMDFiNjVjOTdlMDBkOGU4NDBhYTEzM2IyMDRmNWViOA==
5
5
  data.tar.gz: !binary |-
6
- NjkyNGU1MmIwMDZkYTZiZWJhNjg2Njg3MTMxNWVkY2QzOTFiODcxNw==
6
+ ZDM3ZWE4Y2ZkNjU1NzI2MTJlMzFhYzZjYTkzYWRiMTUwYzNiYjdhNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzRkNzY1YTIyZjg1MzQ3NGVmY2ZjMzEyNjFhYmRlNmFlMjU0YWJmZThlYWRk
10
- YmQ4ZTJiMTgwZDhmYzQ1ODJhMjgzZWJmZjg2ODhkNDM3YzU1ZDMzNWI2M2Nh
11
- ZjNjMjFiY2IwOWYxNzkxMjgyN2VkNmM3ZTYzNzU4Mzk0ODIyMzc=
9
+ OTc0NDAzOWZmYWM0NGFiNmIxYjdmNjdlNjBlOGI5NTU2YTkxNDllNTI0NWVk
10
+ Y2MwMjliOTMxMDcwODE1ZWZhNWRhMzNkY2E4ODkxYjRjMzYxODBhMjdiY2Q1
11
+ ODEzNWU0OGU2ZDU4OWM1NDJmNmUzNTIyMGRkOTg3Mjk2YjRlMDE=
12
12
  data.tar.gz: !binary |-
13
- N2Y5MGE1M2IzZTQ5ZjdjMWRjMDIyMzU3MThlNTkxOTIzZDAzNzM1NmY1MzM5
14
- MmVkMzE3YTVhYzI1ZDAxNjU2MmVmMTlkYmEzMTcxYzI2MWIwMjY0OWQ4Yjhm
15
- NDkyODdmNzMyNGFiNGE2NjI2ZjdmZDZhZGY5M2JiMTE3MWY0ZWE=
13
+ ZjY5MDM2Y2M1MzU2YmIxNjlkYmFhMTZmMTc1MTM1MDFhZTQ1NWY4ODVjNWMy
14
+ Nzc5NTc2ZTM5ODFjZGY3MGY1ZGEzYjRmNTJhZmY5YmZlZDRhOTAyZGMwYzgx
15
+ ODY1MTUyYjdlZTlkNDAzNmNiYzRmNTc3ZDA0ZTY5MTc3YjYxYmY=
@@ -17,7 +17,7 @@ module DocumentBuilder
17
17
 
18
18
  def each
19
19
  @node.each do |element|
20
- yield type.new(element)
20
+ yield type.call(element)
21
21
  end
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module DocumentBuilder
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: document_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Schmitz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-10 00:00:00.000000000 Z
11
+ date: 2015-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport