docproof 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4150cefcec59c38ceb8a97b03e3f266c691c051c
4
+ data.tar.gz: 0ce2ca3659b30ac78487da2ba5a016270b31a206
5
+ SHA512:
6
+ metadata.gz: dd8ff23df2b4ac0175443478e5157c89b15a5161036887edebc80f3b18ad5a2a6e26ebca4f5398ac631710afe970d37e736a06bba891b5970bdb4f9cab8f39c9
7
+ data.tar.gz: 9964dcf7b3d1d19cb4d48e1902602a41497eded31b40f10618d6c1a86e87135ef688c5ccdc1df2f56abcdcb35c2cb8be87c36487977706d37c14d6e3971542a8
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.simplecov ADDED
@@ -0,0 +1,5 @@
1
+ SimpleCov.start do
2
+ add_filter '/test/'
3
+ add_filter '/.bundle/'
4
+ end
5
+
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v 1.14.3
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at ixandidu@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in docproof.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Ikhsan Maulana
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,62 @@
1
+ # Docproof [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/ixandidu/docproof/master/LICENSE.md) [![Gem](https://img.shields.io/gem/v/docproof.svg?style=flat-square)](https://rubygems.org/gems/docproof) [![Code Climate](https://codeclimate.com/github/ixandidu/docproof/badges/gpa.svg)](https://codeclimate.com/github/ixandidu/docproof)
2
+
3
+ Client library for [Proof of Existence API](https://proofofexistence.com/developers).
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'docproof'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install docproof
20
+
21
+ ## Configuration
22
+
23
+ Currently the only supported Bitcoin Payment Gateway is [Coinbase](https://github.com/coinbase/coinbase-ruby), so if you want to use the `Docproof::Document#notarize!` you'll need to set the following environment variables:
24
+
25
+ COINBASE_API_KEY=YOUR-COINBASE-API-KEY
26
+ COINBASE_API_SECRET=YOUR-COINBASE-API-SECRET
27
+
28
+ and requires `coinbase/wallet`
29
+
30
+ ```ruby
31
+ require 'coinbase/wallet`
32
+
33
+ docproof_document = Docproof::Document.new('y0urd0cum3nt5ha256h45h')
34
+ ```
35
+
36
+ ## Usage
37
+
38
+ To register a new document's SHA256 digest:
39
+
40
+ ```ruby
41
+ doc.register!
42
+ ```
43
+
44
+ To post the document's SHA256 digest to the blockchain (making payment to indicated bitcoind address):
45
+
46
+ ```ruby
47
+ doc.notarize!
48
+ ```
49
+
50
+ To lookup the status of the document's SHA256 digest:
51
+
52
+ ```ruby
53
+ doc.lookup!
54
+ ```
55
+
56
+ ## Response
57
+
58
+ The JSON response is stored in `Docproof::Document#response` and keys with the value of empty string are ignored.
59
+
60
+ ### Errors
61
+
62
+ If the request is not successful, the gem will raise an error. All errors are subclasses of `Docproof::Document::Errors`.
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "docproof"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/docproof.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'docproof/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "docproof"
8
+ spec.version = Docproof::VERSION
9
+ spec.authors = ["Ikhsan Maulana"]
10
+ spec.email = ["ixandidu@gmail.com"]
11
+
12
+ spec.summary = %q{Client library for Proof of Existence API}
13
+ spec.description = %q{Client library for Proof of Existence API}
14
+ spec.homepage = "https://github.com/ixandidu/docproof"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.14"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "minitest", "~> 5.0"
27
+ spec.add_development_dependency "webmock", "~> 2.3.2"
28
+ spec.add_development_dependency "sinatra", "~> 1.4.8"
29
+ spec.add_development_dependency "simplecov", "~> 0.13.0"
30
+ end
data/exe/docproof ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "docproof"
@@ -0,0 +1,63 @@
1
+ module Docproof
2
+ class Error < StandardError; end
3
+
4
+ class Document
5
+ class Existed < Error; end
6
+ class Invalid < Error; end
7
+ class NotFound < Error; end
8
+ class AlreadyNotarized < Error; end
9
+
10
+ require 'net/http'
11
+ require 'json'
12
+
13
+ REGISTER_ENDPOINT = URI('https://proofofexistence.com/api/v1/register')
14
+ STATUS_ENDPOINT = URI('https://proofofexistence.com/api/v1/status')
15
+
16
+ attr_reader :sha256_hash,
17
+ :response
18
+
19
+ def initialize(sha256_hash)
20
+ @sha256_hash = sha256_hash
21
+ end
22
+
23
+ def register!
24
+ post(REGISTER_ENDPOINT)
25
+
26
+ if response['reason'] == 'existing'
27
+ raise Existed, "\"#{sha256_hash}\" already registered"
28
+ end
29
+
30
+ if response['reason'] && response['reason'][/Invalid/]
31
+ raise Invalid, "\"#{sha256_hash}\" is invalid"
32
+ end
33
+
34
+ response
35
+ end
36
+
37
+ def lookup!
38
+ post(STATUS_ENDPOINT)
39
+
40
+ if response['reason'] == 'nonexistent'
41
+ raise NotFound, "\"#{sha256_hash}\" does not existed."
42
+ end
43
+
44
+ response
45
+ end
46
+
47
+ def notarize!
48
+ if response['tx']
49
+ raise AlreadyNotarized, "\"#{sha256_hash}\" is already notarized."
50
+ end
51
+
52
+ PaymentProcessor.new(response).perform!
53
+ end
54
+
55
+ private
56
+
57
+ def post(uri)
58
+ @response = JSON.parse(
59
+ Net::HTTP.post_form(uri, d: sha256_hash).body
60
+ ).delete_if { |_, value| value == '' }
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,5 @@
1
+ {
2
+ "success" : false,
3
+ "reason" : "existing",
4
+ "digest" : "15db6dbff590000ea13246e1c166802b690663c4e0635bfca78049d5a8762832"
5
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "reason" : "Invalid `hash` field"
3
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "success" : "true",
3
+ "digest" : "15db6dbff590000ea13246e1c166802b690663c4e0635bfca78049d5a8762832",
4
+ "pay_address" : "1Zmxnd5CmLqhVnCbEcvxNxCoeqa2qhun3",
5
+ "price" : 500000
6
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "digest" : "15db6dbff590000ea13246e1c166802b690663c4e0635bfca78049d5a8762832",
3
+ "payment_address" : "1Zmxnd5CmLqhVnCbEcvxNxCoeqa2qhun3",
4
+ "pending" : false,
5
+ "timestamp" : "2015-09-28 18:16:50",
6
+ "tx" : "f8db93646769eaf614cf5f26fb1bf1b78ee3f83ba6bebb5f7da9223f0022577d",
7
+ "txstamp" : "2015-09-28 18:26:31",
8
+ "network" : "livenet",
9
+ "success" : true,
10
+ "blockstamp" : "2015-09-28 19:32:54"
11
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "success" : false,
3
+ "reason" : "nonexistent"
4
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "digest" : "15db6dbff590000ea13246e1c166802b690663c4e0635bfca78049d5a8762832",
3
+ "payment_address" : "1Zmxnd5CmLqhVnCbEcvxNxCoeqa2qhun3",
4
+ "pending" : true,
5
+ "timestamp" : "2015-09-28 18:16:50",
6
+ "network" : "livenet",
7
+ "success" : true,
8
+ "txstamp" : "",
9
+ "blockstamp" : ""
10
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "digest" : "15db6dbff590000ea13246e1c166802b690663c4e0635bfca78049d5a8762832",
3
+ "payment_address" : "1Zmxnd5CmLqhVnCbEcvxNxCoeqa2qhun3",
4
+ "pending" : false,
5
+ "timestamp" : "2015-09-28 18:16:50",
6
+ "tx" : "f8db93646769eaf614cf5f26fb1bf1b78ee3f83ba6bebb5f7da9223f0022577d",
7
+ "txstamp" : "2015-09-28 18:26:31",
8
+ "network" : "livenet",
9
+ "success" : true,
10
+ "blockstamp" : ""
11
+ }
@@ -0,0 +1,10 @@
1
+ module Docproof
2
+ module Mocks
3
+ module HelperMethods
4
+ def json_file(file_name)
5
+ File.open(File.expand_path("fixtures/#{file_name}.json", __dir__))
6
+ end
7
+ end
8
+ end
9
+ end
10
+
@@ -0,0 +1,29 @@
1
+ module Docproof
2
+ module Mocks
3
+ module ProofOfExistence
4
+ require 'sinatra/base'
5
+
6
+ class FakeAPI < Sinatra::Base
7
+ include Docproof::Mocks::HelperMethods
8
+
9
+ post '/api/v1/:end_point' do
10
+ content_type :json
11
+
12
+ @@simulations ||= []
13
+ if params['d'].start_with?('sequence') && @@simulations.empty?
14
+ @@simulations = params['d'].split('_').reverse
15
+ @@simulations.pop
16
+ end
17
+ params_digest = @@simulations.any? ? @@simulations.pop : params['d']
18
+ file_name = "#{params['end_point']}/#{params_digest}"
19
+
20
+ # The Proof of Existence API will only response with "400 Bad Request"
21
+ # when we `register` an invalid sha256 hash.
22
+ status params_digest[/invalid/] ? 400 : 200
23
+
24
+ json_file file_name
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,7 @@
1
+ require 'docproof/mocks/helper_methods'
2
+ require 'docproof/mocks/proof_of_existence'
3
+
4
+ module Docproof
5
+ module Mocks
6
+ end
7
+ end
@@ -0,0 +1,46 @@
1
+ module Docproof
2
+ class PaymentProcessor
3
+ class MissingDependency < Error; end
4
+ class MissingCredentials < Error; end
5
+
6
+ BTC_IN_SATOSHIS = 100_000_000
7
+ MINIMUM_PRICE_IN_BTC = 0.005
8
+
9
+ attr_reader :bitcoin_address,
10
+ :price_in_btc
11
+
12
+ def initialize(options={})
13
+ @bitcoin_address = options['pay_address'] || options['payment_address']
14
+
15
+ # `price` given by the API is in satoshis (100_000_000 satoshis = 1 BTC)
16
+ # and it is only available after successfully `register!` a document.
17
+ @price_in_btc = MINIMUM_PRICE_IN_BTC
18
+ @price_in_btc = options['price'].to_f / BTC_IN_SATOSHIS if options['price']
19
+ end
20
+
21
+ def perform!
22
+ coinbase_wallet_primary_account.send(
23
+ to: bitcoin_address,
24
+ amount: price_in_btc,
25
+ currency: 'BTC'
26
+ )
27
+ end
28
+
29
+ private
30
+
31
+ def coinbase_wallet_primary_account
32
+ require 'coinbase/wallet'
33
+
34
+ Coinbase::Wallet::Client.new(
35
+ api_key: ENV.fetch('COINBASE_API_KEY'),
36
+ api_secret: ENV.fetch('COINBASE_API_SECRET')
37
+ ).primary_account
38
+ rescue LoadError
39
+ raise MissingDependency,
40
+ 'Coinbase is required, You can install it with: `gem install coinbase`'
41
+ rescue KeyError
42
+ raise MissingCredentials,
43
+ 'Please set `COINBASE_API_KEY` and `COINBASE_API_SECRET` environment variables'
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,3 @@
1
+ module Docproof
2
+ VERSION = "0.1.1"
3
+ end
data/lib/docproof.rb ADDED
@@ -0,0 +1,7 @@
1
+ require "docproof/version"
2
+ require "docproof/document"
3
+ require "docproof/payment_processor"
4
+
5
+ module Docproof
6
+ # Your code goes here...
7
+ end
metadata ADDED
@@ -0,0 +1,155 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: docproof
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Ikhsan Maulana
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: webmock
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.3.2
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.3.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: sinatra
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.4.8
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.4.8
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.13.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.13.0
97
+ description: Client library for Proof of Existence API
98
+ email:
99
+ - ixandidu@gmail.com
100
+ executables:
101
+ - docproof
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".simplecov"
107
+ - ".travis.yml"
108
+ - CODE_OF_CONDUCT.md
109
+ - Gemfile
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/setup
115
+ - docproof.gemspec
116
+ - exe/docproof
117
+ - lib/docproof.rb
118
+ - lib/docproof/document.rb
119
+ - lib/docproof/mocks.rb
120
+ - lib/docproof/mocks/fixtures/register/existing.json
121
+ - lib/docproof/mocks/fixtures/register/invalid.json
122
+ - lib/docproof/mocks/fixtures/register/valid.json
123
+ - lib/docproof/mocks/fixtures/status/confirmed.json
124
+ - lib/docproof/mocks/fixtures/status/nonexistent.json
125
+ - lib/docproof/mocks/fixtures/status/pending.json
126
+ - lib/docproof/mocks/fixtures/status/registered.json
127
+ - lib/docproof/mocks/helper_methods.rb
128
+ - lib/docproof/mocks/proof_of_existence.rb
129
+ - lib/docproof/payment_processor.rb
130
+ - lib/docproof/version.rb
131
+ homepage: https://github.com/ixandidu/docproof
132
+ licenses:
133
+ - MIT
134
+ metadata: {}
135
+ post_install_message:
136
+ rdoc_options: []
137
+ require_paths:
138
+ - lib
139
+ required_ruby_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ requirements: []
150
+ rubyforge_project:
151
+ rubygems_version: 2.5.2
152
+ signing_key:
153
+ specification_version: 4
154
+ summary: Client library for Proof of Existence API
155
+ test_files: []