expo 0.7.0 → 0.7.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.
Files changed (3) hide show
  1. checksums.yaml +6 -14
  2. data/lib/presenters/merge_expo.rb +1 -1
  3. metadata +6 -5
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YmM1NmEwZGE1YmE3MDFhODFhZDUzZDQ5MGRkYjYwMzU2Njg2NDgxNw==
5
- data.tar.gz: !binary |-
6
- NTI2YmM5MWUyNTY2Nzg3M2QwMTQ0OWJmZDhmZjdlNmM1YTJiZGRkNg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NzY1Mjc3OWU3NDQwMjc4ZDhmOGU4MzQyMGI0YTYzYjEwZGU2Y2NiNjdiNWEx
10
- MjNkNzJiMjE4M2M3NDYzYzI2NDAyM2YxYmQzMDFkNTUwMmU4ZGM1NWM1OTcy
11
- MTBjNDc5MDY5YzZkZjMwZWQ1MTI3NzgxZDIwMTM3MWQ5MmZmODE=
12
- data.tar.gz: !binary |-
13
- ZmUwODgyNzA3YzJlODA3MTQ2NjQwZTBjZjJhZDljZjYzNjZjYWM3MWY3Y2E3
14
- NjBhZGM2NThhMjE0MzY1NTFhYmZkZjNmMTAwYWVlZGFmOTM1MDUzOGMzNmQ3
15
- MzRmMTkzMmFlY2U0ZTJhYTlhY2Q2YzA5YTRkM2E3YjViNzFkMmQ=
2
+ SHA1:
3
+ metadata.gz: fefa022bd3ade6465f332b70d45348a657362771
4
+ data.tar.gz: 4e93be71d1fbb363b1b0c700123359e2b86c41c2
5
+ SHA512:
6
+ metadata.gz: b5e6a1ab5bcefd31bd6784deaff25565a2a4cbfed3c82216fa9d070b47b128d24f6f1c6f2d23041ee2f72becf04826efa0e1e1ffeb1b88646855c480aa4ccca1
7
+ data.tar.gz: 2130059ebd7f35b9fb7ed55000b84a4591d3a67ae34dd537130cca806e241918b69a7a329d6afee71a26fce464a0ab7700f2aa24c1608a0813456ef6a4953e02
@@ -3,7 +3,7 @@ class MergeExpo < Struct.new(:presenter, :sub_expo, :block)
3
3
  associated = self.presenter.to_proc.call(object)
4
4
  sub = Expo2.new(self.sub_expo, &self.block)
5
5
  if associated
6
- sub.expo(associated, context)
6
+ sub.expo(associated, context, index)
7
7
  else
8
8
  {}
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serguei Filimonov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-30 00:00:00.000000000 Z
11
+ date: 2013-08-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Expo hopes to ease writing smaller, more cohesive objects in a Rails-like
14
14
  setting.
@@ -33,7 +33,8 @@ files:
33
33
  - lib/presenters/sub_expo.rb
34
34
  - lib/presenters.rb
35
35
  homepage: https://github.com/sergueif/expo
36
- licenses: []
36
+ licenses:
37
+ - MIT
37
38
  metadata: {}
38
39
  post_install_message:
39
40
  rdoc_options: []
@@ -41,12 +42,12 @@ require_paths:
41
42
  - lib
42
43
  required_ruby_version: !ruby/object:Gem::Requirement
43
44
  requirements:
44
- - - ! '>='
45
+ - - '>='
45
46
  - !ruby/object:Gem::Version
46
47
  version: '0'
47
48
  required_rubygems_version: !ruby/object:Gem::Requirement
48
49
  requirements:
49
- - - ! '>='
50
+ - - '>='
50
51
  - !ruby/object:Gem::Version
51
52
  version: '0'
52
53
  requirements: []