backport_yield_self 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7fedf2e485f54c376443518889f331a635e0734
4
- data.tar.gz: 441a611dad33f158cefcb6448b4cde0b421ad08f
3
+ metadata.gz: 9897cbadd93db0f224abbabf0056acc58d110643
4
+ data.tar.gz: b23435e0bb0efb2b2626bf462da5e8c5435f454e
5
5
  SHA512:
6
- metadata.gz: a3bee9d96c32156e72c29f28d9fee0a8eedf98829b5385f52f9e672518b86a82db043f36fa2f776352a8ded0544d0dffb026337391134b87785c2f4dd3756119
7
- data.tar.gz: 643039b55ffa03ed0d71c2160c63eff43b73132a1f594d2295b4b15a333266f08ed3c3805ebf8381ae2ec7142cf30af37468363bfa2dff5c9f6dbf9d682c303d
6
+ metadata.gz: 861ca0cb16b841d115f2cb6574fc843fb3b09f4e91982029533b87958515c810cbb60e1eb77d7b401c68f88651e2d45803dc7087b23f0597ebfbea7a952195af
7
+ data.tar.gz: 2c9a47b5083200bd614fc2c9ee5220e045aace0162a9705e06a62dabe2311f3d982c64001237389600719281f5f11383c54b40787fb622ffad4d551360ae232b
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # backport_yield_self [![Build Status](https://travis-ci.org/koic/backport_yield_self.svg)](https://travis-ci.org/koic/backport_yield_self)
1
+ # backport_yield_self [![Build Status](https://travis-ci.org/koic/backport_yield_self.svg)](https://travis-ci.org/koic/backport_yield_self) [![Gem Version](https://badge.fury.io/rb/backport_yield_self.svg)](http://badge.fury.io/rb/backport_yield_self)
2
2
 
3
3
  backport_yield_self is the backport of `Kernel#yield_self` in Ruby 2.5 to older Ruby versions.
4
4
 
@@ -33,11 +33,11 @@ require 'backport_yield_self'
33
33
  ## Synopsis
34
34
 
35
35
  ```ruby
36
- "my string".yield_self {|s| s.upcase } #=> "MY STRING"
36
+ 'my string'.yield_self {|s| s.upcase } #=> "MY STRING"
37
37
  3.next.yield_self {|x| x**x }.to_s #=> "256"
38
38
  ```
39
39
 
40
- ## Supported Versions
40
+ ## Supported Ruby versions
41
41
 
42
42
  * Ruby 2.2
43
43
  * Ruby 2.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backport_yield_self
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koichi ITO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-10 00:00:00.000000000 Z
11
+ date: 2018-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hoe