cobregratis 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.mkdn CHANGED
@@ -34,7 +34,9 @@ file is recommended. See config_initializers_cobregratis.rb in the examples/ dir
34
34
 
35
35
  ## Usage
36
36
 
37
- @billets = Cobregratis::Billet.find(:all)
37
+ @bank_billets = Cobregratis::BankBillet.find(:all)
38
+ @bank_billet_accounts = Cobregratis::BankBilletAccount.find(:all)
39
+ @services = Cobregratis::Service.find(:all)
38
40
 
39
41
  ## License
40
42
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.3.0
@@ -0,0 +1,4 @@
1
+ module Cobregratis
2
+ class BankBilletAccount < Base
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Cobregratis
2
+ class Service < Base
3
+ end
4
+ end
data/lib/cobregratis.rb CHANGED
@@ -2,4 +2,6 @@ require 'active_resource'
2
2
  $:.unshift(File.dirname(__FILE__))
3
3
 
4
4
  require 'cobregratis/base'
5
+ require 'cobregratis/bank_billet_account'
5
6
  require 'cobregratis/bank_billet'
7
+ require 'cobregratis/service'
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/../spec_helper'
2
+
3
+ describe Cobregratis::BankBilletAccount do
4
+ before(:each) do
5
+ @account = Cobregratis::BankBilletAccount.new
6
+ end
7
+
8
+ it "should be instance of Cobregratis::Base" do
9
+ @account.kind_of?(Cobregratis::Base).should be_true
10
+ end
11
+
12
+ end
@@ -0,0 +1,12 @@
1
+ require File.dirname(__FILE__) + '/../spec_helper'
2
+
3
+ describe Cobregratis::Service do
4
+ before(:each) do
5
+ @service = Cobregratis::Service.new
6
+ end
7
+
8
+ it "should be instance of Cobregratis::Base" do
9
+ @service.kind_of?(Cobregratis::Base).should be_true
10
+ end
11
+
12
+ end
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
9
- - 2
10
- version: 0.2.2
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rafael Lima
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-27 00:00:00 -03:00
18
+ date: 2011-05-20 00:00:00 -03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -181,10 +181,14 @@ files:
181
181
  - lib/cachable.rb
182
182
  - lib/cobregratis.rb
183
183
  - lib/cobregratis/bank_billet.rb
184
+ - lib/cobregratis/bank_billet_account.rb
184
185
  - lib/cobregratis/base.rb
186
+ - lib/cobregratis/service.rb
185
187
  - spec/cachable_spec.rb
188
+ - spec/cobregratis/bank_billet_account_spec.rb
186
189
  - spec/cobregratis/bank_billet_spec.rb
187
190
  - spec/cobregratis/base_spec.rb
191
+ - spec/cobregratis/service_spec.rb
188
192
  - spec/spec.opts
189
193
  - spec/spec_helper.rb
190
194
  has_rdoc: true
@@ -225,6 +229,8 @@ test_files:
225
229
  - examples/config_initializers_cobregratis.rb
226
230
  - examples/sample.rb
227
231
  - spec/cachable_spec.rb
232
+ - spec/cobregratis/bank_billet_account_spec.rb
228
233
  - spec/cobregratis/bank_billet_spec.rb
229
234
  - spec/cobregratis/base_spec.rb
235
+ - spec/cobregratis/service_spec.rb
230
236
  - spec/spec_helper.rb