theusual 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 396ea2a41a0d569f3cbaed64f3d5c36e96727917
4
- data.tar.gz: b325ef45fe603c0c3e31373d7dc703f2cb03f818
3
+ metadata.gz: 6578a2c365731ee7579eaff53465b930474b1a2b
4
+ data.tar.gz: a40bacee39ea71259583a128489964852ae477b6
5
5
  SHA512:
6
- metadata.gz: 44023b0a8ea6ef4869c0c177cecce6fc7db20526fdd39230dbd10c22512918fefe7e2c5995f8e9b9e17d6b483055438ad60cb76d2451f4cecd233be2da9cb914
7
- data.tar.gz: 33ca39b213e667ce31430b0be7f38db89f5d2fa4ebe580b7bc7cbc073b0c88b7f8ab2adb6ea7bd021f5062bba6faf8b11fca6a718dd2f64092492a55811a3b9e
6
+ metadata.gz: 71dedd5afb094487ca94eea5b158ec1adcedc3e918734c2cd699ae535f7ec2bc3ceeceb2aaf3c11c21fa9758513e665dee29a3d2130778af03b2a43a44383e4b
7
+ data.tar.gz: 573300a24a63db29a8d6fabb670e1db36d48f9fbb3993f386cf1e0c27fe798254b3f95531d94d7c3bdc79a8d21444c0dcc55069ed855036a07beeca36f5626d9
@@ -10,6 +10,7 @@ module TheUsual
10
10
  'ipaddr',
11
11
  'mongoid',
12
12
  'net/ssh',
13
+ 'nil',
13
14
  'numeric',
14
15
  'sequel',
15
16
  'string',
@@ -0,0 +1,7 @@
1
+ class NilClass
2
+
3
+ def empty?
4
+ true
5
+ end
6
+
7
+ end
@@ -1,3 +1,3 @@
1
1
  module TheUsual
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -0,0 +1,15 @@
1
+ require 'minitest/autorun'
2
+ require 'theusual'
3
+ TheUsual::load :nil
4
+
5
+
6
+ class NilTest < Minitest::Test
7
+
8
+ def test_is_empty
9
+ assert_equal(
10
+ true,
11
+ nil.empty?
12
+ )
13
+ end
14
+
15
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theusual
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Pepper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2017-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -50,6 +50,7 @@ files:
50
50
  - lib/theusual/hash.rb
51
51
  - lib/theusual/ipaddr.rb
52
52
  - lib/theusual/mongoid.rb
53
+ - lib/theusual/nil.rb
53
54
  - lib/theusual/numeric.rb
54
55
  - lib/theusual/sequel.rb
55
56
  - lib/theusual/ssh.rb
@@ -60,10 +61,11 @@ files:
60
61
  - test/test_failure.rb
61
62
  - test/test_hash.rb
62
63
  - test/test_ip_addr.rb
64
+ - test/test_nil.rb
63
65
  - test/test_numeric.rb
64
66
  - test/test_string.rb
65
67
  - test/test_time.rb
66
- homepage: https://github.com/d1hotpep/theusualrb
68
+ homepage: https://github.com/dpep/theusualrb
67
69
  licenses:
68
70
  - MIT
69
71
  metadata: {}
@@ -83,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
85
  version: '0'
84
86
  requirements: []
85
87
  rubyforge_project:
86
- rubygems_version: 2.6.10
88
+ rubygems_version: 2.6.11
87
89
  signing_key:
88
90
  specification_version: 4
89
91
  summary: TheUsual
@@ -92,6 +94,7 @@ test_files:
92
94
  - test/test_failure.rb
93
95
  - test/test_hash.rb
94
96
  - test/test_ip_addr.rb
97
+ - test/test_nil.rb
95
98
  - test/test_numeric.rb
96
99
  - test/test_string.rb
97
100
  - test/test_time.rb