mifiel 1.0.1 → 1.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,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62a53025404e6eae0ad14166a1af2926695d4fae
4
- data.tar.gz: f6ba1a0bd02be7b8211e6b404009942fb7f56e7d
3
+ metadata.gz: f273b8cbbfbffa64f1e4c141bf8f02a29dcfbd34
4
+ data.tar.gz: 682f35bda80e9c2d625b18256cb607edd9229597
5
5
  SHA512:
6
- metadata.gz: 1108db05b0ea2babce2d13fd32d9bc5ea4c6339cebbdee2db7b0a81b1bc42fe0f261390c0b6bfc39f17634741164fe2f2322444619003d54a43034421204d5a5
7
- data.tar.gz: b614aba324ae18a85aa60551d7c428fdb0d234ca97351a445598469a703e5b3df26680a76cebf87785aaa1181ad07d4475f843fe5de4b82134dd9ff9a1b621c5
6
+ metadata.gz: 6a088f2857cc587af2576982cc21e604a3bd11f52c8c141f50c2fb66348b3c3d7794d15188d8b3c64c0a67ed35551e1d288d9943118d729e27935a6bc6a197e1
7
+ data.tar.gz: 3b7d079a06bd1ba6b5747df3f3b7e3df00d51b0ef0dca76250118f9a1dbf34460ffafb63b35b5416615c457b008c4578260d85f29ab72e51271d95cab02f1b7b
@@ -10,5 +10,5 @@ notifications:
10
10
  on_success: change
11
11
  on_failure: always
12
12
  script:
13
- - bundle exec rubocop
13
+ - mkdir ./tmp/
14
14
  - bundle exec rspec spec
@@ -7,7 +7,7 @@ module Mifiel
7
7
  put :save, '/documents/:id'
8
8
  delete :delete, '/documents/:id'
9
9
 
10
- def self.create(file:, signatories:, hash:nil)
10
+ def self.create(file:, signatories:, hash:nil, callback_url:nil)
11
11
  sgries = {}
12
12
  signatories.each_with_index { |s, i| sgries[i] = s }
13
13
  rest_request = RestClient::Request.new(
@@ -15,8 +15,9 @@ module Mifiel
15
15
  method: :post,
16
16
  payload: {
17
17
  file: File.new(file),
18
- hash: hash,
19
- signatories: sgries
18
+ original_hash: hash,
19
+ signatories: sgries,
20
+ callback_url: callback_url
20
21
  },
21
22
  ssl_version: 'SSLv23'
22
23
  )
@@ -1,3 +1,3 @@
1
1
  module Mifiel
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ['Genaro Madrid']
10
10
  spec.email = ['genmadrid@gmail.com']
11
11
  spec.summary = 'Ruby SDK for mifiel.com.'
12
- spec.homepage = 'https://github.com/Mifiel/ruby-api-client'
12
+ spec.homepage = 'https://www.mifiel.com'
13
13
  spec.license = 'MIT'
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mifiel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genaro Madrid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -261,7 +261,7 @@ files:
261
261
  - spec/mifiel/document_spec.rb
262
262
  - spec/spec_helper.rb
263
263
  - spec/support/fake_mifiel.rb
264
- homepage: https://github.com/Mifiel/ruby-api-client
264
+ homepage: https://www.mifiel.com
265
265
  licenses:
266
266
  - MIT
267
267
  metadata: {}