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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/british.rb +2 -7
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3836974f5f6e65cc936f70cf0c34dad3eb98f9b7
4
- data.tar.gz: 7ec6347cb6583f9cea09d399e32e277a60ce6753
3
+ metadata.gz: cc3b4591648e8e2327a95b96f775cd24e309f0e9
4
+ data.tar.gz: b212060f0e79fc23bdc4de70c595e1f7ee310c43
5
5
  SHA512:
6
- metadata.gz: 2efa86bab2c4438f3bba0b8831e57a727019f01cde7b6e8187c50b049636dbb31a86bddcab39915fbd32e3d70cbcc1c213ef0aad1cd9404cd89e67fc64b130f5
7
- data.tar.gz: f103153e8c950d6397c718025eb1c25516d8fba309c10380ae64755f4ca9dfd3c65c17809cc80bcdb701d16d877498258401ff256f298483a4d578037030aed7
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: British alias of native is_a? method
98
- # Returns the original method's result
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.0
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-06 00:00:00.000000000 Z
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: