herestomwiththeweather-oscurrency-ruby-api-wrapper 0.1.3 → 0.1.4
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/Manifest +4 -0
- data/Rakefile +1 -1
- data/lib/oscurrency/models/account.rb +19 -0
- data/lib/oscurrency/models/category.rb +8 -0
- data/lib/oscurrency/models/group.rb +8 -0
- data/lib/oscurrency/models/req.rb +8 -0
- data/oscurrency-ruby-api-wrapper.gemspec +4 -4
- metadata +10 -2
data/Manifest
CHANGED
@@ -4,6 +4,10 @@ oscurrency-ruby-api-wrapper.gemspec
|
|
4
4
|
init.rb
|
5
5
|
lib/oscurrency.rb
|
6
6
|
lib/oscurrency/models/exchange.rb
|
7
|
+
lib/oscurrency/models/account.rb
|
8
|
+
lib/oscurrency/models/group.rb
|
9
|
+
lib/oscurrency/models/req.rb
|
7
10
|
lib/oscurrency/models/base.rb
|
8
11
|
lib/oscurrency/models/person.rb
|
12
|
+
lib/oscurrency/models/category.rb
|
9
13
|
README.rdoc
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('oscurrency-ruby-api-wrapper','0.1.
|
5
|
+
Echoe.new('oscurrency-ruby-api-wrapper','0.1.4') do |p|
|
6
6
|
p.description = 'wrapper for oscurrency'
|
7
7
|
p.url = 'http://opensourcecurrency.org'
|
8
8
|
p.author = 'Tom Brown'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Oscurrency
|
2
|
+
module Models
|
3
|
+
class Account < Base
|
4
|
+
cattr_accessor :element_name
|
5
|
+
belongs_to :person
|
6
|
+
#self.site = "#{self.site}/people/:person_id/"
|
7
|
+
|
8
|
+
def self.site
|
9
|
+
create_site_uri_from(@site.to_s + "/people/:person_id/")
|
10
|
+
end
|
11
|
+
|
12
|
+
self.element_name = 'account'
|
13
|
+
|
14
|
+
def initialize(options)
|
15
|
+
super(options)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{oscurrency-ruby-api-wrapper}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Tom Brown"]
|
9
|
-
s.date = %q{2009-07-
|
9
|
+
s.date = %q{2009-07-03}
|
10
10
|
s.description = %q{wrapper for oscurrency}
|
11
11
|
s.email = %q{herestomwiththeweather@gmail.com}
|
12
|
-
s.extra_rdoc_files = ["lib/oscurrency.rb", "lib/oscurrency/models/exchange.rb", "lib/oscurrency/models/base.rb", "lib/oscurrency/models/person.rb", "README.rdoc"]
|
13
|
-
s.files = ["Rakefile", "Manifest", "oscurrency-ruby-api-wrapper.gemspec", "init.rb", "lib/oscurrency.rb", "lib/oscurrency/models/exchange.rb", "lib/oscurrency/models/base.rb", "lib/oscurrency/models/person.rb", "README.rdoc"]
|
12
|
+
s.extra_rdoc_files = ["lib/oscurrency.rb", "lib/oscurrency/models/exchange.rb", "lib/oscurrency/models/account.rb", "lib/oscurrency/models/group.rb", "lib/oscurrency/models/req.rb", "lib/oscurrency/models/base.rb", "lib/oscurrency/models/person.rb", "lib/oscurrency/models/category.rb", "README.rdoc"]
|
13
|
+
s.files = ["Rakefile", "Manifest", "oscurrency-ruby-api-wrapper.gemspec", "init.rb", "lib/oscurrency.rb", "lib/oscurrency/models/exchange.rb", "lib/oscurrency/models/account.rb", "lib/oscurrency/models/group.rb", "lib/oscurrency/models/req.rb", "lib/oscurrency/models/base.rb", "lib/oscurrency/models/person.rb", "lib/oscurrency/models/category.rb", "README.rdoc"]
|
14
14
|
s.homepage = %q{http://opensourcecurrency.org}
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Oscurrency-ruby-api-wrapper", "--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: herestomwiththeweather-oscurrency-ruby-api-wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Brown
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-07-
|
12
|
+
date: 2009-07-03 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -31,8 +31,12 @@ extensions: []
|
|
31
31
|
extra_rdoc_files:
|
32
32
|
- lib/oscurrency.rb
|
33
33
|
- lib/oscurrency/models/exchange.rb
|
34
|
+
- lib/oscurrency/models/account.rb
|
35
|
+
- lib/oscurrency/models/group.rb
|
36
|
+
- lib/oscurrency/models/req.rb
|
34
37
|
- lib/oscurrency/models/base.rb
|
35
38
|
- lib/oscurrency/models/person.rb
|
39
|
+
- lib/oscurrency/models/category.rb
|
36
40
|
- README.rdoc
|
37
41
|
files:
|
38
42
|
- Rakefile
|
@@ -41,8 +45,12 @@ files:
|
|
41
45
|
- init.rb
|
42
46
|
- lib/oscurrency.rb
|
43
47
|
- lib/oscurrency/models/exchange.rb
|
48
|
+
- lib/oscurrency/models/account.rb
|
49
|
+
- lib/oscurrency/models/group.rb
|
50
|
+
- lib/oscurrency/models/req.rb
|
44
51
|
- lib/oscurrency/models/base.rb
|
45
52
|
- lib/oscurrency/models/person.rb
|
53
|
+
- lib/oscurrency/models/category.rb
|
46
54
|
- README.rdoc
|
47
55
|
has_rdoc: false
|
48
56
|
homepage: http://opensourcecurrency.org
|