async_block 0.1.7 → 0.1.8

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: b79fbe950ed7e855b86cc9d277f5f2c7a7678ab55386232ff9e6929553bee8a4
4
- data.tar.gz: 75fbe804b244e5992ff8dd3322da4152a981bdcc38a84cb550453bc96a3b179c
3
+ metadata.gz: 9701332db4ccc00d1c47b77e42e00eccd5e6bcbb42f69af7c50d41428d46f1c9
4
+ data.tar.gz: 37669833a7eb93239cc56b9d4f02fb2950d611a51db477429929c87a947f6797
5
5
  SHA512:
6
- metadata.gz: 9c7cc4573b0b8f04ebae5dc784cfa96a86b4b88556284f14a009b7e4a0d92b6dd956fd375ed6ad2f9caaa3a67b5c03b47851986049729cdc6b551195a12e9698
7
- data.tar.gz: f2013f23698a2cad831105782ccfd532a76f360c96b6b7e26475c6ca7043aafe919909024da1a894880ee2191a69e0570340b08d673cff085adcf6f784ab60c5
6
+ metadata.gz: 3d15a34c666a57a7bef5d71b7c7dd35b7ab65645b102dd0584016493d9f3f0660b567ae8140dab8f60cf957b1cc34391c43a977c1b7076e6a34ec58f79d0ae69
7
+ data.tar.gz: e9ad51a6d2227148f9d0a89bc87bce9d0c0b4ab421e7ce5627bd462b6337268376eef388303031d9240dc19dc7712f8c879f44a989168141b22ccd57a6332157
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&.to_ruby
22
+ @block
27
23
  end
28
24
  end
29
25
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AsyncBlock
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
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.7
4
+ version: 0.1.8
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.