_p_ 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +25 -0
- data/_p_.gemspec +2 -4
- data/lib/_p_.rb +1 -1
- metadata +19 -7
data/README.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
\_p\_
|
2
|
+
====
|
3
|
+
|
4
|
+
tapp is tap and p, \_p\_ is an alias of tapp.
|
5
|
+
|
6
|
+
Installation
|
7
|
+
----
|
8
|
+
|
9
|
+
gem install _p_
|
10
|
+
|
11
|
+
or in Gemfile:
|
12
|
+
|
13
|
+
gem "_p_"
|
14
|
+
|
15
|
+
Usage
|
16
|
+
----
|
17
|
+
|
18
|
+
>> require '_p_'
|
19
|
+
=> true
|
20
|
+
>> (1..5)._p_.select(&:odd?)._p_.inject(&:+)
|
21
|
+
1..5
|
22
|
+
[1, 3, 5]
|
23
|
+
=> 9
|
24
|
+
|
25
|
+
See also: [https://github.com/esminc/tapp](https://github.com/esminc/tapp)
|
data/_p_.gemspec
CHANGED
@@ -3,15 +3,13 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "_p_"
|
6
|
-
s.version = "1.
|
6
|
+
s.version = "1.1.0"
|
7
7
|
s.authors = ["jugyo"]
|
8
8
|
s.email = ["jugyo.org@gmail.com"]
|
9
|
-
s.homepage = ""
|
9
|
+
s.homepage = "https://github.com/jugyo/_p_"
|
10
10
|
s.summary = %q{just an alias of tapp}
|
11
11
|
s.description = %q{tapp is tap and p, _p_ is an alias of tapp.}
|
12
12
|
|
13
|
-
s.rubyforge_project = "p_"
|
14
|
-
|
15
13
|
s.files = `git ls-files`.split("\n")
|
16
14
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
15
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
data/lib/_p_.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require "tapp"; Object.send(:alias_method, :_p_, :tapp)
|
1
|
+
require "tapp"; Object.send(:alias_method, :_p_, :tapp); Object.send(:alias_method, :_p, :_p_)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: _p_
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tapp
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,12 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
description: tapp is tap and p, _p_ is an alias of tapp.
|
26
31
|
email:
|
27
32
|
- jugyo.org@gmail.com
|
@@ -30,10 +35,11 @@ extensions: []
|
|
30
35
|
extra_rdoc_files: []
|
31
36
|
files:
|
32
37
|
- Gemfile
|
38
|
+
- README.md
|
33
39
|
- Rakefile
|
34
40
|
- _p_.gemspec
|
35
41
|
- lib/_p_.rb
|
36
|
-
homepage:
|
42
|
+
homepage: https://github.com/jugyo/_p_
|
37
43
|
licenses: []
|
38
44
|
post_install_message:
|
39
45
|
rdoc_options: []
|
@@ -45,15 +51,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
45
51
|
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
54
|
+
segments:
|
55
|
+
- 0
|
56
|
+
hash: -1632795311274500009
|
48
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
58
|
none: false
|
50
59
|
requirements:
|
51
60
|
- - ! '>='
|
52
61
|
- !ruby/object:Gem::Version
|
53
62
|
version: '0'
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
hash: -1632795311274500009
|
54
66
|
requirements: []
|
55
|
-
rubyforge_project:
|
56
|
-
rubygems_version: 1.8.
|
67
|
+
rubyforge_project:
|
68
|
+
rubygems_version: 1.8.24
|
57
69
|
signing_key:
|
58
70
|
specification_version: 3
|
59
71
|
summary: just an alias of tapp
|