asynchronize 0.4.1 → 0.4.2

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
- SHA256:
3
- metadata.gz: 11cc7febd9684ba1e902d2c9963e900328b490b87a08e388fbd5c83b0437ab80
4
- data.tar.gz: 5d6b2650850fed537daf10188a5704df84dc9668e1e2e478c6d3f1caa09438e9
2
+ SHA1:
3
+ metadata.gz: e7c5a819419bac2b64fe3047212fd3004469323a
4
+ data.tar.gz: d5467163e84882c797787566952f17f9d10aeccc
5
5
  SHA512:
6
- metadata.gz: 36d35ae390f52cbb92ef934eae7ef17e859cb4661ecb98fce3cb8a0053b3d676b47a6e661a93a9cd96f18e58f043766b28e28e96bd529eb01fa37a7a9ada32d9
7
- data.tar.gz: 524b9184cfa62f8b9bf09883b678c84ca3fcd5c12c89ed0aa53c457536385681e64338e06a130b9063ed01bf92aae77fd15734674d1672012d49791963194e48
6
+ metadata.gz: 1555105136cb9eaaa986292d0c37ab04759149f49102b12fa240007ace1cdd35fecd71f9ed635786665b9a18bf43adb4987863d97248d5ffeb4a451bdd62ae5e
7
+ data.tar.gz: a3c8a9f64d9b23fe457f6d41db24b2df629d5e5a58c9561de510c443a9db798f12fb598844d2711a9105c8f16a501ff3bf0bbe9a8ea59250e1e251a46b46ba8d
data/LICENSE CHANGED
File without changes
File without changes
data/readme.md CHANGED
@@ -63,7 +63,7 @@ def method_name(args)
63
63
  end
64
64
  ```
65
65
  It's extra typing, and adds an unneeded extra layer of nesting. I couldn't find
66
- an existing library that wasn't trying add new layers of abstraction I didn't
66
+ an existing library that wasn't trying to add new layers of abstraction I didn't
67
67
  need; sometimes you just want a normal thread. Now, just call asynchronize to
68
68
  make any method asynchronous.
69
69
 
@@ -86,7 +86,7 @@ When you `include Asynchronize` it creates an `asynchronize` method on your
86
86
  class. The first time you call this method with any arguments, it creates a new
87
87
  module with the methods you define. It uses `Module#prepend` to cause method
88
88
  calls on the original object to be sent to it instead, and uses super to call
89
- your original method inside it's own thread.
89
+ your original method inside its own thread.
90
90
 
91
91
  This implementation allows you to call asynchronize at the top of the class and
92
92
  then define the methods below. Since it changes how you interact with those
@@ -96,7 +96,7 @@ method's return values, I thought it was important to allow this.
96
96
  It's super tiny. Just a light wrapper around the existing language features.
97
97
  Seriously, it's just around forty lines of code. Actually, according to
98
98
  [cloc](https://www.npmjs.com/package/cloc) there's almost four times as many
99
- lines in the tests as the source. You should read it, I'd love feedback!
99
+ lines in the tests as the source. You should read it. I'd love feedback!
100
100
 
101
101
  ### Do you accept contributions?
102
102
  Absolutely!
@@ -112,7 +112,7 @@ It's just `bundle` to install dependencies, and `rake` to run the tests.
112
112
  Those and other similar projects aim to create an entirely new abstraction to
113
113
  use for interacting with threads. This project aims to be a light convenience
114
114
  wrapper around the existing language features. Just define a regular method,
115
- then interact with it's result like a regular thread.
115
+ then interact with its result like a regular thread.
116
116
 
117
117
  ### What Ruby versions are supported?
118
118
  Ruby 2.3 and up. Unfortunately, Ruby versions prior to 2.0 do not support
@@ -123,13 +123,16 @@ problems when a method inherits from the asynchronized class.)
123
123
 
124
124
  Luckily, all major Ruby implementations support Ruby language version 2.3, so I
125
125
  don't see this as a huge problem. If anyone wants support for older versions,
126
- and knows how to workaround this issue, feel free to submit a pull request.
126
+ and knows how to work around this issue, feel free to submit a pull request.
127
127
 
128
128
  We explicitly test against the following versions:
129
- - Matz Ruby 2.5.1
130
- - Matz Ruby 2.3.4
131
- - JRuby 9.1.13 (language version 2.3.3)
132
- - Rubinius 3.105 (language version 2.3.1)
129
+ - Matz Ruby 2.6.0
130
+ - Matz Ruby 2.3.8
131
+ - JRuby 9.2.5.0 (ruby language version 2.5.x)
132
+ - Rubinius 3.100 (ruby language version 2.3.1)
133
+
134
+ ### Is it any good?
135
+ [Yes](https://news.ycombinator.com/item?id=3067434)
133
136
 
134
137
  ## License
135
138
  MIT
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asynchronize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenneth Cochran
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-10 00:00:00.000000000 Z
11
+ date: 2019-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  requirements: []
102
102
  rubyforge_project:
103
- rubygems_version: 2.7.6
103
+ rubygems_version: 2.5.2.1
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: A declarative syntax for creating asynchronous methods.