dj_remixes 0.0.23 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,27 +1,6 @@
1
1
  module DJ
2
2
  class Worker
3
-
4
- attr_accessor :id
5
- attr_accessor :attributes
6
-
7
- def initialize(attributes = {})
8
- self.attributes = attributes
9
- self.attributes = self.attributes.stringify_keys
10
- self.id = self.attributes['id']
11
- end
12
-
13
- def method_missing(sym, *args, &block)
14
- attribute = sym.to_s
15
- case attribute
16
- when /(.+)\=$/
17
- self.attributes[$1] = args.first
18
- when /(.+)\?$/
19
- # self.attributes.has_key?($1.to_sym)
20
- return self.attributes[$1]
21
- else
22
- return self.attributes[attribute]
23
- end
24
- end
3
+ include MagicAttributes
25
4
 
26
5
  end # Worker
27
6
  end # DJ
@@ -1,3 +1,4 @@
1
+ require 'mark_facets'
1
2
  %w{dj_remixes
2
3
  worker
3
4
  attributes
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
+ - 1
7
8
  - 0
8
- - 23
9
- version: 0.0.23
9
+ version: 0.1.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - markbates
@@ -14,10 +14,24 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-09 00:00:00 -04:00
17
+ date: 2010-08-30 00:00:00 -04:00
18
18
  default_executable:
19
- dependencies: []
20
-
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: mark_facets
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 1
30
+ - 0
31
+ version: 0.1.0
32
+ type: :runtime
33
+ prerelease: false
34
+ version_requirements: *id001
21
35
  description: "dj_remixes was developed by: markbates"
22
36
  email: mark@markbates.com
23
37
  executables: []
@@ -59,6 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
73
  requirements:
60
74
  - - ">="
61
75
  - !ruby/object:Gem::Version
76
+ hash: -2149284955517614999
62
77
  segments:
63
78
  - 0
64
79
  version: "0"