{"action":"created","comment":{"url":"https://api.github.com/repos/wagn/wikirate/pulls/comments/48893270","id":48893270,"diff_hunk":"@@ -2,191 +2,185 @@\n   before do\n     login_as 'joe_user'\n     test_csv = File.open(\"#{Rails.root}/mod/wikirate_source/spec/set/type_plus_right/source/import_test.csv\")\n-\n-    @source = Card.create! :type_id=>Card::SourceID,:subcards=>{'+File'=>{ :file=>test_csv,:type_id=>Card::FileID}}\n-    Card::Env.params[\"is_metric_import_update\"] = 'true'\n+    @source = Card.create! type_id: Card::SourceID,\n+                           subcards: {\n+                             '+File'=>{ file: test_csv,type_id: Card::FileID}\n+                           }\n+    Card::Env.params['is_metric_import_update'] = 'true'\n   end\n-  describe \"while adding metric value\" do\n-    it \"shows errors while params do not fit\" do\n-\n-      source_file = @source.fetch :trait=>:file\n-      source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID}}\n+  describe 'while adding metric value' do\n+    it 'shows errors while params do not fit' do\n+      source_file = @source.fetch trait: :file\n+      source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID}}\n       expect(source_file.errors).to have_key(:content)\n-      expect(source_file.errors[:content]).to include(\"Please give a year.\")\n+      expect(source_file.errors[:content]).to include('Please give a year.')\n \n       # as local cache will be cleaned after every request,\n       # this reset local is pretending last request is done\n       Card::Cache.reset_local\n-      source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n+      source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n \n       expect(source_file.errors).to have_key(:content)\n-      expect(source_file.errors[:content]).to include(\"Please give a metric.\")\n+      expect(source_file.errors[:content]).to include('Please give a metric.')\n \n     end\n-    it \"adds correct metric values\" do\n+    it 'adds correct metric values' do\n \n \n-      Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"9\"], \"Apple Inc.\"=>[\"62\"]}\n-      source_file = @source.fetch :trait=>:file\n-      source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n+      Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"9\"], \"Apple Inc.\"=>['62']}\n+      source_file = @source.fetch trait: :file\n+      source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n \n-      expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015\")).to be true\n-      expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Apple Inc.+2015\")).to be true\n+      expect(Card.exists?('Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015')).to be true\n+      expect(Card.exists?('Access to Nutrition Index+Marketing Score+Apple Inc.+2015')).to be true\n \n-      amazon_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value\"]\n-      apple_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Apple Inc.+2015+value\"]\n-      expect(amazon_2015_metric_value_card.content).to eq(\"9\")\n-      expect(apple_2015_metric_value_card.content).to eq(\"62\")\n+      amazon_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value']\n+      apple_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Apple Inc.+2015+value']\n+      expect(amazon_2015_metric_value_card.content).to eq('9')\n+      expect(apple_2015_metric_value_card.content).to eq('62')\n     end\n-    context \"company correction name is filled\" do\n-      it \"should use the correction name as company names\" do\n-        Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"9\"], \"Apple Inc.\"=>[\"62\"], \"Sony Corporation\"=>[\"13\"]}\n-        Card::Env.params[:corrected_company_name] = {\"Amazon.com, Inc.\"=>\"Apple Inc.\",\"Apple Inc.\"=>\"Sony Corporation\",  \"Sony Corporation\"=>\"Amazon.com, Inc.\"}\n-        source_file = @source.fetch :trait=>:file\n-        source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n-\n-        expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015\")).to be true\n-        expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Apple Inc.+2015\")).to be true\n-        expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Sony Corporation+2015\")).to be true\n-\n-        amazon_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value\"]\n-        apple_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Apple Inc.+2015+value\"]\n-        sony_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Sony Corporation+2015+value\"]\n-        expect(amazon_2015_metric_value_card.content).to eq(\"13\")\n-        expect(apple_2015_metric_value_card.content).to eq(\"9\")\n-        expect(sony_2015_metric_value_card.content).to eq(\"62\")\n+    context 'company correction name is filled' do\n+      it 'should use the correction name as company names' do\n+        Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"9\"], \"Apple Inc.\"=>[\"62\"], \"Sony Corporation\"=>['13']}\n+        Card::Env.params[:corrected_company_name] = {\"Amazon.com, Inc.\"=>\"Apple Inc.\",\"Apple Inc.\"=>\"Sony Corporation\",  \"Sony Corporation\"=>'Amazon.com, Inc.'}\n+        source_file = @source.fetch trait: :file\n+        source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n+\n+        expect(Card.exists?('Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015')).to be true\n+        expect(Card.exists?('Access to Nutrition Index+Marketing Score+Apple Inc.+2015')).to be true\n+        expect(Card.exists?('Access to Nutrition Index+Marketing Score+Sony Corporation+2015')).to be true\n+\n+        amazon_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value']\n+        apple_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Apple Inc.+2015+value']\n+        sony_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Sony Corporation+2015+value']\n+        expect(amazon_2015_metric_value_card.content).to eq('13')\n+        expect(apple_2015_metric_value_card.content).to eq('9')\n+        expect(sony_2015_metric_value_card.content).to eq('62')\n \n       end\n       context \"input company doesn't exist in wikirate\" do\n-        it \"should create company and the value\" do\n-          Card::Env.params[:metric_values] = {\"Cambridge\"=>[\"800\"]}\n-          Card::Env.params[:corrected_company_name] = {\"Cambridge\"=>\"Cambridge University\"}\n-          source_file = @source.fetch :trait=>:file\n-          source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n-          expect(Card.exists?(\"Cambridge University\")).to be true\n-          expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Cambridge University+2015\")).to be true\n-\n-          cambridge_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Cambridge University+2015+value\"]\n-          expect(cambridge_2015_metric_value_card.content).to eq(\"800\")\n+        it 'should create company and the value' do\n+          Card::Env.params[:metric_values] = {\"Cambridge\"=>['800']}\n+          Card::Env.params[:corrected_company_name] = {\"Cambridge\"=>'Cambridge University'}\n+          source_file = @source.fetch trait: :file\n+          source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n+          expect(Card.exists?('Cambridge University')).to be true\n+          expect(Card.exists?('Access to Nutrition Index+Marketing Score+Cambridge University+2015')).to be true\n+\n+          cambridge_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Cambridge University+2015+value']\n+          expect(cambridge_2015_metric_value_card.content).to eq('800')\n         end\n       end\n     end\n-    context \"company correction name is empty\" do\n-      context \"non-matching case\" do\n-        it \"should create company and the value\" do\n-          Card::Env.params[:metric_values] = {\"Cambridge\"=>[\"800\"]}\n-\n-          source_file = @source.fetch :trait=>:file\n-          source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n-          expect(Card.exists?(\"Cambridge\")).to be true\n-          expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Cambridge+2015\")).to be true\n-          cambridge_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Cambridge+2015+value\"]\n-          expect(cambridge_2015_metric_value_card.content).to eq(\"800\")\n+    context 'company correction name is empty' do\n+      context 'non-matching case' do\n+        it 'should create company and the value' do\n+          Card::Env.params[:metric_values] = {\"Cambridge\"=>['800']}\n+\n+          source_file = @source.fetch trait: :file\n+          source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n+          expect(Card.exists?('Cambridge')).to be true\n+          expect(Card.exists?('Access to Nutrition Index+Marketing Score+Cambridge+2015')).to be true\n+          cambridge_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Cambridge+2015+value']\n+          expect(cambridge_2015_metric_value_card.content).to eq('800')\n         end\n       end\n     end\n-    context \"metric value exists\" do\n-      it \"updates metric values\" do\n-        Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"9\"]}\n-\n-        source_file = @source.fetch :trait=>:file\n-        source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n+    context 'metric value exists' do\n+      it 'updates metric values' do\n+        Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>['9']}\n \n-        expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015\")).to be true\n+        source_file = @source.fetch trait: :file\n+        source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n \n-        amazon_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value\"]\n-        expect(amazon_2015_metric_value_card.content).to eq(\"9\")\n-\n-        Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"999\"]}\n-        source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n-        expect(amazon_2015_metric_value_card.content).to eq(\"999\")\n+        expect(Card.exists?('Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015')).to be true\n \n+        amazon_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value']\n+        expect(amazon_2015_metric_value_card.content).to eq('9')\n \n+        Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>['999']}\n+        source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n+        expect(amazon_2015_metric_value_card.content).to eq('999')\n       end\n     end\n   end\n-  describe \"updating metric values\" do\n-    it \"updates correct metric values\" do\n-\n+  describe 'updating metric values' do\n+    it 'updates correct metric values' do\n       test_csv = File.open(\"#{Rails.root}/mod/wikirate_source/spec/set/type_plus_right/source/import_test2.csv\")\n \n-      new_source = Card.create! :type_id=>Card::SourceID,:subcards=>{'+File'=>{ :file=>test_csv,:type_id=>Card::FileID}}\n+      new_source = Card.create! type_id: Card::SourceID,subcards: {'+File'=>{ file: test_csv,type_id: Card::FileID}}\n \n-      Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"9\"], \"Apple Inc.\"=>[\"62\"]}\n-      source_file = @source.fetch :trait=>:file\n-      source_file.update_attributes :subcards=>{\"#{@source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n+      Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"9\"], \"Apple Inc.\"=>['62']}\n+      source_file = @source.fetch trait: :file\n+      source_file.update_attributes subcards: {\"#{@source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID},\"#{@source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n \n-      expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015\")).to be true\n-      expect(Card.exists?(\"Access to Nutrition Index+Marketing Score+Apple Inc.+2015\")).to be true\n+      expect(Card.exists?('Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015')).to be true\n+      expect(Card.exists?('Access to Nutrition Index+Marketing Score+Apple Inc.+2015')).to be true\n \n-      amazon_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value\"]\n-      apple_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Apple Inc.+2015+value\"]\n-      expect(amazon_2015_metric_value_card.content).to eq(\"9\")\n-      expect(apple_2015_metric_value_card.content).to eq(\"62\")\n+      amazon_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value']\n+      apple_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Apple Inc.+2015+value']\n+      expect(amazon_2015_metric_value_card.content).to eq('9')\n+      expect(apple_2015_metric_value_card.content).to eq('62')\n+\n+      Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"369\"], \"Apple Inc.\"=>['689']}\n+      source_file = new_source.fetch trait: :file\n+      source_file.update_attributes subcards: {\"#{new_source.name}+#{Card[:metric].name}\"=>{content: '[[Access to Nutrition Index+Marketing Score]]',type_id: Card::PointerID},\"#{new_source.name}+#{Card[:year].name}\"=>{content: '[[2015]]',type_id: Card::PointerID}}\n \n-      Card::Env.params[:metric_values] = {\"Amazon.com, Inc.\"=>[\"369\"], \"Apple Inc.\"=>[\"689\"]}\n-      source_file = new_source.fetch :trait=>:file\n-      source_file.update_attributes :subcards=>{\"#{new_source.name}+#{Card[:metric].name}\"=>{:content=>'[[Access to Nutrition Index+Marketing Score]]',:type_id=>Card::PointerID},\"#{new_source.name}+#{Card[:year].name}\"=>{:content=>'[[2015]]',:type_id=>Card::PointerID}}\n-      \n       expect(source_file.errors).to be_empty\n-      expect(Card.exists?\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+link\").to be false\n-      expect(Card.exists?\"Access to Nutrition Index+Marketing Score+Apple Inc.+2015+link\").to be false\n-      amazon_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value\"]\n-      apple_2015_metric_value_card = Card[\"Access to Nutrition Index+Marketing Score+Apple Inc.+2015+value\"]\n-      expect(amazon_2015_metric_value_card.content).to eq(\"369\")\n-      expect(apple_2015_metric_value_card.content).to eq(\"689\")\n+      expect(Card.exists?'Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+link').to be false\n+      expect(Card.exists?'Access to Nutrition Index+Marketing Score+Apple Inc.+2015+link').to be false\n+      amazon_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Amazon.com, Inc.+2015+value']\n+      apple_2015_metric_value_card = Card['Access to Nutrition Index+Marketing Score+Apple Inc.+2015+value']\n+      expect(amazon_2015_metric_value_card.content).to eq('369')\n+      expect(apple_2015_metric_value_card.content).to eq('689')\n     end\n   end\n-  describe \"while rendering import view\" do\n+  describe 'while rendering import view' do\n \n-    it \"shows field correctly\" do\n+    it 'shows field correctly' do\n \n-      source_file_card = @source.fetch :trait=>:file\n+      source_file_card = @source.fetch trait: :file\n       html = source_file_card.format.render_import\n \n-      expect(html).to have_tag(\"div\", :with=>{:card_name=>\"#{@source.name}+Metric\"}) do\n-        with_tag \"input\", :with=>{:class=>\"card-content form-control\",:id=>\"card_subcards_#{@source.name}_Metric_content\"}\n+      expect(html).to have_tag(\"div\", with: {card_name: \"#{@source.name}+Metric\"}) do\n+        with_tag \"input\", with: {class: \"card-content form-control\",id: \"card_subcards_#{@source.name}_Metric_content\"}\n       end\n-      expect(html).to have_tag(\"div\", :with=>{:card_name=>\"#{@source.name}+Year\"}) do\n-        with_tag \"input\", :with=>{:class=>\"card-content form-control\",:id=>\"card_subcards_#{@source.name}_Year_content\"}\n+      expect(html).to have_tag(\"div\", with: {card_name: \"#{@source.name}+Year\"}) do\n+        with_tag \"input\", with: {class: \"card-content form-control\",id: \"card_subcards_#{@source.name}_Year_content\"}\n       end\n-      expect(html).to have_tag(\"input\", :with=>{:id=>\"is_metric_import_update\",:value=>\"true\",:type=>\"hidden\"})\n-      expect(html).to have_tag(\"table\", :with=>{:class=>\"import_table\"}) do\n-        with_tag \"tr\" do\n-          with_tag \"input\", :with=>{:type=>\"checkbox\",:value=>\"43\",:id=>\"metric_values_Cambridge_\"}\n-          with_tag \"td\",:text=>\"Cambridge\"\n-          with_tag \"td\" do\n-            with_tag \"input\", :with=>{ :type=>\"text\", :name=>\"corrected_company_name[Cambridge]\" }\n+      expect(html).to have_tag(\"input\", with: {id: \"is_metric_import_update\",value: \"true\",type: 'hidden'})\n+      expect(html).to have_tag(\"table\", with: {class: 'import_table'}) do\n+        with_tag 'tr' do\n+          with_tag \"input\", with: {type: \"checkbox\",value: \"43\",id: 'metric_values_Cambridge_'}\n+          with_tag \"td\",text: 'Cambridge'","path":"mod/wikirate_source/spec/set/type_plus_right/source/file-import_spec.rb","position":263,"original_position":263,"commit_id":"9bf93e638ec3bdc6336706e41057fabee58da574","original_commit_id":"9bf93e638ec3bdc6336706e41057fabee58da574","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Space missing after comma.<br>Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2016-01-05T20:39:04Z","updated_at":"2016-01-05T20:39:04Z","html_url":"https://github.com/wagn/wikirate/pull/308#discussion_r48893270","pull_request_url":"https://api.github.com/repos/wagn/wikirate/pulls/308","_links":{"self":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/comments/48893270"},"html":{"href":"https://github.com/wagn/wikirate/pull/308#discussion_r48893270"},"pull_request":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/308"}}},"pull_request":{"url":"https://api.github.com/repos/wagn/wikirate/pulls/308","id":54977371,"html_url":"https://github.com/wagn/wikirate/pull/308","diff_url":"https://github.com/wagn/wikirate/pull/308.diff","patch_url":"https://github.com/wagn/wikirate/pull/308.patch","issue_url":"https://api.github.com/repos/wagn/wikirate/issues/308","number":308,"state":"open","locked":false,"title":"change :wikirate_article to :overview","user":{"login":"xithan","id":13584,"avatar_url":"https://avatars.githubusercontent.com/u/13584?v=3","gravatar_id":"","url":"https://api.github.com/users/xithan","html_url":"https://github.com/xithan","followers_url":"https://api.github.com/users/xithan/followers","following_url":"https://api.github.com/users/xithan/following{/other_user}","gists_url":"https://api.github.com/users/xithan/gists{/gist_id}","starred_url":"https://api.github.com/users/xithan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xithan/subscriptions","organizations_url":"https://api.github.com/users/xithan/orgs","repos_url":"https://api.github.com/users/xithan/repos","events_url":"https://api.github.com/users/xithan/events{/privacy}","received_events_url":"https://api.github.com/users/xithan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-04T14:00:39Z","updated_at":"2016-01-05T20:39:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0628b8c0af599663433e50ad608806a269318aa4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wagn/wikirate/pulls/308/commits","review_comments_url":"https://api.github.com/repos/wagn/wikirate/pulls/308/comments","review_comment_url":"https://api.github.com/repos/wagn/wikirate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wagn/wikirate/issues/308/comments","statuses_url":"https://api.github.com/repos/wagn/wikirate/statuses/9bf93e638ec3bdc6336706e41057fabee58da574","head":{"label":"xithan:overview","ref":"overview","sha":"9bf93e638ec3bdc6336706e41057fabee58da574","user":{"login":"xithan","id":13584,"avatar_url":"https://avatars.githubusercontent.com/u/13584?v=3","gravatar_id":"","url":"https://api.github.com/users/xithan","html_url":"https://github.com/xithan","followers_url":"https://api.github.com/users/xithan/followers","following_url":"https://api.github.com/users/xithan/following{/other_user}","gists_url":"https://api.github.com/users/xithan/gists{/gist_id}","starred_url":"https://api.github.com/users/xithan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xithan/subscriptions","organizations_url":"https://api.github.com/users/xithan/orgs","repos_url":"https://api.github.com/users/xithan/repos","events_url":"https://api.github.com/users/xithan/events{/privacy}","received_events_url":"https://api.github.com/users/xithan/received_events","type":"User","site_admin":false},"repo":{"id":20190741,"name":"wikirate","full_name":"xithan/wikirate","owner":{"login":"xithan","id":13584,"avatar_url":"https://avatars.githubusercontent.com/u/13584?v=3","gravatar_id":"","url":"https://api.github.com/users/xithan","html_url":"https://github.com/xithan","followers_url":"https://api.github.com/users/xithan/followers","following_url":"https://api.github.com/users/xithan/following{/other_user}","gists_url":"https://api.github.com/users/xithan/gists{/gist_id}","starred_url":"https://api.github.com/users/xithan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xithan/subscriptions","organizations_url":"https://api.github.com/users/xithan/orgs","repos_url":"https://api.github.com/users/xithan/repos","events_url":"https://api.github.com/users/xithan/events{/privacy}","received_events_url":"https://api.github.com/users/xithan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xithan/wikirate","description":"","fork":true,"url":"https://api.github.com/repos/xithan/wikirate","forks_url":"https://api.github.com/repos/xithan/wikirate/forks","keys_url":"https://api.github.com/repos/xithan/wikirate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xithan/wikirate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xithan/wikirate/teams","hooks_url":"https://api.github.com/repos/xithan/wikirate/hooks","issue_events_url":"https://api.github.com/repos/xithan/wikirate/issues/events{/number}","events_url":"https://api.github.com/repos/xithan/wikirate/events","assignees_url":"https://api.github.com/repos/xithan/wikirate/assignees{/user}","branches_url":"https://api.github.com/repos/xithan/wikirate/branches{/branch}","tags_url":"https://api.github.com/repos/xithan/wikirate/tags","blobs_url":"https://api.github.com/repos/xithan/wikirate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xithan/wikirate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xithan/wikirate/git/refs{/sha}","trees_url":"https://api.github.com/repos/xithan/wikirate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xithan/wikirate/statuses/{sha}","languages_url":"https://api.github.com/repos/xithan/wikirate/languages","stargazers_url":"https://api.github.com/repos/xithan/wikirate/stargazers","contributors_url":"https://api.github.com/repos/xithan/wikirate/contributors","subscribers_url":"https://api.github.com/repos/xithan/wikirate/subscribers","subscription_url":"https://api.github.com/repos/xithan/wikirate/subscription","commits_url":"https://api.github.com/repos/xithan/wikirate/commits{/sha}","git_commits_url":"https://api.github.com/repos/xithan/wikirate/git/commits{/sha}","comments_url":"https://api.github.com/repos/xithan/wikirate/comments{/number}","issue_comment_url":"https://api.github.com/repos/xithan/wikirate/issues/comments{/number}","contents_url":"https://api.github.com/repos/xithan/wikirate/contents/{+path}","compare_url":"https://api.github.com/repos/xithan/wikirate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xithan/wikirate/merges","archive_url":"https://api.github.com/repos/xithan/wikirate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xithan/wikirate/downloads","issues_url":"https://api.github.com/repos/xithan/wikirate/issues{/number}","pulls_url":"https://api.github.com/repos/xithan/wikirate/pulls{/number}","milestones_url":"https://api.github.com/repos/xithan/wikirate/milestones{/number}","notifications_url":"https://api.github.com/repos/xithan/wikirate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xithan/wikirate/labels{/name}","releases_url":"https://api.github.com/repos/xithan/wikirate/releases{/id}","created_at":"2014-05-26T15:35:11Z","updated_at":"2015-05-09T14:42:27Z","pushed_at":"2016-01-05T20:38:34Z","git_url":"git://github.com/xithan/wikirate.git","ssh_url":"git@github.com:xithan/wikirate.git","clone_url":"https://github.com/xithan/wikirate.git","svn_url":"https://github.com/xithan/wikirate","homepage":null,"size":87250,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wagn:master","ref":"master","sha":"f49249b004d3fc7a41efa645766052e91a73acc8","user":{"login":"wagn","id":20722,"avatar_url":"https://avatars.githubusercontent.com/u/20722?v=3","gravatar_id":"","url":"https://api.github.com/users/wagn","html_url":"https://github.com/wagn","followers_url":"https://api.github.com/users/wagn/followers","following_url":"https://api.github.com/users/wagn/following{/other_user}","gists_url":"https://api.github.com/users/wagn/gists{/gist_id}","starred_url":"https://api.github.com/users/wagn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagn/subscriptions","organizations_url":"https://api.github.com/users/wagn/orgs","repos_url":"https://api.github.com/users/wagn/repos","events_url":"https://api.github.com/users/wagn/events{/privacy}","received_events_url":"https://api.github.com/users/wagn/received_events","type":"User","site_admin":false},"repo":{"id":15884166,"name":"wikirate","full_name":"wagn/wikirate","owner":{"login":"wagn","id":20722,"avatar_url":"https://avatars.githubusercontent.com/u/20722?v=3","gravatar_id":"","url":"https://api.github.com/users/wagn","html_url":"https://github.com/wagn","followers_url":"https://api.github.com/users/wagn/followers","following_url":"https://api.github.com/users/wagn/following{/other_user}","gists_url":"https://api.github.com/users/wagn/gists{/gist_id}","starred_url":"https://api.github.com/users/wagn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagn/subscriptions","organizations_url":"https://api.github.com/users/wagn/orgs","repos_url":"https://api.github.com/users/wagn/repos","events_url":"https://api.github.com/users/wagn/events{/privacy}","received_events_url":"https://api.github.com/users/wagn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wagn/wikirate","description":"","fork":false,"url":"https://api.github.com/repos/wagn/wikirate","forks_url":"https://api.github.com/repos/wagn/wikirate/forks","keys_url":"https://api.github.com/repos/wagn/wikirate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wagn/wikirate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wagn/wikirate/teams","hooks_url":"https://api.github.com/repos/wagn/wikirate/hooks","issue_events_url":"https://api.github.com/repos/wagn/wikirate/issues/events{/number}","events_url":"https://api.github.com/repos/wagn/wikirate/events","assignees_url":"https://api.github.com/repos/wagn/wikirate/assignees{/user}","branches_url":"https://api.github.com/repos/wagn/wikirate/branches{/branch}","tags_url":"https://api.github.com/repos/wagn/wikirate/tags","blobs_url":"https://api.github.com/repos/wagn/wikirate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wagn/wikirate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wagn/wikirate/git/refs{/sha}","trees_url":"https://api.github.com/repos/wagn/wikirate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wagn/wikirate/statuses/{sha}","languages_url":"https://api.github.com/repos/wagn/wikirate/languages","stargazers_url":"https://api.github.com/repos/wagn/wikirate/stargazers","contributors_url":"https://api.github.com/repos/wagn/wikirate/contributors","subscribers_url":"https://api.github.com/repos/wagn/wikirate/subscribers","subscription_url":"https://api.github.com/repos/wagn/wikirate/subscription","commits_url":"https://api.github.com/repos/wagn/wikirate/commits{/sha}","git_commits_url":"https://api.github.com/repos/wagn/wikirate/git/commits{/sha}","comments_url":"https://api.github.com/repos/wagn/wikirate/comments{/number}","issue_comment_url":"https://api.github.com/repos/wagn/wikirate/issues/comments{/number}","contents_url":"https://api.github.com/repos/wagn/wikirate/contents/{+path}","compare_url":"https://api.github.com/repos/wagn/wikirate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wagn/wikirate/merges","archive_url":"https://api.github.com/repos/wagn/wikirate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wagn/wikirate/downloads","issues_url":"https://api.github.com/repos/wagn/wikirate/issues{/number}","pulls_url":"https://api.github.com/repos/wagn/wikirate/pulls{/number}","milestones_url":"https://api.github.com/repos/wagn/wikirate/milestones{/number}","notifications_url":"https://api.github.com/repos/wagn/wikirate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wagn/wikirate/labels{/name}","releases_url":"https://api.github.com/repos/wagn/wikirate/releases{/id}","created_at":"2014-01-13T22:29:39Z","updated_at":"2015-05-08T17:01:43Z","pushed_at":"2016-01-05T20:38:35Z","git_url":"git://github.com/wagn/wikirate.git","ssh_url":"git@github.com:wagn/wikirate.git","clone_url":"https://github.com/wagn/wikirate.git","svn_url":"https://github.com/wagn/wikirate","homepage":null,"size":86683,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/308"},"html":{"href":"https://github.com/wagn/wikirate/pull/308"},"issue":{"href":"https://api.github.com/repos/wagn/wikirate/issues/308"},"comments":{"href":"https://api.github.com/repos/wagn/wikirate/issues/308/comments"},"review_comments":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/308/comments"},"review_comment":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/308/commits"},"statuses":{"href":"https://api.github.com/repos/wagn/wikirate/statuses/9bf93e638ec3bdc6336706e41057fabee58da574"}}}}