paradin 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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 234459b9bb84d4d2762a6ca421ce6c2701b95024f7670006b8f920da7d0b573a
4
+ data.tar.gz: 3ea7bd0876707e617a6fd3af2850cc59685863d038f330cceb14d3d9803fd9c6
5
+ SHA512:
6
+ metadata.gz: d9e6683c6232f715529dc65b8e69707d66425e1088e230fb1d43fc4009f7309134f245c991bb2caefb04b29bb2d222459a83a9b4d50be10a78799ede13ac87cb
7
+ data.tar.gz: 0f563313537d1208d584b62c92a230fc411ed6778c69d9c45cb1f9018ba3120e28b5b8232eecfbfb1542b71a5cbe667bce12a2d46146a1e5c3205275b31f8b04
@@ -0,0 +1,60 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ .rspec_status
8
+ /spec/reports/
9
+ /spec/examples.txt
10
+ /test/tmp/
11
+ /test/version_tmp/
12
+ /tmp/
13
+
14
+ # Used by dotenv library to load environment variables.
15
+ # .env
16
+
17
+ # Ignore Byebug command history file.
18
+ .byebug_history
19
+
20
+ ## Specific to RubyMotion:
21
+ .dat*
22
+ .repl_history
23
+ build/
24
+ *.bridgesupport
25
+ build-iPhoneOS/
26
+ build-iPhoneSimulator/
27
+
28
+ ## Specific to RubyMotion (use of CocoaPods):
29
+ #
30
+ # We recommend against adding the Pods directory to your .gitignore. However
31
+ # you should judge for yourself, the pros and cons are mentioned at:
32
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
33
+ #
34
+ # vendor/Pods/
35
+
36
+ ## Documentation cache and generated files:
37
+ /.yardoc/
38
+ /_yardoc/
39
+ /doc/
40
+ /rdoc/
41
+
42
+ ## Environment normalization:
43
+ /.bundle/
44
+ /vendor/bundle
45
+ /lib/bundler/man/
46
+
47
+ # for a library or gem, you might want to ignore these files since the code is
48
+ # intended to run in multiple environments; otherwise, check them in:
49
+ # Gemfile.lock
50
+ # .ruby-version
51
+ # .ruby-gemset
52
+
53
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
54
+ .rvmrc
55
+
56
+ # Used by RuboCop. Remote config files pulled in from inherit_from directive.
57
+ # .rubocop-https?--*
58
+
59
+ /log/
60
+ /db/
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.1
7
+ before_install: gem install bundler -v 1.17.2
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in paradin.gemspec
6
+ gemspec
@@ -0,0 +1,145 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ paradin (0.1.1)
5
+ concurrent-ruby (~> 1.1.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.2.4.2)
11
+ actionpack (= 5.2.4.2)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailer (5.2.4.2)
15
+ actionpack (= 5.2.4.2)
16
+ actionview (= 5.2.4.2)
17
+ activejob (= 5.2.4.2)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.2.4.2)
21
+ actionview (= 5.2.4.2)
22
+ activesupport (= 5.2.4.2)
23
+ rack (~> 2.0, >= 2.0.8)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.2.4.2)
28
+ activesupport (= 5.2.4.2)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.2.4.2)
34
+ activesupport (= 5.2.4.2)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.2.4.2)
37
+ activesupport (= 5.2.4.2)
38
+ activerecord (5.2.4.2)
39
+ activemodel (= 5.2.4.2)
40
+ activesupport (= 5.2.4.2)
41
+ arel (>= 9.0)
42
+ activestorage (5.2.4.2)
43
+ actionpack (= 5.2.4.2)
44
+ activerecord (= 5.2.4.2)
45
+ marcel (~> 0.3.1)
46
+ activesupport (5.2.4.2)
47
+ concurrent-ruby (~> 1.0, >= 1.0.2)
48
+ i18n (>= 0.7, < 2)
49
+ minitest (~> 5.1)
50
+ tzinfo (~> 1.1)
51
+ arel (9.0.0)
52
+ builder (3.2.4)
53
+ concurrent-ruby (1.1.6)
54
+ crass (1.0.6)
55
+ diff-lcs (1.3)
56
+ erubi (1.9.0)
57
+ globalid (0.4.2)
58
+ activesupport (>= 4.2.0)
59
+ i18n (1.8.2)
60
+ concurrent-ruby (~> 1.0)
61
+ loofah (2.4.0)
62
+ crass (~> 1.0.2)
63
+ nokogiri (>= 1.5.9)
64
+ mail (2.7.1)
65
+ mini_mime (>= 0.1.1)
66
+ marcel (0.3.3)
67
+ mimemagic (~> 0.3.2)
68
+ method_source (1.0.0)
69
+ mimemagic (0.3.4)
70
+ mini_mime (1.0.2)
71
+ mini_portile2 (2.4.0)
72
+ minitest (5.14.0)
73
+ nio4r (2.5.2)
74
+ nokogiri (1.10.9)
75
+ mini_portile2 (~> 2.4.0)
76
+ rack (2.2.2)
77
+ rack-test (1.1.0)
78
+ rack (>= 1.0, < 3)
79
+ rails (5.2.4.2)
80
+ actioncable (= 5.2.4.2)
81
+ actionmailer (= 5.2.4.2)
82
+ actionpack (= 5.2.4.2)
83
+ actionview (= 5.2.4.2)
84
+ activejob (= 5.2.4.2)
85
+ activemodel (= 5.2.4.2)
86
+ activerecord (= 5.2.4.2)
87
+ activestorage (= 5.2.4.2)
88
+ activesupport (= 5.2.4.2)
89
+ bundler (>= 1.3.0)
90
+ railties (= 5.2.4.2)
91
+ sprockets-rails (>= 2.0.0)
92
+ rails-dom-testing (2.0.3)
93
+ activesupport (>= 4.2.0)
94
+ nokogiri (>= 1.6)
95
+ rails-html-sanitizer (1.3.0)
96
+ loofah (~> 2.3)
97
+ railties (5.2.4.2)
98
+ actionpack (= 5.2.4.2)
99
+ activesupport (= 5.2.4.2)
100
+ method_source
101
+ rake (>= 0.8.7)
102
+ thor (>= 0.19.0, < 2.0)
103
+ rake (13.0.1)
104
+ rspec (3.9.0)
105
+ rspec-core (~> 3.9.0)
106
+ rspec-expectations (~> 3.9.0)
107
+ rspec-mocks (~> 3.9.0)
108
+ rspec-core (3.9.1)
109
+ rspec-support (~> 3.9.1)
110
+ rspec-expectations (3.9.1)
111
+ diff-lcs (>= 1.2.0, < 2.0)
112
+ rspec-support (~> 3.9.0)
113
+ rspec-mocks (3.9.1)
114
+ diff-lcs (>= 1.2.0, < 2.0)
115
+ rspec-support (~> 3.9.0)
116
+ rspec-support (3.9.2)
117
+ sprockets (4.0.0)
118
+ concurrent-ruby (~> 1.0)
119
+ rack (> 1, < 3)
120
+ sprockets-rails (3.2.1)
121
+ actionpack (>= 4.0)
122
+ activesupport (>= 4.0)
123
+ sprockets (>= 3.0.0)
124
+ sqlite3 (1.4.2)
125
+ thor (1.0.1)
126
+ thread_safe (0.3.6)
127
+ tzinfo (1.2.7)
128
+ thread_safe (~> 0.1)
129
+ websocket-driver (0.7.1)
130
+ websocket-extensions (>= 0.1.0)
131
+ websocket-extensions (0.1.4)
132
+
133
+ PLATFORMS
134
+ ruby
135
+
136
+ DEPENDENCIES
137
+ bundler (~> 1.17)
138
+ paradin!
139
+ rails (~> 5)
140
+ rake (~> 13.0)
141
+ rspec (~> 3.0)
142
+ sqlite3 (~> 1)
143
+
144
+ BUNDLED WITH
145
+ 1.17.2
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 masato-hi
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 all
13
+ 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 THE
21
+ SOFTWARE.
@@ -0,0 +1,51 @@
1
+ # Paradin
2
+
3
+ Multi thread processing wrapper library for Ruby (Rails supported)
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'paradin'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install paradin
20
+
21
+ ## Usage
22
+
23
+ ```
24
+ class ParallelTask < Paradin::Base
25
+ timeout 5
26
+ max_threads 3
27
+
28
+ def perform(x, y)
29
+ sleep 1
30
+ x + y
31
+ end
32
+ end
33
+
34
+ task = ParallelTask.new
35
+ 5.times do |i|
36
+ task.enqueue(i, i)
37
+ end
38
+
39
+ # Response in 2 seconds
40
+ task.await #=> [0, 2, 4, 6, 8]
41
+ ```
42
+
43
+ ## Development
44
+
45
+ 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.
46
+
47
+ 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).
48
+
49
+ ## Contributing
50
+
51
+ Bug reports and pull requests are welcome on GitHub at https://github.com/masato-hi/paradin.
@@ -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
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "paradin"
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__)
@@ -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,6 @@
1
+ require "paradin/version"
2
+ require "paradin/error"
3
+ require "paradin/context"
4
+ require "paradin/configuration"
5
+ require "paradin/task"
6
+ require "paradin/base"
@@ -0,0 +1,15 @@
1
+
2
+ module Paradin
3
+ class Base
4
+ include Configuration
5
+ include Task
6
+
7
+ def initialize
8
+ self.class.send(:private, :perform)
9
+ end
10
+
11
+ def perform(*args, **kwargs)
12
+ raise NotImplementedError
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,36 @@
1
+
2
+ module Paradin
3
+ module Configuration
4
+ DEFAULT_MAX_THREADS = 1
5
+
6
+ def self.included(base)
7
+ base.extend(ClassMethods)
8
+ end
9
+
10
+ module ClassMethods
11
+ def timeout(seconds = nil)
12
+ if seconds
13
+ @timeout = seconds
14
+ else
15
+ @timeout
16
+ end
17
+ end
18
+
19
+ def max_threads(count = nil)
20
+ if count
21
+ @max_threads = count
22
+ else
23
+ @max_threads || DEFAULT_MAX_THREADS
24
+ end
25
+ end
26
+ end
27
+
28
+ def timeout
29
+ self.class.timeout
30
+ end
31
+
32
+ def max_threads
33
+ self.class.max_threads
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,43 @@
1
+
2
+ module Paradin
3
+ class Context
4
+ if defined?(ActiveJob)
5
+ require "active_job/arguments"
6
+ end
7
+
8
+ def initialize(*args, **kwargs)
9
+ @args = serialize(args)
10
+ @kwargs = serialize(kwargs)
11
+ end
12
+
13
+ def args
14
+ deserialize(@args)
15
+ end
16
+
17
+ def kwargs
18
+ deserialize(@kwargs)
19
+ end
20
+
21
+ private
22
+
23
+ def serialize(obj)
24
+ if use_active_job_serializer?
25
+ ActiveJob::Arguments.serialize([obj])
26
+ else
27
+ Marshal.dump(obj)
28
+ end
29
+ end
30
+
31
+ def deserialize(dump)
32
+ if use_active_job_serializer?
33
+ ActiveJob::Arguments.deserialize(dump).first
34
+ else
35
+ Marshal.load(dump)
36
+ end
37
+ end
38
+
39
+ def use_active_job_serializer?
40
+ !!defined?(ActiveJob::Arguments)
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,6 @@
1
+
2
+ module Paradin
3
+ class Error < StandardError; end
4
+ class Timeout < Error; end
5
+ class NotSupported < Error; end
6
+ end
@@ -0,0 +1,97 @@
1
+ require "concurrent-ruby"
2
+
3
+ module Paradin
4
+ module Task
5
+ def enqueue(*args, **kwargs)
6
+ context = Context.new(*args, **kwargs)
7
+ context_queue.push(context)
8
+ nil
9
+ end
10
+
11
+ def async
12
+ if rails?
13
+ raise NotSupported.new("Async task execution is not supported in Rails.")
14
+ end
15
+
16
+ execute!
17
+ end
18
+
19
+ def await
20
+ lock_autoload_if_necessary do
21
+ execute!.map(&:value!)
22
+ end
23
+ end
24
+
25
+ private
26
+
27
+ def execute!
28
+ perform_method = self.class.instance_method(:perform)
29
+
30
+ futures = context_queue.map do |context|
31
+ create_future(context, perform_method, resolver)
32
+ end
33
+
34
+ context_queue.clear
35
+
36
+ futures.each(&:touch)
37
+
38
+ executor.shutdown
39
+ unless executor.wait_for_termination(timeout)
40
+ executor.kill
41
+ raise Timeout
42
+ end
43
+
44
+ futures
45
+ end
46
+
47
+ def lock_autoload_if_necessary(&block)
48
+ if rails?
49
+ ActiveSupport::Dependencies.interlock.permit_concurrent_loads do
50
+ yield
51
+ end
52
+ else
53
+ yield
54
+ end
55
+ end
56
+
57
+ def create_future(context, perform_method, resolver)
58
+ Concurrent::Promises.delay_on(executor, context.clone, self.class.new, perform_method, &resolver)
59
+ end
60
+
61
+ def resolver
62
+ if rails?
63
+ lambda do |context, receiver, perform_method|
64
+ Rails.application.executor.wrap do
65
+ ActiveRecord::Base.connection_pool.with_connection do
66
+ resolve(context, receiver, perform_method)
67
+ end
68
+ end
69
+ end
70
+ else
71
+ lambda do |context, receiver, perform_method|
72
+ resolve(context, receiver, perform_method)
73
+ end
74
+ end
75
+ end
76
+
77
+ def resolve(context, receiver, perform_method)
78
+ if context.kwargs.size > 0
79
+ perform_method.bind(receiver).call(*context.args, **context.kwargs)
80
+ else
81
+ perform_method.bind(receiver).call(*context.args)
82
+ end
83
+ end
84
+
85
+ def context_queue
86
+ @context_queue ||= Array.new
87
+ end
88
+
89
+ def executor
90
+ @executor ||= Concurrent::FixedThreadPool.new(max_threads)
91
+ end
92
+
93
+ def rails?
94
+ !!defined?(Rails)
95
+ end
96
+ end
97
+ end
@@ -0,0 +1,3 @@
1
+ module Paradin
2
+ VERSION = "0.1.1"
3
+ end
@@ -0,0 +1,45 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "paradin/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "paradin"
8
+ spec.version = Paradin::VERSION
9
+ spec.authors = ["masato_hi"]
10
+ spec.email = ["masato.hirahata@gmail.com"]
11
+
12
+ spec.summary = %q{Multi thread processing wrapper library for Ruby (Rails supported)}
13
+ spec.description = spec.summary
14
+ spec.homepage = "https://github.com/masato-hi/paradin"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
20
+
21
+ spec.metadata["homepage_uri"] = spec.homepage
22
+ spec.metadata["source_code_uri"] = "https://github.com/masato-hi/paradin"
23
+ spec.metadata["changelog_uri"] = "https://github.com/masato-hi/paradin/releases"
24
+ else
25
+ raise "RubyGems 2.0 or newer is required to protect against " \
26
+ "public gem pushes."
27
+ end
28
+
29
+ # Specify which files should be added to the gem when it is released.
30
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
31
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
32
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|config|db)/}) }
33
+ end
34
+ spec.bindir = "exe"
35
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
36
+ spec.require_paths = ["lib"]
37
+
38
+ spec.add_dependency "concurrent-ruby", "~> 1.1.0"
39
+
40
+ spec.add_development_dependency "bundler", "~> 1.17"
41
+ spec.add_development_dependency "rake", "~> 13.0"
42
+ spec.add_development_dependency "rspec", "~> 3.0"
43
+ spec.add_development_dependency "rails", "~> 5"
44
+ spec.add_development_dependency "sqlite3", "~> 1"
45
+ end
metadata ADDED
@@ -0,0 +1,148 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: paradin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - masato_hi
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-04-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: concurrent-ruby
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.17'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.17'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '13.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '13.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
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: rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '5'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '5'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sqlite3
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1'
97
+ description: Multi thread processing wrapper library for Ruby (Rails supported)
98
+ email:
99
+ - masato.hirahata@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
107
+ - Gemfile
108
+ - Gemfile.lock
109
+ - LICENSE
110
+ - README.md
111
+ - Rakefile
112
+ - bin/console
113
+ - bin/setup
114
+ - lib/paradin.rb
115
+ - lib/paradin/base.rb
116
+ - lib/paradin/configuration.rb
117
+ - lib/paradin/context.rb
118
+ - lib/paradin/error.rb
119
+ - lib/paradin/task.rb
120
+ - lib/paradin/version.rb
121
+ - paradin.gemspec
122
+ homepage: https://github.com/masato-hi/paradin
123
+ licenses: []
124
+ metadata:
125
+ allowed_push_host: https://rubygems.org
126
+ homepage_uri: https://github.com/masato-hi/paradin
127
+ source_code_uri: https://github.com/masato-hi/paradin
128
+ changelog_uri: https://github.com/masato-hi/paradin/releases
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubygems_version: 3.0.1
145
+ signing_key:
146
+ specification_version: 4
147
+ summary: Multi thread processing wrapper library for Ruby (Rails supported)
148
+ test_files: []