epitools 0.5.20 → 0.5.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/VERSION +1 -1
- data/lib/epitools/core_ext/object.rb +0 -2
- data/lib/epitools/core_ext/string.rb +5 -5
- data/lib/epitools/minimal.rb +8 -0
- data/lib/epitools/path.rb +0 -15
- metadata +4 -8
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ec682c3e5cd19ec44f4df3837bf92ec26e4d7b3e
|
4
|
+
data.tar.gz: f5a2728b25e66c141a1b7153e7d18de8349f2e63
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 584de2d271d5bd5d24073caef0956207aaee12f36d9203495f1014f7aa3534316fe79d6d4a33b10b8feeb01a0b9ec4f909ae1d84a0c4e2f664c89ad2e7741f71
|
7
|
+
data.tar.gz: eb2cb6d956f8c9e2727ff8a886322ac2c747c6205c0bfe7811949dd2f4deb3c9aa299b21870fc23570fee9bfdc79a7f7f98a054daae4e542b3e35afbea1c88fb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.21
|
@@ -245,13 +245,13 @@ class String
|
|
245
245
|
alias_method :from_marshal, :unmarshal
|
246
246
|
|
247
247
|
#
|
248
|
-
# Convert the string to a Path object.
|
248
|
+
# Convert the string to a Path object (for representing files/directories).
|
249
249
|
#
|
250
|
-
def
|
250
|
+
def to_Path
|
251
251
|
Path[self]
|
252
252
|
end
|
253
|
-
alias_method :
|
254
|
-
|
253
|
+
alias_method :to_P, :to_Path
|
254
|
+
|
255
255
|
#
|
256
256
|
# Convert this string into a string describing this many of the string.
|
257
257
|
# (Note: Doesn't know anything about proper grammar.)
|
@@ -357,7 +357,7 @@ class String
|
|
357
357
|
end
|
358
358
|
|
359
359
|
end # unless public_method_defined? :to_proc
|
360
|
-
|
360
|
+
|
361
361
|
end
|
362
362
|
|
363
363
|
|
data/lib/epitools/minimal.rb
CHANGED
@@ -177,6 +177,14 @@ class Module
|
|
177
177
|
end
|
178
178
|
|
179
179
|
|
180
|
+
#
|
181
|
+
# Path("/some/path") is an alias for Path["/some/path"]
|
182
|
+
#
|
183
|
+
def Path(arg)
|
184
|
+
Path[arg]
|
185
|
+
end
|
186
|
+
|
187
|
+
|
180
188
|
####################################################################
|
181
189
|
|
182
190
|
require 'epitools/autoloads'
|
data/lib/epitools/path.rb
CHANGED
@@ -1079,18 +1079,3 @@ class Path::URL < Path
|
|
1079
1079
|
|
1080
1080
|
end
|
1081
1081
|
|
1082
|
-
|
1083
|
-
#
|
1084
|
-
# Path("/some/path") is an alias for Path["/some/path"]
|
1085
|
-
#
|
1086
|
-
def Path(arg)
|
1087
|
-
Path[arg]
|
1088
|
-
end
|
1089
|
-
|
1090
|
-
class String
|
1091
|
-
def to_Path
|
1092
|
-
Path.new self
|
1093
|
-
end
|
1094
|
-
|
1095
|
-
alias_method :to_P, :to_Path
|
1096
|
-
end
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epitools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.21
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- epitron
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-03-25 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rspec
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -108,25 +105,24 @@ files:
|
|
108
105
|
homepage: http://github.com/epitron/epitools
|
109
106
|
licenses:
|
110
107
|
- WTFPL
|
108
|
+
metadata: {}
|
111
109
|
post_install_message:
|
112
110
|
rdoc_options: []
|
113
111
|
require_paths:
|
114
112
|
- lib
|
115
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
114
|
requirements:
|
118
115
|
- - '>='
|
119
116
|
- !ruby/object:Gem::Version
|
120
117
|
version: '0'
|
121
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
119
|
requirements:
|
124
120
|
- - '>='
|
125
121
|
- !ruby/object:Gem::Version
|
126
122
|
version: '0'
|
127
123
|
requirements: []
|
128
124
|
rubyforge_project:
|
129
|
-
rubygems_version:
|
125
|
+
rubygems_version: 2.0.0
|
130
126
|
signing_key:
|
131
127
|
specification_version: 3
|
132
128
|
summary: Not utils... METILS!
|