rinda 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: 2e451398199be205b7e5de56d4764525709c6a0f7e68c67989bd3b792b5fd8ce
4
- data.tar.gz: 68eb2f17f82fbc9dc2bee6f2770b81a05cb16133965166b821c54da90df575cf
3
+ metadata.gz: ffd48798a0bc94e0d4dc1b65ec030427546890500459c4192b7012fd20ba2650
4
+ data.tar.gz: bce0aefb3d1fa182d6986ef13d24adb2799de650697b6c9293f912c2b74c909b
5
5
  SHA512:
6
- metadata.gz: 9aace6a91d22a4aca501ca02390c0b2da349154e19e819b68c2b7d977f33318fac199d07b13dca7b07195de75843dd7af67b9070d04ab923ed7717d92772d74d
7
- data.tar.gz: 3ab9372edeab86fcb407cf281a1276f72d0236e9b25c6b811b2edfc99d617194db9f9e2fe8f0cfbda5e891eebc0dbec6aa748abd31710c6776a1f17c4684aa9a
6
+ metadata.gz: d3814de40e682453ebc9ce3e32bfc9812fa42865e69f1ceb51aba88d1a6e9943769db1fdec48b7a63ef9d01e72cea76f77508755b2ae6efe9cda900b19c88ceb
7
+ data.tar.gz: ab59c329caf403e1b7069455b386e964f020ed722b5cefae371c1fccdd1912f9c2167d9e4ce84e6e5032a1e3c42166e08002d3b796e32e482fb5103226ff1afa
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: 'github-actions'
4
+ directory: '/'
5
+ schedule:
6
+ interval: 'weekly'
@@ -3,22 +3,26 @@ name: test
3
3
  on: [push, pull_request]
4
4
 
5
5
  jobs:
6
- build:
6
+ ruby-versions:
7
+ uses: ruby/actions/.github/workflows/ruby_versions.yml@master
8
+ with:
9
+ engine: cruby
10
+ min_version: 2.7
11
+
12
+ test:
13
+ needs: ruby-versions
7
14
  name: build (${{ matrix.ruby }} / ${{ matrix.os }})
8
15
  strategy:
9
16
  matrix:
10
- ruby: [ 2.7, 2.6, 2.5, head ]
17
+ ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
11
18
  os: [ ubuntu-latest, macos-latest ]
12
19
  runs-on: ${{ matrix.os }}
13
20
  steps:
14
- - uses: actions/checkout@master
21
+ - uses: actions/checkout@v4
15
22
  - name: Set up Ruby
16
23
  uses: ruby/setup-ruby@v1
17
24
  with:
18
25
  ruby-version: ${{ matrix.ruby }}
19
- - name: Install dependencies
20
- run: |
21
- gem install bundler --no-document
22
- bundle install
26
+ bundler-cache: true
23
27
  - name: Run test
24
28
  run: rake test
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /Gemfile.lock
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
+ gemspec
4
+
3
5
  gem "rake"
4
6
  gem "test-unit"
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Rinda
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rinda`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ A module to implement the Linda distributed computing paradigm in Ruby.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ Rinda is part of DRb (dRuby).
6
6
 
7
7
  ## Installation
8
8
 
@@ -20,10 +20,6 @@ Or install it yourself as:
20
20
 
21
21
  $ gem install rinda
22
22
 
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
23
  ## Development
28
24
 
29
25
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -32,5 +28,5 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
28
 
33
29
  ## Contributing
34
30
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/hsbt/rinda.
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/rinda.
36
32
 
data/lib/rinda/rinda.rb CHANGED
@@ -18,6 +18,8 @@ require 'drb/drb'
18
18
 
19
19
  module Rinda
20
20
 
21
+ VERSION = "0.2.0"
22
+
21
23
  ##
22
24
  # Rinda error base class
23
25
 
data/rinda.gemspec CHANGED
@@ -1,6 +1,13 @@
1
+ name = File.basename(__FILE__, ".gemspec")
2
+ version = ["lib/rinda", "."].find do |dir|
3
+ break File.foreach(File.join(__dir__, dir, "#{name}.rb")) do |line|
4
+ /^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1
5
+ end rescue nil
6
+ end
7
+
1
8
  Gem::Specification.new do |spec|
2
- spec.name = "rinda"
3
- spec.version = "0.1.0"
9
+ spec.name = name
10
+ spec.version = version
4
11
  spec.authors = ["Masatoshi SEKI"]
5
12
  spec.email = ["seki@ruby-lang.org"]
6
13
 
@@ -21,4 +28,8 @@ Gem::Specification.new do |spec|
21
28
  spec.bindir = "exe"
22
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
30
  spec.require_paths = ["lib"]
31
+
32
+ spec.add_dependency "drb"
33
+ spec.add_dependency "ipaddr"
34
+ spec.add_dependency "forwardable"
24
35
  end
metadata CHANGED
@@ -1,15 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rinda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masatoshi SEKI
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-18 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: drb
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ipaddr
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: forwardable
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
13
55
  description: The Linda distributed computing paradigm in Ruby.
14
56
  email:
15
57
  - seki@ruby-lang.org
@@ -17,6 +59,7 @@ executables: []
17
59
  extensions: []
18
60
  extra_rdoc_files: []
19
61
  files:
62
+ - ".github/dependabot.yml"
20
63
  - ".github/workflows/test.yml"
21
64
  - ".gitignore"
22
65
  - Gemfile
@@ -51,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
94
  - !ruby/object:Gem::Version
52
95
  version: '0'
53
96
  requirements: []
54
- rubygems_version: 3.2.0.rc.1
97
+ rubygems_version: 3.5.0.dev
55
98
  signing_key:
56
99
  specification_version: 4
57
100
  summary: The Linda distributed computing paradigm in Ruby.