From 8a2062b20e79e97a227792bf7992352796481c5c Mon Sep 17 00:00:00 2001 From: Serdar Tumgoren Date: Wed, 19 Jul 2017 13:11:04 -0700 Subject: [PATCH 1/2] Update mappings spec to handle 8.2 format --- spec/mappings_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/mappings_spec.rb b/spec/mappings_spec.rb index 4e73064..e824db5 100644 --- a/spec/mappings_spec.rb +++ b/spec/mappings_spec.rb @@ -9,13 +9,13 @@ end it "should return the correct row_map" do - @mappings.for_row("sa").should == @mappings.map["^sa"]["^8.1|8.0"] + @mappings.for_row("sa").should == @mappings.map["^sa"]["^8.2|8.1|8.0"] @mappings.for_row("f3p31").should_not == @mappings.for_row("f3p") end it "should use a greedy match on the row type, matching most complete available option" do - @mappings.for_row("f3p31").should == @mappings.map[FechUtils::ROW_TYPES[:f3p31].source]["^8.1|8.0|7.0|6.4|6.3|6.2|6.1"] - @mappings.for_row("f3p").should == @mappings.map[FechUtils::ROW_TYPES[:f3p].source]["^8.1|8.0|7.0"] + @mappings.for_row("f3p31").should == @mappings.map[FechUtils::ROW_TYPES[:f3p31].source]["^8.2|8.1|8.0|7.0|6.4|6.3|6.2|6.1"] + @mappings.for_row("f3p").should == @mappings.map[FechUtils::ROW_TYPES[:f3p].source]["^8.2|8.1|8.0|7.0"] end end @@ -43,4 +43,4 @@ end -end \ No newline at end of file +end From d7efb4c36d910406d83c5ade61b74993b152cdbd Mon Sep 17 00:00:00 2001 From: Serdar Tumgoren Date: Thu, 20 Jul 2017 16:37:56 -0700 Subject: [PATCH 2/2] Use https to avoid permissions issues when installing fech from Github directly in Gemfile --- .gitmodules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index cd94595..50c718e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "sources"] - path = sources - url = git@github.com:dwillis/fech-sources.git + path = sources + url = https://github.com/dwillis/fech-sources.git