did_you_mean 0.4.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7304160d0a724a77cd37f5c0ad3068f6469117ea
4
- data.tar.gz: 398c18be7e4768cb7bab4a1e5c335a70d2b005dc
3
+ metadata.gz: d961ee3cd423185852392b303ed54736ca80bebb
4
+ data.tar.gz: e23a7b7aba833e604c58a63ddfc75f1bbbf7aee3
5
5
  SHA512:
6
- metadata.gz: 0bc3de404cf9341f59d6068e9c768c6592735e7152b3c6e0698c34d73a6c2b72ea7e9c87a0b2de8b4f6bef84ea1b2eb3f5205af8e4e3d2d4ecbb3bc2824771e5
7
- data.tar.gz: f48fc7b6ba5fbeb05f8994f0892eeeedf62b3270424e0001d9a232a03c1111bce626c77804ae3ebbc14fdc3e7c40a2f36700c6391d6701943b93d3a8f0f0ade0
6
+ metadata.gz: cecbf896dc1ae321a3abe9c1accb93b9ba9aedc99f5cdaa5e62cd41ee3aecbbd1d45a5372265c4ebb0ade15ab01de34176453e085b0e9e4b9bfd90108d28ad86
7
+ data.tar.gz: e213f5af08467359cefef1b6bc06416b770824251d17385990494cabe2068ec4326368aa21ed61a0dbe3d0481d36891ebba6b0abbf5370087ba98e91ca0a497b
@@ -5,6 +5,7 @@ rvm:
5
5
  - 2.0.0
6
6
  - 2.1.0
7
7
  - 2.1.1
8
+ - 2.1.2
8
9
  - ruby-head
9
10
 
10
11
  gemfile:
data/README.md CHANGED
@@ -26,7 +26,7 @@ gem 'did_you_mean', :group => :development
26
26
 
27
27
  ### Support
28
28
 
29
- This gem only supports Ruby 1.9.3, 2.0.0 and 2.1.0. All other ruby implementations are **not** supported.
29
+ This gem only supports Ruby 1.9.3, 2.0.0, 2.1.0, 2.1.1, 2.1.2 and ruby-head. All other ruby implementations are **NOT** supported.
30
30
 
31
31
  ## Contributing
32
32
 
@@ -1,10 +1,10 @@
1
1
  require 'mkmf'
2
2
 
3
3
  case RUBY_VERSION
4
- when /1.9.3/, /2.0.0/, /2.1.0/, /2.1.1/, /2.2.0/
4
+ when /1.9.3/, /2.0.0/, /^2.1.\d/, /2.2.0/
5
5
  abs_ruby_header_path = File.join(File.dirname(File.realpath(__FILE__)), "ruby_headers")
6
6
 
7
- version_suffix = if RUBY_VERSION == "2.1.1"
7
+ version_suffix = if /^2.1.\d/ =~ RUBY_VERSION
8
8
  "210"
9
9
  else
10
10
  RUBY_VERSION.tr(".", "")
@@ -1,3 +1,3 @@
1
1
  module DidYouMean
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: did_you_mean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuki Nishijima
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-20 00:00:00.000000000 Z
11
+ date: 2014-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: text