availablizer 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/availablizer.rb +2 -2
- data/test/test_availablizer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb141746b3ff5849cdec4a6a2f33fa1754e7c495
|
4
|
+
data.tar.gz: dea5288917e6a2afc15c2fb373a681190fe338c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec1f589c50b86bfe122b29dda51e77c4d2de2eb849f98d1671a6a59c4185f9899d4f4a94bb46d717a8ac50f10defa3abb03ff9ec7e8b612aad5e3546fcf733f3
|
7
|
+
data.tar.gz: 9fdcc4b8a066a7b740d8b5ba728656eb29ab781ebcd9ba3d964d9635ef0c23b4ca6ba7c86ff52d083ee3f83da5ac6c00db2a26ddc554694cb50294e6a3a7f65c
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ for example:
|
|
8
8
|
|
9
9
|
"comment".availablize # => "commentable"
|
10
10
|
"read".availablize # => "readable"
|
11
|
-
"scare".availablize # => "
|
11
|
+
"scare".availablize # => "scareable"
|
12
12
|
"category".availablize # => "categorizable"
|
13
13
|
|
14
14
|
## Installation
|
@@ -33,7 +33,7 @@ It's all
|
|
33
33
|
|
34
34
|
## Contributing
|
35
35
|
|
36
|
-
1. Fork it ( https://github.com/
|
36
|
+
1. Fork it ( https://github.com/komagata/availablizer/fork )
|
37
37
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
38
38
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
39
39
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/lib/availablizer.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
module Availablizer
|
2
|
-
VERSION = '1.0.
|
2
|
+
VERSION = '1.0.3'
|
3
3
|
end
|
4
4
|
|
5
5
|
class String
|
6
6
|
def availablize
|
7
|
-
as_is = %w(like peace)
|
7
|
+
as_is = %w(like peace scare)
|
8
8
|
ibles = %w(access collapse compat defense fall sense insense response reverse suggest contempt convert flex gull terrify horrify plausible)
|
9
9
|
|
10
10
|
if ibles.include? self
|
data/test/test_availablizer.rb
CHANGED
@@ -7,7 +7,7 @@ class TestAvailablizer < MiniTest::Test
|
|
7
7
|
def test_availablize
|
8
8
|
assert_equal 'comment'.availablize, 'commentable'
|
9
9
|
assert_equal 'read'.availablize, 'readable'
|
10
|
-
assert_equal 'scare'.availablize, '
|
10
|
+
assert_equal 'scare'.availablize, 'scareable'
|
11
11
|
assert_equal 'category'.availablize, 'categorizable'
|
12
12
|
assert_equal 'navigate'.availablize, 'navigable'
|
13
13
|
assert_equal 'access'.availablize, 'accessible'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: availablizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Komagata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|