ravencoin_rpc_ruby 0.2.1 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87d04f083907d004c59fceb2e09d2daad9689bb5afac39ce2f892559d2edf1cc
4
- data.tar.gz: 1ba7718f5e845556942df5879bcb48fa474f8db58f478ec62732f5148eaeb15c
3
+ metadata.gz: befaa3d8928559cd1f5f9232b99c4e25478ec38b0e6fd1fadd8ab9a3e5d630f4
4
+ data.tar.gz: 559d14bb305a74903e534c451b004842fdd8dbc2d2bc26d90fc17c7a0e61c9de
5
5
  SHA512:
6
- metadata.gz: c3b814eb94b2541792365dabf3a4b456d1527452511227f7b041d003edffbb7febdf2242e33830da4e8dadd0825d457c6eed4308e62ba17ee24e839b9c9e2249
7
- data.tar.gz: afaae68a6f8baf7a200d32d177252bdd69c57518764b5ffb2b920c0a6ece770b75b1392c98ef51fa214e97ff0826e1d089664d15b8e9ee19c7520b05fde43b91
6
+ metadata.gz: ffb964fc00995ff64578078b29cbbe32613b2e74e5c8393fe5552454fe7bcd8314e0775851d24d8d15d4e397fd52803484544b1c8a2a0c30fcb8e3b7c603e7fb
7
+ data.tar.gz: 7d2a165b48ed6cbf9eb382cfee845fd96b0f15bb9bad9fe2e0f83de0e2cac7594d29d915fc84137cd5bb6b60a54672a06e5130b8f2d05c79a8e4573f2588059b
@@ -13,7 +13,7 @@ jobs:
13
13
  matrix:
14
14
  os: [ubuntu-latest, macos-latest]
15
15
  # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
16
- ruby: ['2.7', '3.0', '3.1']
16
+ ruby: ['2.7']
17
17
  runs-on: ${{ matrix.os }}
18
18
  steps:
19
19
  - uses: actions/checkout@v3
@@ -21,11 +21,13 @@ jobs:
21
21
  with:
22
22
  ruby-version: ${{ matrix.ruby }}
23
23
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
24
- - run: bundle exec rake
24
+ - run: bundle exec rspec
25
25
 
26
26
  build:
27
27
  name: Build + Publish
28
28
  runs-on: ubuntu-latest
29
+ needs: [test]
30
+ if: github.ref == 'refs/heads/main'
29
31
  permissions:
30
32
  contents: read
31
33
  packages: write
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ravencoin_rpc_ruby (0.2.0)
4
+ ravencoin_rpc_ruby (0.3.0)
5
5
  activesupport (~> 6.1.7)
6
6
  attr_extras (~> 6.2)
7
7
  faraday (~> 1.3)
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Gem Version](https://badge.fury.io/rb/ravencoin_rpc_ruby.svg)](https://badge.fury.io/rb/ravencoin_rpc_ruby)
1
+ [![Gem Version](https://badge.fury.io/rb/ravencoin_rpc_ruby@2x.png)](https://badge.fury.io/rb/ravencoin_rpc_ruby)
2
2
 
3
3
  # RavencoinRpcRuby
4
4
 
@@ -9,7 +9,7 @@ A package that will help you do RPC calls from Ruby / Rails / etc to your Raven
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'ravencoin_rpc'
12
+ gem 'ravencoin_rpc_ruby'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -18,7 +18,7 @@ And then execute:
18
18
 
19
19
  Or install it yourself as:
20
20
 
21
- $ gem install ravencoin_rpc
21
+ $ gem install ravencoin_rpc_ruby
22
22
 
23
23
  ## Usage
24
24
 
@@ -29,7 +29,7 @@ module RavencoinRpc
29
29
  end
30
30
 
31
31
  def docs
32
- @docs ||= JSON.parse(File.open('docs.json').read)
32
+ @docs ||= JSON.parse(File.open(Dir.pwd + '/docs.json').read)
33
33
  end
34
34
 
35
35
  def error
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RavencoinRpc
4
- VERSION = '0.2.1'
4
+ VERSION = '0.3.0'
5
5
  end
@@ -23,6 +23,8 @@ Gem::Specification.new do |spec|
23
23
  spec.add_runtime_dependency 'faraday_middleware', '~> 1.0'
24
24
  spec.add_runtime_dependency 'json'
25
25
  spec.add_runtime_dependency 'ostruct'
26
+ spec.add_development_dependency "pry-byebug"
27
+ spec.add_development_dependency "rubocop"
26
28
 
27
29
  # Specify which files should be added to the gem when it is released.
28
30
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ravencoin_rpc_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Sidorenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-15 00:00:00.000000000 Z
11
+ date: 2022-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -94,6 +94,34 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry-byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
97
125
  description:
98
126
  email:
99
127
  - vulkan.u4u1@gmail.com