xstring 0.0.1 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -2
- data/lib/xstring/version.rb +1 -1
- data/xstring.gemspec +2 -2
- metadata +4 -4
data/README.md
CHANGED
@@ -4,6 +4,8 @@ Ruby String extensions.
|
|
4
4
|
|
5
5
|
Currently includes one amazing to_class extension.
|
6
6
|
|
7
|
+
Actually, this is my first gem but maybe it will be useful to someone ...
|
8
|
+
|
7
9
|
## Installation
|
8
10
|
|
9
11
|
Add this line to your application's Gemfile:
|
@@ -20,8 +22,10 @@ Or install it yourself as:
|
|
20
22
|
|
21
23
|
## Usage
|
22
24
|
|
23
|
-
|
24
|
-
|
25
|
+
require 'xstring'
|
26
|
+
|
27
|
+
"Object".to_class # => Object
|
28
|
+
"marshmallow".to_class # => nil
|
25
29
|
|
26
30
|
## Contributing
|
27
31
|
|
data/lib/xstring/version.rb
CHANGED
data/xstring.gemspec
CHANGED
@@ -6,9 +6,9 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.email = ["harryhorn@gmail.com"]
|
7
7
|
gem.description = %q{Ruby String extensions - currently only one extension: to_class}
|
8
8
|
gem.summary = %q{Ruby String extensions}
|
9
|
-
gem.homepage = ""
|
9
|
+
gem.homepage = "https://github.com/harryhorn/xstring"
|
10
10
|
|
11
|
-
gem.add_development_dependency "rspec"
|
11
|
+
gem.add_development_dependency "rspec", '>= 2.0'
|
12
12
|
|
13
13
|
gem.files = `git ls-files`.split($\)
|
14
14
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xstring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
21
|
+
version: '2.0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
29
|
+
version: '2.0'
|
30
30
|
description: ! 'Ruby String extensions - currently only one extension: to_class'
|
31
31
|
email:
|
32
32
|
- harryhorn@gmail.com
|
@@ -45,7 +45,7 @@ files:
|
|
45
45
|
- spec/spec_helper.rb
|
46
46
|
- spec/xstring_spec.rb
|
47
47
|
- xstring.gemspec
|
48
|
-
homepage:
|
48
|
+
homepage: https://github.com/harryhorn/xstring
|
49
49
|
licenses: []
|
50
50
|
post_install_message:
|
51
51
|
rdoc_options: []
|