blockstack 0.5.4 → 0.5.5

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: 02267b69cdddc84f00b4191a4f7e01d437899683
4
- data.tar.gz: 8a6570ed5583f394aedee4651f428066eb07fe87
3
+ metadata.gz: 6d0ae25a74cbfba5ff2cc4ad49e4961aba83ecab
4
+ data.tar.gz: 86aee3c67f74bcc010d4be2a9b27458cd5bf38a7
5
5
  SHA512:
6
- metadata.gz: de6af8bb0904587a96085cf1df76f584c1ca2c043db6c9795e96dccd33f9e403dcda5f9e5d9b42e7b0e61576f97ada1bd7f128de1995f95769ac6b5c9ac3eebc
7
- data.tar.gz: 2d57131387cb060c3a2dd4bf166e354021b72b052ec1192d05add01b87fa4e7495a3e98d9ecc938e57d893edc974bb7d9913006b7a541e6dbd253e4a55ee689b
6
+ metadata.gz: 8d7c6c4a97e00aa1a99b4d684c8954308027cc595a7203845166288bcd60761f9e116f6fba926208cd5d0e21d6438842c7016ddd56de54d1c3695648066a9c3f
7
+ data.tar.gz: f11c41e1a38fc8689e3cf2b0f2a1371c4910b1f7f207712c36b1c050200dc8e0f87ad1fe26405e8b2415763cde15da717527abb1b53a9ad7af4ca301801463e2
data/Gemfile CHANGED
@@ -2,4 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in blockstack.gemspec
4
4
  gemspec
5
- gem 'jwt', git: 'https://github.com/larrysalibra/ruby-jwt.git', branch: 'add-secp256k1-support'
data/README.md CHANGED
@@ -39,13 +39,13 @@ require "blockstack"
39
39
  begin
40
40
  auth_response = request.params['authResponse']
41
41
 
42
- decoded_auth_response = ::Blockstack.verify_auth_response auth_response
42
+ decoded_auth_response = Blockstack.verify_auth_response auth_response
43
43
 
44
44
  # login succeeded
45
45
  users_unique_id = decoded_auth_response['iss']
46
46
  verified_username = decoded_auth_response['username'] # nil if not provided
47
47
  profile = decoded_auth_response['profile']
48
- rescue ::Blockstack::InvalidAuthResponse => error
48
+ rescue Blockstack::InvalidAuthResponse => error
49
49
  # login failed
50
50
  end
51
51
  ```
data/blockstack.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "webmock"
26
26
  spec.add_development_dependency "vcr"
27
27
 
28
- spec.add_dependency "jwt"
28
+ spec.add_dependency "jwt-blockstack"
29
29
  spec.add_dependency "bitcoin"
30
30
  spec.add_dependency "faraday"
31
31
 
data/circle.yml ADDED
@@ -0,0 +1,12 @@
1
+ machine:
2
+ ruby:
3
+ version: 2.3.3
4
+
5
+ dependencies:
6
+ pre:
7
+ - gem install bundler -v 1.13.6
8
+ - bundle install
9
+
10
+ test:
11
+ override:
12
+ - rake test
@@ -1,3 +1,3 @@
1
1
  module Blockstack
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blockstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Salibra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-14 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: jwt
84
+ name: jwt-blockstack
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -130,7 +130,6 @@ extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
132
  - ".gitignore"
133
- - ".travis.yml"
134
133
  - Gemfile
135
134
  - LICENSE.txt
136
135
  - README.md
@@ -138,6 +137,7 @@ files:
138
137
  - bin/console
139
138
  - bin/setup
140
139
  - blockstack.gemspec
140
+ - circle.yml
141
141
  - lib/blockstack.rb
142
142
  - lib/blockstack/version.rb
143
143
  homepage: https://github.com/larrysalibra/blockstack-ruby
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.3.3
5
- before_install: gem install bundler -v 1.13.6