open_lighting 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.
data/.rbenv-version ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p194
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use 1.9.3@open_lighting
@@ -35,13 +35,10 @@ module OpenLighting
35
35
  end
36
36
 
37
37
  def point(key)
38
- self.points[key]
39
- end
38
+ # d { key }
39
+ # d { self.points }
40
40
 
41
- def add_points(options)
42
- options ||= {}
43
- options.values.each{|opt| opt.symbolize_keys!}
44
- self.points.merge!(options.symbolize_keys!)
41
+ self.points[key]
45
42
  end
46
43
 
47
44
  def to_dmx
@@ -1,3 +1,3 @@
1
1
  module OpenLighting
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -15,6 +15,8 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = OpenLighting::VERSION
17
17
 
18
+ gem.add_dependency 'json'
19
+
18
20
  if RUBY_VERSION.to_f == 1.9
19
21
  gem.add_development_dependency 'simplecov', '~> 0.6.4'
20
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_lighting
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:
@@ -9,8 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-29 00:00:00.000000000 Z
12
+ date: 2012-07-30 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: json
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
14
30
  - !ruby/object:Gem::Dependency
15
31
  name: simplecov
16
32
  requirement: !ruby/object:Gem::Requirement
@@ -115,6 +131,8 @@ extensions: []
115
131
  extra_rdoc_files: []
116
132
  files:
117
133
  - .gitignore
134
+ - .rbenv-version
135
+ - .rvmrc
118
136
  - .travis.yml
119
137
  - Gemfile
120
138
  - Guardfile