cobregratis 0.2.2 → 0.3.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.
- data/README.mkdn +3 -1
- data/VERSION +1 -1
- data/lib/cobregratis/bank_billet_account.rb +4 -0
- data/lib/cobregratis/service.rb +4 -0
- data/lib/cobregratis.rb +2 -0
- data/spec/cobregratis/bank_billet_account_spec.rb +12 -0
- data/spec/cobregratis/service_spec.rb +12 -0
- metadata +10 -4
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
|
-
@
|
|
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.
|
|
1
|
+
0.3.0
|
data/lib/cobregratis.rb
CHANGED
|
@@ -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
|
-
-
|
|
9
|
-
-
|
|
10
|
-
version: 0.
|
|
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-
|
|
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
|