cobregratis 0.2.1 → 0.2.2
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 -3
- data/Rakefile +1 -10
- data/VERSION +1 -1
- metadata +4 -10
data/README.mkdn
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Cobregratis
|
|
1
|
+
# Cobregratis
|
|
2
2
|
|
|
3
3
|
## What is it?
|
|
4
4
|
|
|
@@ -22,8 +22,8 @@ All these classes are inherited from ActiveResouce::Base. Refer to the [ActiveRe
|
|
|
22
22
|
require 'cobregratis'
|
|
23
23
|
|
|
24
24
|
Cobregratis::Base.site = 'https://app.cobregratis.com.br'
|
|
25
|
-
Cobregratis::Base.user = '
|
|
26
|
-
Cobregratis::Base.password = '
|
|
25
|
+
Cobregratis::Base.user = 'your_token'
|
|
26
|
+
Cobregratis::Base.password = 'X'
|
|
27
27
|
|
|
28
28
|
and, if you want [caching][c]:
|
|
29
29
|
|
data/Rakefile
CHANGED
|
@@ -16,16 +16,7 @@ Jeweler::Tasks.new do |gem|
|
|
|
16
16
|
gem.homepage = "http://github.com/rafaelp/cobregratis"
|
|
17
17
|
gem.license = "MIT"
|
|
18
18
|
gem.summary = %Q{Ruby Wrapper around Cobre Grátis API}
|
|
19
|
-
gem.description =
|
|
20
|
-
Cobre Grátis
|
|
21
|
-
|
|
22
|
-
Configure by adding the following:
|
|
23
|
-
|
|
24
|
-
require 'cobregratis'
|
|
25
|
-
Cobregratis::Base.site = 'https://app.cobregratis.com.br/'
|
|
26
|
-
Cobregratis::Base.user = 'your_api_username'
|
|
27
|
-
Cobregratis::Base.user = 'your_api_password'
|
|
28
|
-
}
|
|
19
|
+
gem.description = "Ruby Wrapper around Cobre Grátis API. More info at: http://cobregratis.com.br/doc/api"
|
|
29
20
|
gem.email = "contato@rafael.adm.br"
|
|
30
21
|
gem.authors = ["Rafael Lima"]
|
|
31
22
|
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.2
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cobregratis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.2.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Rafael Lima
|
|
@@ -156,13 +156,7 @@ dependencies:
|
|
|
156
156
|
- 0
|
|
157
157
|
version: 2.3.0
|
|
158
158
|
requirement: *id009
|
|
159
|
-
description: "\
|
|
160
|
-
Cobre Gr\xC3\xA1tis\n\n\
|
|
161
|
-
Configure by adding the following:\n\n\
|
|
162
|
-
require 'cobregratis'\n\
|
|
163
|
-
Cobregratis::Base.site = 'https://app.cobregratis.com.br/'\n\
|
|
164
|
-
Cobregratis::Base.user = 'your_api_username'\n\
|
|
165
|
-
Cobregratis::Base.user = 'your_api_password'\n "
|
|
159
|
+
description: "Ruby Wrapper around Cobre Gr\xC3\xA1tis API. More info at: http://cobregratis.com.br/doc/api"
|
|
166
160
|
email: contato@rafael.adm.br
|
|
167
161
|
executables: []
|
|
168
162
|
|