theme 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 254228666c499ec52897053c19a69dc1ac3cf10c
4
- data.tar.gz: ecc08329901e61dcdbbae73a82a1ee87f7c342a2
3
+ metadata.gz: c24f4a1ca51faa05d0434f76a36e5f4605706a48
4
+ data.tar.gz: 03aef933582d2b8ffaf3b7cd6d19c709c9c63fdc
5
5
  SHA512:
6
- metadata.gz: bc532e11312b41cbbd2e0aa1bffeab09937543308aa0dddc5c6d56965233cf7ebe859e268be11130e41b7fd1ee409ef7340cc6aef7b5c221e724c0d57f43fa05
7
- data.tar.gz: 56a8e8f3c276a3848ee5e6973de0edfe1ddeabb5b7d01da8175015fa40a512b9a660b1e8b519ea243a06603ccfbbbd97fdd21b3162103057fdec7a32d33eb161
6
+ metadata.gz: 14fc8ef426bd3da8ca9e43d90b6146d28404488fca7e0802eff122a4885d2ab3e28ac215f38d290ce40cebbad43fd7a07c402936844b9dee921d0ae87e3de131
7
+ data.tar.gz: 20f118bbceecf70526d067823b97c9c3a8c26e23e93fd69a05370f2f9810278bcddf03908e44107c29f158cf90814cacbcbf2ca71404dfd189ac04d6ae6a579e
@@ -7,7 +7,7 @@ module Theme
7
7
  class Component < SimpleDelegator
8
8
  include Theme::Events
9
9
 
10
- attr_reader :instance
10
+ attr_reader :instance, :node, :name
11
11
 
12
12
  def initialize instance = false
13
13
  @instance = instance
data/lib/theme/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Theme
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/theme.rb CHANGED
@@ -129,6 +129,7 @@ module Theme
129
129
  Theme.config.components.each do |name, klass|
130
130
  component = Object.const_get(klass).new self
131
131
  components[name] = component
132
+ component.instance_variable_set :@id
132
133
  end
133
134
 
134
135
  components.each do |name, component|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-21 00:00:00.000000000 Z
11
+ date: 2014-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt