atacama_client 0.0.1 → 0.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22ad7b25b3e11c14618900335b34fb4d3a7e1347
4
- data.tar.gz: 56ca076f17863412db056e6b0fda12e68a908019
3
+ metadata.gz: fcd1b8af6df06a2df9cd215da98734084b016b22
4
+ data.tar.gz: 3fe7d929ef0f18ee43c2163431c619442d358089
5
5
  SHA512:
6
- metadata.gz: 81e9c9673a48ae455b18b18b185ae44eace604f1b51af4ed6222f184941ee0074658c374cc008dd5141de94b9cbca35fbd9ef333be857a9c72a8d8fc39f7d2ac
7
- data.tar.gz: a421c718ac7b5eca0296627ae5afe102f251c8193f3fed0a04fe117c2bc7529e78828052677bb1dc6649756347cb7006b071ee5f7d0f9ddb26730e856e7d7bbb
6
+ metadata.gz: 70fab2f4cd6bf409b9df349b5465a275341349a1b6fd902d645486cfefe46c4df1d7a7e43f4982c8042a63ce0d06874757ae0aab39d76b42c199d95e06a65143
7
+ data.tar.gz: 5a17c1510655b0d1e2ea324fabdd3334567467a0d46ec72d703e81cdda0149c0c6f8aeb459d05fe21705ddd3893a0f3e92cd18e09180a44230676177e0a423da
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Atacama API gem
2
2
 
3
- [![Build Status](https://travis-ci.org/coyosoftware/atacama_client.svg?branch=master)](https://travis-ci.org/coyosoftware/atacama_client) [![Gem Version](https://badge.fury.io/rb/atacama_client.svg)](http://badge.fury.io/rb/atacama_client) [![Code Climate](https://codeclimate.com/github/coyosoftware/atacama_client/badges/gpa.svg)](https://codeclimate.com/github/coyosoftware/atacama_client) [![Test Coverage](https://codeclimate.com/github/coyosoftware/atacama_client/badges/coverage.svg)](https://codeclimate.com/github/coyosoftware/atacama_client/coverage)
3
+ [![Build Status](https://travis-ci.org/coyosoftware/atacama_client.svg?branch=master)](https://travis-ci.org/coyosoftware/atacama_client) [![Gem Version](https://badge.fury.io/rb/atacama_client.svg)](https://badge.fury.io/rb/atacama_client) [![Code Climate](https://codeclimate.com/github/coyosoftware/atacama_client/badges/gpa.svg)](https://codeclimate.com/github/coyosoftware/atacama_client) [![Test Coverage](https://codeclimate.com/github/coyosoftware/atacama_client/badges/coverage.svg)](https://codeclimate.com/github/coyosoftware/atacama_client/coverage)
4
4
 
5
5
  This gem simplifies the usage of [Atacama](http://atacama.coyo.com.br/) API
6
6
 
@@ -1,3 +1,3 @@
1
1
  module AtacamaClient
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -9,5 +9,9 @@ module AtacamaClient
9
9
  Configuration.instance
10
10
  end
11
11
 
12
+ def self.configure(&block)
13
+ block.call config
14
+ end
15
+
12
16
  ActiveRestClient::Base.base_url = "http://atacama.coyo.com.br/api"
13
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atacama_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coyô Software
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-04 00:00:00.000000000 Z
11
+ date: 2016-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler