tinyerp_ruby 0.3.0 → 0.3.1

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: 0ec70d0fb1f61b45caf432e187c1a6a09a02a248
4
- data.tar.gz: 1cf63c259c6c9e6e74c67a7b03a6fda76bf31705
3
+ metadata.gz: a45cbe2211db2f0854d5ed676803d8471bb85522
4
+ data.tar.gz: 7b792a14acce8200e50ff0a149547a70accee933
5
5
  SHA512:
6
- metadata.gz: fa9c2a76c29646ff6a1aab5cc6be05b6622af5976db9749b34f22d74f061d61296c5ae59e20fdcb3afefd6b4e589ef77f1188bd578e8e7ca972284e994dcabe7
7
- data.tar.gz: b61ccca8e3ecacfd00d8894872c3d641742387226288d920ec1ea24fb28d268eee2373f871a126bb9113bd4fd9db0d6bcbd55dca6b62402a483e786472c27720
6
+ metadata.gz: 464d32b1fcbb5faef3c000eceddbdf9cf0b112b2120fd6ea164dbd76848865d119cbe7da7991baa3db61101d798991cded7f1ef92b97efe13692aef6913c76c2
7
+ data.tar.gz: bc1b7ddccd095be21b44949dc216ba7c045f0e11d841a0e76eb931ddddd13b6bb24f064679f233948d419b4a803925f72840d608f9de49416a41094f0d511e2a
data/README.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # TinyerpRuby
2
+ by [Locomotiva.pro](http://locomotiva.pro)
3
+
2
4
 
3
5
  [![Build Status](https://travis-ci.org/locomotivapro/tinyerp_ruby.svg?branch=master)](https://travis-ci.org/locomotivapro/tinyerp_ruby)
4
6
  [![Code Climate](https://codeclimate.com/github/locomotivapro/tinyerp_ruby.png)](https://codeclimate.com/github/locomotivapro/tinyerp_ruby)
5
7
 
6
- Gem for integration with [TinyERP](http://www.tiny.com.br) API.
8
+ Gem for integration with [TinyERP](http://www.tiny.com.br) API. At the moment this gem is tested under ruby 1.9.3 and have some problems with ruby 2.0 because an weird behaviour with encoding.
7
9
 
8
10
  ## Installation
9
11
 
@@ -62,6 +64,7 @@ This is an early release and can be much improved. Next steps planned are;
62
64
  - Add builder object to complex methods as incluir_pedido and incluir_nota_fiscal
63
65
  - Add better docs for params hash object
64
66
  - Add support for better logs
67
+ - Create rdoc
65
68
  - ...
66
69
 
67
70
  ## Contributing
@@ -71,3 +74,9 @@ This is an early release and can be much improved. Next steps planned are;
71
74
  3. Commit your changes (`git commit -am 'Add some feature'`)
72
75
  4. Push to the branch (`git push origin my-new-feature`)
73
76
  5. Create new Pull Request
77
+
78
+ ## License
79
+
80
+ MIT License. Copyright 2012-2014 Locomotiva.pro. http://locomotiva.pro
81
+
82
+ You are not granted rights or licenses to the trademarks of the Locomotiva.pro.
@@ -1,3 +1,3 @@
1
1
  module TinyerpRuby
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,11 +1,11 @@
1
1
  require 'bundler/setup'
2
2
  Bundler.setup
3
3
 
4
- require 'support/vcr'
4
+ Dir[File.dirname(__FILE__) + "/support/*.rb"].each { |f| p f; require f }
5
+
5
6
  require 'webmock/rspec'
6
7
  require 'savon'
7
8
  require 'tinyerp_ruby'
8
- require 'support/api_key'
9
9
 
10
10
  RSpec.configure do |config|
11
11
  config.treat_symbols_as_metadata_keys_with_true_values = true
data/spec/support/vcr.rb CHANGED
@@ -1,4 +1,6 @@
1
1
  require 'vcr'
2
+ API_KEY = 'awesomeapikey' unless defined?(API_KEY)
3
+
2
4
  VCR.configure do |c|
3
5
  c.cassette_library_dir = File.expand_path('../vcr',__FILE__)
4
6
  c.hook_into :webmock
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinyerp_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Tierno