async_block 0.1.7 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/async_block.gemspec +2 -2
- data/lib/async_block/block_source_service.rb +1 -5
- data/lib/async_block/version.rb +1 -1
- metadata +1 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 980162aac88aba7f5243484afe563360d0b0ca7f36c4791e67b53b74bfaa9eed
|
4
|
+
data.tar.gz: d1b41a0d31b594b53ebf804851baf79a17396650e4c9c85393d2345c3dfb29c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b740ff8cd0f0a97114d6cb7e2bd1a64614aebf484a46edf08cd329d2f5162efe77c874642314823e93268002825902c435c6eb7c50a34e6ab4b107280a99c10
|
7
|
+
data.tar.gz: 77a1af646a875c7913913f31e8d2c98301405327b0135de34a7edd4170ab6dbba32e03cf3a7f7fe91b07f19c1d55826db35e38197586e5392a0df9432d2284c5
|
data/async_block.gemspec
CHANGED
@@ -36,8 +36,8 @@ Gem::Specification.new do |spec|
|
|
36
36
|
|
37
37
|
# Uncomment to register a new dependency of your gem
|
38
38
|
spec.add_dependency 'activesupport', ['>= 3.0', '< 8.0']
|
39
|
-
spec.add_dependency 'ParseTree', '~> 3.0'
|
40
|
-
spec.add_dependency 'ruby2ruby', '~> 2.5.0'
|
39
|
+
# spec.add_dependency 'ParseTree', '~> 3.0'
|
40
|
+
# spec.add_dependency 'ruby2ruby', '~> 2.5.0'
|
41
41
|
|
42
42
|
# For more information and examples about making a new gem, check out our
|
43
43
|
# guide at: https://bundler.io/guides/creating_gem.html
|
@@ -1,9 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'parse_tree'
|
4
|
-
require 'parse_tree_extensions'
|
5
|
-
require 'ruby2ruby'
|
6
|
-
|
7
3
|
module AsyncBlock
|
8
4
|
# BlockToSource - converts code block to source string
|
9
5
|
# this will help in preventing writing of new jobs to run smaller pieces of code
|
@@ -23,7 +19,7 @@ module AsyncBlock
|
|
23
19
|
private
|
24
20
|
|
25
21
|
def block_to_str
|
26
|
-
@block&.
|
22
|
+
@block&.source
|
27
23
|
end
|
28
24
|
end
|
29
25
|
|
data/lib/async_block/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async_block
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adittya Dey
|
@@ -30,34 +30,6 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '8.0'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: ParseTree
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '3.0'
|
40
|
-
type: :runtime
|
41
|
-
prerelease: false
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - "~>"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '3.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: ruby2ruby
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.5.0
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 2.5.0
|
61
33
|
description: |-
|
62
34
|
A usable code block for rails to run your code asynchronusly, "\
|
63
35
|
"this will help in preventing writing of new jobs to run smaller pieces of code.
|