correios_sigep 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 02e1206457931762afbf9a81eaf58edd50cbf3d5
4
- data.tar.gz: eb941879c5b39fe9444f1358528d72abf9411881
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ N2Q3ZjVmN2EwZGRiYmMwMjUzNGFmNWFiNDdmN2I5ZGExMGM0MmE5OQ==
5
+ data.tar.gz: !binary |-
6
+ NzRiOTA1NWZhNzE4ZDgyMTY2YmQ4ZTdkMjBlZWZkZDIxMjUxMmEyYg==
5
7
  SHA512:
6
- metadata.gz: dd24a24f2d2e290d339772a5d330a5cf550b31c51ae7892aef4c7522abbd49d1ba374e03e00c2fe48e7d4efb11546efc3739ea1f9f2e4527dd7aa02f4da1ddb3
7
- data.tar.gz: ae83a8d394ada4d0edfc35bad75e7f44372d5cdf59bd9a3a90ca20a968342d71f72288ee3bb89471cf48d9893183fe1c0ffcd8e7dd9923e912b00b5b1d5241a8
8
+ metadata.gz: !binary |-
9
+ NmZmMDFiNDllZmFlZDJhY2RjODk0Njc0MmFkOTU4Y2UzOTlkMzZmY2EwZjcz
10
+ OGMyNGI4ZWM2NTY1YjE2OTFiNDUzNGE2Mzc4OGU0YjI2NGRiOWFjZDZkOTZh
11
+ MTZiMWYwOWQxMjRlNDRhOWU0NmRjM2Q0NWVhN2Q4OTA3ZjI1ZTc=
12
+ data.tar.gz: !binary |-
13
+ Njc3M2QwYmJiZTQ5ZGMzZjhmOTM5MDFkN2UwZWQyNjgzODE0YjA3M2I5YmY5
14
+ ZmQzYWQwMWYwM2M5Y2UwNmQ0NjBiMTUwYmMwZTZkMTQ2NTBkYzBkYTcxOWZk
15
+ NDJkZjgzNTdkNjdiOWI2NzJiYmE4OTgxMzMyZWViODI5Njk5OTg=
data/.travis.yml ADDED
@@ -0,0 +1,16 @@
1
+ language: ruby
2
+ before_install:
3
+ - gem install bundler -v '~> 1.5'
4
+ rvm:
5
+ - 1.9.3
6
+ - 2.0.0
7
+ - 2.1.1
8
+ - jruby-19mode
9
+ bundler_args: --without debug
10
+ deploy:
11
+ provider: rubygems
12
+ api_key:
13
+ secure: JxDBiuSJgTyne4WriC56QqOhhl07ojHN/qZerKyxabBj1yQ/GmxlzcdvXdU6eUFJ1E3BvrfrMmraJ28xADm2hG3xgxkNP/D7jqTv0o0h2CODh+W2dr0iv3bNkoDOfjChNrJZCLPXJbuQp8G3O/KJS84g4l4dEIRIRTCS/0yMEBc=
14
+ gem: correios_sigep
15
+ on:
16
+ repo: duduribeiro/correios_sigep
data/Gemfile CHANGED
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in correios_sigep.gemspec
4
4
  gemspec
5
+
6
+ group :debug do
7
+ gem 'pry-meta', '~> 0.0.10'
8
+ end
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  CorreiosSigep
2
2
  =============
3
3
 
4
- Integrador responsável pela comunicação com o SigepWeb - http://goo.gl/z8VJjJ, sistema dos Correios.
5
- Documentação do SigepWeb: http://goo.gl/6TWp2f
4
+ [![Build Status](https://travis-ci.org/duduribeiro/correios_sigep.svg?branch=master)](https://travis-ci.org/duduribeiro/correios_sigep)
6
5
 
6
+ - Integrador responsável pela comunicação com o SigepWeb - http://goo.gl/z8VJjJ.
7
+ - Documentação do SigepWeb: http://goo.gl/6TWp2f
7
8
  - Atualmente a Gem faz somente uma solicitação de uma postagem de reversa (documentação, pág 36).
8
9
 
9
10
  ## Instalação
data/Rakefile CHANGED
@@ -1,5 +1,15 @@
1
1
  require 'bundler/gem_tasks'
2
2
 
3
+ desc "Default task"
4
+ task default: :spec
5
+
6
+ desc "Open an irb session preloaded with this library"
3
7
  task :console do
4
8
  exec 'irb -r correios_sigep -I ./lib'
5
9
  end
10
+
11
+ desc "Run specs"
12
+ task :spec do
13
+ system "rspec ."
14
+ end
15
+
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency 'savon', '~> 2.0'
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.7'
24
- spec.add_development_dependency 'pry-meta', '~> 0.0.10'
25
24
  spec.add_development_dependency 'rake', '~> 10.0'
26
25
  spec.add_development_dependency 'rspec', '~> 3.0'
27
26
  spec.add_development_dependency 'rubocop', '~> 0.29'
@@ -1,3 +1,3 @@
1
1
  module CorreiosSigep
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: correios_sigep
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
  - Carlos Ribeiro
@@ -15,112 +15,98 @@ dependencies:
15
15
  name: savon
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ~>
19
19
  - !ruby/object:Gem::Version
20
20
  version: '2.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ~>
26
26
  - !ruby/object:Gem::Version
27
27
  version: '2.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.7'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.7'
42
- - !ruby/object:Gem::Dependency
43
- name: pry-meta
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
47
- - !ruby/object:Gem::Version
48
- version: 0.0.10
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - "~>"
54
- - !ruby/object:Gem::Version
55
- version: 0.0.10
56
42
  - !ruby/object:Gem::Dependency
57
43
  name: rake
58
44
  requirement: !ruby/object:Gem::Requirement
59
45
  requirements:
60
- - - "~>"
46
+ - - ~>
61
47
  - !ruby/object:Gem::Version
62
48
  version: '10.0'
63
49
  type: :development
64
50
  prerelease: false
65
51
  version_requirements: !ruby/object:Gem::Requirement
66
52
  requirements:
67
- - - "~>"
53
+ - - ~>
68
54
  - !ruby/object:Gem::Version
69
55
  version: '10.0'
70
56
  - !ruby/object:Gem::Dependency
71
57
  name: rspec
72
58
  requirement: !ruby/object:Gem::Requirement
73
59
  requirements:
74
- - - "~>"
60
+ - - ~>
75
61
  - !ruby/object:Gem::Version
76
62
  version: '3.0'
77
63
  type: :development
78
64
  prerelease: false
79
65
  version_requirements: !ruby/object:Gem::Requirement
80
66
  requirements:
81
- - - "~>"
67
+ - - ~>
82
68
  - !ruby/object:Gem::Version
83
69
  version: '3.0'
84
70
  - !ruby/object:Gem::Dependency
85
71
  name: rubocop
86
72
  requirement: !ruby/object:Gem::Requirement
87
73
  requirements:
88
- - - "~>"
74
+ - - ~>
89
75
  - !ruby/object:Gem::Version
90
76
  version: '0.29'
91
77
  type: :development
92
78
  prerelease: false
93
79
  version_requirements: !ruby/object:Gem::Requirement
94
80
  requirements:
95
- - - "~>"
81
+ - - ~>
96
82
  - !ruby/object:Gem::Version
97
83
  version: '0.29'
98
84
  - !ruby/object:Gem::Dependency
99
85
  name: simplecov
100
86
  requirement: !ruby/object:Gem::Requirement
101
87
  requirements:
102
- - - "~>"
88
+ - - ~>
103
89
  - !ruby/object:Gem::Version
104
90
  version: '0.9'
105
91
  type: :development
106
92
  prerelease: false
107
93
  version_requirements: !ruby/object:Gem::Requirement
108
94
  requirements:
109
- - - "~>"
95
+ - - ~>
110
96
  - !ruby/object:Gem::Version
111
97
  version: '0.9'
112
98
  - !ruby/object:Gem::Dependency
113
99
  name: webmock
114
100
  requirement: !ruby/object:Gem::Requirement
115
101
  requirements:
116
- - - "~>"
102
+ - - ~>
117
103
  - !ruby/object:Gem::Version
118
104
  version: '1.0'
119
105
  type: :development
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
108
  requirements:
123
- - - "~>"
109
+ - - ~>
124
110
  - !ruby/object:Gem::Version
125
111
  version: '1.0'
126
112
  description: An integration with Correios SIGEP WEB system (http://www.correios.com.br/para-sua-empresa/encomendas/sigep-web)
@@ -133,11 +119,12 @@ executables:
133
119
  extensions: []
134
120
  extra_rdoc_files: []
135
121
  files:
136
- - ".gitignore"
137
- - ".rspec"
138
- - ".rubocop.yml"
139
- - ".ruby-gemset"
140
- - ".ruby-version"
122
+ - .gitignore
123
+ - .rspec
124
+ - .rubocop.yml
125
+ - .ruby-gemset
126
+ - .ruby-version
127
+ - .travis.yml
141
128
  - Gemfile
142
129
  - LICENSE.txt
143
130
  - README.md
@@ -201,17 +188,17 @@ require_paths:
201
188
  - lib
202
189
  required_ruby_version: !ruby/object:Gem::Requirement
203
190
  requirements:
204
- - - ">="
191
+ - - ! '>='
205
192
  - !ruby/object:Gem::Version
206
193
  version: '0'
207
194
  required_rubygems_version: !ruby/object:Gem::Requirement
208
195
  requirements:
209
- - - ">="
196
+ - - ! '>='
210
197
  - !ruby/object:Gem::Version
211
198
  version: '0'
212
199
  requirements: []
213
200
  rubyforge_project:
214
- rubygems_version: 2.4.3
201
+ rubygems_version: 2.4.5
215
202
  signing_key:
216
203
  specification_version: 4
217
204
  summary: A gem that integrates with Correios SIGEP WEB.