coded_options 0.0.4 → 0.1.0

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. data/README.md +3 -0
  2. data/lib/coded_options/version.rb +1 -1
  3. metadata +4 -4
data/README.md CHANGED
@@ -19,7 +19,10 @@ into
19
19
  The STATE_OPTIONS array is perfect for select tags. You can also use this in
20
20
  a plain Ruby object as follows:
21
21
 
22
+ require "coded_options"
23
+
22
24
  class Foo
25
+ extend CodedOptions
23
26
  attr_accessor :state_id, :type_id
24
27
  coded_options :state => %w(active closed), :type => %w(stupid awesome)
25
28
  end
@@ -1,3 +1,3 @@
1
1
  module CodedOptions
2
- VERSION = "0.0.4"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coded_options
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 4
10
- version: 0.0.4
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Dew
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-12 00:00:00 -04:00
18
+ date: 2010-07-14 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21