stratumn_sdk 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: eb3eee12791c77b0f6419290a6e86932b6d3062a
4
+ data.tar.gz: e1508ba9ea5e2936359488146e4cbe5fdca748dc
5
+ SHA512:
6
+ metadata.gz: 32896b423d268bfcae34ce7a01fbe5d432efaf001f1ae32b0bffbe52fa18fff57f54cb518dd0342ccea1b45e8fbd5421965d1c3fb3cf4a22420363b2db37d037
7
+ data.tar.gz: d69042a394cc1cbd4d3c08ef34bbcb7d3a3a8da65140c82bf72c6f8c0ed6488eb46e2765ed2e17148752a433cc08842bc50cd2eb9f98b27bf07eb64dc2ca3adc
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ doc
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ - 2.2
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at adrien.montfort@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in stratumn_sdk.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,62 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ stratumn_sdk (0.0.1)
5
+ http (~> 2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.4.0)
11
+ crack (0.4.3)
12
+ safe_yaml (~> 1.0.0)
13
+ diff-lcs (1.2.5)
14
+ domain_name (0.5.20160615)
15
+ unf (>= 0.0.5, < 1.0.0)
16
+ hashdiff (0.3.0)
17
+ http (2.0.3)
18
+ addressable (~> 2.3)
19
+ http-cookie (~> 1.0)
20
+ http-form_data (~> 1.0.1)
21
+ http_parser.rb (~> 0.6.0)
22
+ http-cookie (1.0.2)
23
+ domain_name (~> 0.5)
24
+ http-form_data (1.0.1)
25
+ http_parser.rb (0.6.0)
26
+ rake (10.5.0)
27
+ rspec (3.5.0)
28
+ rspec-core (~> 3.5.0)
29
+ rspec-expectations (~> 3.5.0)
30
+ rspec-mocks (~> 3.5.0)
31
+ rspec-core (3.5.2)
32
+ rspec-support (~> 3.5.0)
33
+ rspec-expectations (3.5.0)
34
+ diff-lcs (>= 1.2.0, < 2.0)
35
+ rspec-support (~> 3.5.0)
36
+ rspec-mocks (3.5.0)
37
+ diff-lcs (>= 1.2.0, < 2.0)
38
+ rspec-support (~> 3.5.0)
39
+ rspec-support (3.5.0)
40
+ safe_yaml (1.0.4)
41
+ unf (0.1.4)
42
+ unf_ext
43
+ unf_ext (0.0.7.2)
44
+ vcr (3.0.3)
45
+ webmock (2.1.0)
46
+ addressable (>= 2.3.6)
47
+ crack (>= 0.3.2)
48
+ hashdiff
49
+
50
+ PLATFORMS
51
+ ruby
52
+
53
+ DEPENDENCIES
54
+ bundler (~> 1.12)
55
+ rake (~> 10.0)
56
+ rspec (~> 3.0)
57
+ stratumn_sdk!
58
+ vcr (~> 3.0)
59
+ webmock (~> 2.1)
60
+
61
+ BUNDLED WITH
62
+ 1.12.5
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 adrien
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,155 @@
1
+ # Stratumn SDK for Ruby
2
+
3
+ [![build status](https://travis-ci.org/stratumn/stratumn-sdk-ruby.svg?branch=master)](https://travis-ci.org/stratumn/stratumn-sdk-ruby.svg?branch=master)
4
+
5
+ Interact with your Stratumn agent from your ruby application
6
+
7
+ code :: https://github.com/stratumn/stratumn-sdk-ruby
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem 'stratumn-sdk'
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $ bundle
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install stratumn-sdk
24
+
25
+ ## Quickstart
26
+
27
+ ```ruby
28
+ application = StratumnSdk::Application.load('quickstart')
29
+
30
+ link = application.create_map('My message map')
31
+
32
+ link = link.addMessage('Hello, World')
33
+
34
+ puts link.meta
35
+ puts link.state
36
+ ```
37
+
38
+ ## Reference
39
+
40
+ #### StratumnSdk::Application.load(name)
41
+
42
+ Returns an instance of StratumnSdk::Application.
43
+
44
+ ```ruby
45
+ application = StratumnSdk::Application.load('quickstart')
46
+ puts application.id
47
+ ```
48
+
49
+ #### StratumnSdk::Application#create_map(*args)
50
+
51
+ Creates a new map in the application.
52
+
53
+ ```ruby
54
+ application = StratumnSdk::Application.load('quickstart')
55
+ link = application.create_map('My message map')
56
+ ```
57
+
58
+ #### StratumnSdk::get_link(hash)
59
+
60
+ Returns an existing link.
61
+
62
+ ```ruby
63
+ application = StratumnSdk::Application.load('quickstart')
64
+ link = application.get_link('aee5427')
65
+ ```
66
+
67
+ #### StratumnSdk::get_map(map_id, tags = [])
68
+
69
+ Returns the links in a map, optionally filtered by tags.
70
+
71
+ ```ruby
72
+ application = StratumnSdk::Application.load('quickstart')
73
+ links = application.get_map('aee5427', ['tag1', 'tag2'])
74
+ ```
75
+
76
+ #### StratumnSdk::get_branches(hash, tags = [])
77
+
78
+ Returns he links whose previous hashes are the given hash, optionally filters by tags.
79
+
80
+ ```ruby
81
+ application = StratumnSdk::Application.load('quickstart')
82
+ links = application.get_branches('aee5427', ['tag1', 'tag2'])
83
+ ```
84
+
85
+ #### StratumnSdk::Link#previous
86
+
87
+ Returns the previous link of a link (its parent).
88
+
89
+ ```ruby
90
+ application = StratumnSdk::Application.load('quickstart')
91
+ link = application.get_link('aee5427')
92
+ previous = link.previous
93
+ ```
94
+
95
+ #### StratumnSdk::Link#load
96
+
97
+ Load a full link. Can be useful when you only have the meta data of links.
98
+
99
+ ```ruby
100
+ application = StratumnSdk::Application.load('quickstart')
101
+ links = application.get_branches('aee5427')
102
+
103
+ links.map { |link| link.load }
104
+ ```
105
+
106
+ #### StratumnSdk::Link#get_branches(tags)
107
+
108
+ Returns the links whose previous hashes are the hash of the link, optionally filters by tags.
109
+
110
+ ```ruby
111
+ application = StratumnSdk::Application.load('quickstart')
112
+ link = application.get_link('aee5427')
113
+ link.get_branches(['tag1'])
114
+ ```
115
+
116
+ #### StratumnSdk::Link#transition_function(*args)
117
+
118
+ Executes a transition function and returns the new link.
119
+
120
+ ```ruby
121
+ application = StratumnSdk::Application.load('quickstart')
122
+ link = application.get_link('aee5427')
123
+ new_link = link.addMessage('Hello, World!')
124
+ ```
125
+
126
+ ## Development
127
+
128
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
129
+
130
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
131
+
132
+ ## License:
133
+
134
+ (The MIT License)
135
+
136
+ Copyright (c) 2016 FIX
137
+
138
+ Permission is hereby granted, free of charge, to any person obtaining
139
+ a copy of this software and associated documentation files (the
140
+ 'Software'), to deal in the Software without restriction, including
141
+ without limitation the rights to use, copy, modify, merge, publish,
142
+ distribute, sublicense, and/or sell copies of the Software, and to
143
+ permit persons to whom the Software is furnished to do so, subject to
144
+ the following conditions:
145
+
146
+ The above copyright notice and this permission notice shall be
147
+ included in all copies or substantial portions of the Software.
148
+
149
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
150
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
151
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
152
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
153
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
154
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
155
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "stratumn_sdk"
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
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
@@ -0,0 +1,39 @@
1
+ require 'stratumn_sdk/version'
2
+ require 'stratumn_sdk/request'
3
+ require 'stratumn_sdk/application'
4
+ require 'stratumn_sdk/link'
5
+
6
+ require 'yaml'
7
+
8
+ module StratumnSdk
9
+
10
+ # Configuration defaults
11
+ @config = {
12
+ base_url: 'https://stratumn.rocks',
13
+ application_url: 'https://%s.stratumn.rocks'
14
+ }
15
+
16
+ @valid_config_keys = @config.keys
17
+
18
+ # Configure through hash
19
+ def self.configure(opts = {})
20
+ opts.each {|k,v| @config[k.to_sym] = v if @valid_config_keys.include? k.to_sym}
21
+ end
22
+
23
+ # Configure through yaml file
24
+ def self.configure_with(path_to_yaml_file)
25
+ begin
26
+ config = YAML::load(IO.read(path_to_yaml_file))
27
+ rescue Errno::ENOENT
28
+ log(:warning, "YAML configuration file couldn't be found. Using defaults."); return
29
+ rescue Psych::SyntaxError
30
+ log(:warning, "YAML configuration file contains invalid syntax. Using defaults."); return
31
+ end
32
+
33
+ configure(config)
34
+ end
35
+
36
+ def self.config
37
+ @config
38
+ end
39
+ end
@@ -0,0 +1,56 @@
1
+ module StratumnSdk
2
+ class Application
3
+ include Request
4
+ extend Request
5
+
6
+ attr_accessor :url, :id, :name, :agent_info
7
+
8
+ def self.load(application_name, application_location = nil)
9
+ url = application_location || StratumnSdk.config[:application_url].gsub('%s', application_name)
10
+ attributes = get(url)
11
+
12
+ self.new(url, attributes['id'], attributes['name'], attributes['agentInfo'])
13
+ end
14
+
15
+ def initialize(url, id, name, agent_info)
16
+ self.url = url
17
+ self.id = id
18
+ self.name = name
19
+ self.agent_info = agent_info
20
+ end
21
+
22
+ def create_map(*args)
23
+ result = post(url + '/maps', json: args)
24
+
25
+ raise result['meta']['errorMessage'] if result['meta']['errorMessage']
26
+
27
+ Link.new(self, result)
28
+ end
29
+
30
+ def get_link(link_hash)
31
+ result = get(url + '/links/' + link_hash)
32
+
33
+ Link.new(self, result)
34
+ end
35
+
36
+ def get_map(map_id, tags = [])
37
+ query = tags.empty? ? '' : "?tags=#{tags.join('&tags=')}"
38
+
39
+ result = get(url + '/maps/' + map_id + query)
40
+
41
+ result.map do |link|
42
+ Link.new(self, link)
43
+ end
44
+ end
45
+
46
+ def get_branches(link_hash, tags = [])
47
+ query = tags.empty? ? '' : "?tags=#{tags.join('&tags=')}"
48
+
49
+ result = get(url + '/branches/' + link_hash + query)
50
+
51
+ result.map do |link|
52
+ Link.new(self, link)
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,47 @@
1
+ module StratumnSdk
2
+ class Link
3
+ include Request
4
+
5
+ attr_accessor :application, :meta, :state, :link, :linkHash
6
+
7
+ def initialize(application, obj)
8
+ self.application = application
9
+
10
+ self.link = obj['link']
11
+ self.meta = link['meta']
12
+ self.state = link['state']
13
+ self.linkHash = obj['meta']['linkHash']
14
+
15
+ application.agent_info['functions'].each do |(method, _)|
16
+ define_singleton_method(method) do |*args|
17
+
18
+ url = "#{application.url}/links/#{linkHash}/#{method}"
19
+
20
+ result = post(url, json: args)
21
+
22
+ Link.new(application, result)
23
+ end
24
+ end
25
+ end
26
+
27
+ def previous
28
+ application.get_link(meta['prevLinkHash']) if meta['prevLinkHash']
29
+ end
30
+
31
+ def get_branches(tags)
32
+ application.get_branches(linkHash, tags)
33
+ end
34
+
35
+ def load
36
+ application.get_link(linkHash)
37
+ end
38
+
39
+ def self.load(segment)
40
+ meta = segment['meta']
41
+
42
+ application = Application.load(meta['application'], meta['applicationLocation'])
43
+
44
+ application.get_link(meta['linkHash'])
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,27 @@
1
+ require 'http'
2
+
3
+ module StratumnSdk
4
+ module Request
5
+
6
+ def get(*args)
7
+ request(:get, *args)
8
+ end
9
+
10
+ def post(*args)
11
+ result = request(:post, *args)
12
+
13
+ raise result['meta']['errorMessage'] if result['meta'] && result['meta']['errorMessage']
14
+
15
+ result
16
+ end
17
+
18
+ private
19
+ def request(verb, *args)
20
+ result = HTTP.request(verb, *args).parse
21
+
22
+ raise result['error'] if result.is_a?(Hash) && result['error']
23
+
24
+ result
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,3 @@
1
+ module StratumnSdk
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'stratumn_sdk/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "stratumn_sdk"
8
+ spec.version = StratumnSdk::VERSION
9
+ spec.authors = ["Stratumn Team"]
10
+ spec.email = ["stratumn@gmail.com"]
11
+
12
+ spec.summary = %q{Interact with your Stratumn agent from your ruby application}
13
+ spec.homepage = "https://github.com/stratumn/stratumn-sdk-ruby"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.12"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "rspec", "~> 3.0"
24
+ spec.add_development_dependency "vcr", "~> 3.0"
25
+ spec.add_development_dependency "webmock", "~> 2.1"
26
+
27
+ spec.add_runtime_dependency "http", '~> 2.0'
28
+ end
29
+
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: stratumn_sdk
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Stratumn Team
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-08-11 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.12'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.12'
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: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: vcr
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: http
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ description:
98
+ email:
99
+ - stratumn@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - Gemfile.lock
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/setup
115
+ - lib/stratumn_sdk.rb
116
+ - lib/stratumn_sdk/application.rb
117
+ - lib/stratumn_sdk/link.rb
118
+ - lib/stratumn_sdk/request.rb
119
+ - lib/stratumn_sdk/version.rb
120
+ - stratumn_sdk.gemspec
121
+ homepage: https://github.com/stratumn/stratumn-sdk-ruby
122
+ licenses:
123
+ - MIT
124
+ metadata: {}
125
+ post_install_message:
126
+ rdoc_options: []
127
+ require_paths:
128
+ - lib
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ requirements: []
140
+ rubyforge_project:
141
+ rubygems_version: 2.4.8
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: Interact with your Stratumn agent from your ruby application
145
+ test_files: []