british 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/british.rb +2 -7
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc3b4591648e8e2327a95b96f775cd24e309f0e9
|
|
4
|
+
data.tar.gz: b212060f0e79fc23bdc4de70c595e1f7ee310c43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54e4f042d205f0a487dc5af5821a3979ddf68e12dcdb21324bec35edc07b7fb32be8d431d6ed8c15b6586551ac02ddc55c22c6783ec211de02e9514d2adcd2ff
|
|
7
|
+
data.tar.gz: 4675d0d1ae88f99d5fe7653e2f9fe6e058d8c6d364ef5e9f896645b4cf674ea5cac6a36e875c20d9b23c3b2961d55fb1fbc2d5473b5ffecab8b3d24f14fc00eb
|
data/lib/british.rb
CHANGED
|
@@ -94,13 +94,8 @@ module British
|
|
|
94
94
|
end
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
# Public:
|
|
98
|
-
|
|
99
|
-
def is_an?(*args)
|
|
100
|
-
is_a?(*args) if respond_to?(:is_a?)
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
# Public: additional alias for is_an?/is_a? method
|
|
97
|
+
# Public: aliases for is_an?/is_a? methods
|
|
98
|
+
alias is_an? is_a?
|
|
104
99
|
alias an? is_an?
|
|
105
100
|
|
|
106
101
|
def self.included(host_class)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: british
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Serge Bedzhyk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'Allows to use alternative words endings: -ise instead of -ize etc. Defines
|
|
14
14
|
`is_an?` as an alias of the is_a? method. Provides module to use `initialise` in
|
|
@@ -42,6 +42,6 @@ rubyforge_project:
|
|
|
42
42
|
rubygems_version: 2.5.2
|
|
43
43
|
signing_key:
|
|
44
44
|
specification_version: 4
|
|
45
|
-
summary: A tiny module that is supposed to help Brits to use Ruby with more comfort
|
|
45
|
+
summary: A tiny module that is supposed to help Brits to use Ruby with more comfort
|
|
46
46
|
test_files: []
|
|
47
47
|
has_rdoc:
|