layout_convert 0.0.3 → 0.0.4

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: 756f68ea800bfb5a0187ea847a94bdae2c6a943d
4
- data.tar.gz: 7b7974ee1b38c1c77f2b15c838f4dfb70842e239
3
+ metadata.gz: 074fafadbd701da746ad20bfb735f1d628459606
4
+ data.tar.gz: a8ccd652654357717fbe36580db52c3f68b1645e
5
5
  SHA512:
6
- metadata.gz: ef7d79b5ad3dea925e61425b72efd77a6dd7a80c85061b12eb7e28e60f2c96225fa35cefb5ed15af2ae0a332eac0ed6ad9424e145dd432425cc97047b56037b6
7
- data.tar.gz: 471444681c0b761fb89599102981f74b29181f1b9dd6ae8854ba8a6e4d1d8607cedacaf86e95030176e7ee49657fd3309d2f5840b68f7d8d191a6bb7f5620dbf
6
+ metadata.gz: 26af8664a4aa027d0d50450ae1b4648ffce365895e0b28e12ba686b1526a74f0c4f088dad242161a5eff23d7073fc88f42205ec5cbfdd8188b26b2bc37794051
7
+ data.tar.gz: 61e2b24932326532e1d04eecae2c0058cf6f9ccb5f6df49dee6815b0582b480003a363a23e7a46245c1e503927d7a1763e3dfadc4cc8e4f50d9f7b146dbcfd71
data/Gemfile CHANGED
@@ -4,3 +4,4 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
  gem "rspec"
6
6
  gem "codeclimate-test-reporter", group: :test, require: nil
7
+ gem "simplecov", group: :test, require: nil
@@ -1,3 +1,3 @@
1
1
  module LayoutConvert
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -99,8 +99,6 @@ class ::String
99
99
  Hash[LAYOUTS[:lat].zip LAYOUTS[:cyr]]
100
100
  elsif word.cyrillic?
101
101
  Hash[LAYOUTS[:cyr].zip LAYOUTS[:lat]]
102
- else
103
- throw "Cannot detect layout"
104
102
  end
105
103
  end
106
104
  end
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,8 @@
1
- require "codeclimate-test-reporter"
2
- ENV['CODECLIMATE_REPO_TOKEN'] = "51960221e8151ad9b40733ea47d536f89f5da3f418b350297c06f23e45f11e14"
3
- CodeClimate::TestReporter.start
1
+ if ENV["COVERAGE"]
2
+ require "simplecov"
3
+ SimpleCov.start
4
+ else
5
+ require "codeclimate-test-reporter"
6
+ ENV['CODECLIMATE_REPO_TOKEN'] = "51960221e8151ad9b40733ea47d536f89f5da3f418b350297c06f23e45f11e14"
7
+ CodeClimate::TestReporter.start
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: layout_convert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - bluurn