{"action":"created","comment":{"url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/comments/87091460","pull_request_review_id":7717898,"id":87091460,"diff_hunk":"@@ -1,103 +1,454 @@\n require 'rails_helper'\n \n RSpec.describe UserDecorator do\n+  let(:user) { create(:user, :individual) }\n   before(:all) do\n     I18n.locale = :pt\n   end\n \n-  describe \"#display_name\" do\n-    subject{ user.display_name }\n+  describe \"#contributions_text\" do\n+    subject { user.reload.decorate.contributions_text }\n+\n+    context \"when the user has one contribution\" do\n+      let!(:contribution) { create(:contribution, :confirmed, user: user) }\n \n-    context \"when we only have a full name\" do\n-      let(:user){ create(:user, name: nil, full_name: \"Full Name\") }\n-      it{ is_expected.to eq('Full Name') }\n+      it { is_expected.to eq(\"Apoiou somente este projeto até agora\") }\n     end\n \n-    context \"when we have only a name\" do\n-      let(:user){ create(:user, name: 'name') }\n-      it{ is_expected.to eq('name') }\n+    context \"when the user has two contribution\" do\n+      let!(:contribution_list) { create_list(:contribution, 2, :confirmed, user: user) }\n+\n+      it { is_expected.to eq(\"Apoiou este e mais 1 outro projeto\") }\n     end\n \n-    context \"when name is empty string\" do\n-      let(:user){ create(:user, name: '', full_name: 'foo') }\n-      it{ is_expected.to eq('foo') }\n+    context \"when the user has three contribution\" do\n+      let!(:contribution_list) { create_list(:contribution, 3, :confirmed, user: user) }\n+\n+      it { is_expected.to eq(\"Apoiou este e mais outros 2 projetos\") }\n     end\n+  end\n+\n+  describe \"#twitter_link\" do\n+    let(:user) { create(:user, twitter: 'twitter_user') }\n+    subject { user.decorate.twitter_link }\n \n-    context \"when we have a name and a full name\" do\n-      let(:user){ create(:user, name: 'name', full_name: 'full name') }\n-      it{ is_expected.to eq('name') }\n+    context \"when user has no twitter account\" do\n+      let(:user) { create(:user, twitter: nil) }\n+\n+      it { is_expected.to be_nil }\n     end\n \n-    context \"when we have no name\" do\n-      let(:user){ create(:user, name: nil) }\n-      it{ is_expected.to eq(I18n.t('user.no_name')) }\n+    context \"when user has twitter account\" do\n+      it { is_expected.to eq(\"http://twitter.com/twitter_user\") }\n     end\n   end\n \n-  describe \"#display_image_html\" do\n-    let(:user){ build(:user, image_url: 'http://image.jpg', uploaded_image: nil )}\n-    let(:options){ {width: 300, height: 300} }\n-    subject{ user.display_image_html(options) }\n-    it{ is_expected.to eq(\"<div class=\\\"avatar_wrapper\\\" style=\\\"width: #{options[:width]}px; height: #{options[:height]}px\\\"><img alt=\\\"User\\\" src=\\\"#{user.display_image}\\\" style=\\\"width: #{options[:width]}px; height: auto\\\" /></div>\") }\n+  describe \"#gravatar_url\" do\n+    let(:user) { create(:user, email: 'email@email.com') }\n+    subject { user.decorate.gravatar_url }\n+\n+    context \"when user has no email\" do\n+      before { user.update_attribute(:email, nil) }\n+\n+      it { is_expected.to be_nil }\n+    end\n+\n+    context \"when user has email\" do\n+      it { is_expected.not_to be_nil }\n+    end\n+  end\n+\n+  describe \"#display_name\" do\n+    let(:user) { create(:user, name: \"name\", full_name: \"Full Name\") }\n+    subject { user.decorate.display_name }\n+\n+    context \"when the user has a name and a full name\" do\n+      it { is_expected.to eq('name') }\n+    end\n+\n+    context \"when the user has only have a full name\" do\n+      let(:user) { create(:user, name: nil, full_name: \"Full Name\") }\n+\n+      it { is_expected.to eq(\"Full Name\") }\n+    end\n+\n+    context \"when the user has only a name\" do\n+      let(:user) { create(:user, name: \"name\", full_name: nil) }\n+\n+      it { is_expected.to eq(\"name\") }\n+    end\n+\n+    context \"when the user name is empty string\" do\n+      let(:user) { create(:user, name: \"\", full_name: \"Full Name\") }\n+\n+      it { is_expected.to eq('Full Name') }\n+    end\n+\n+    context \"when the user has no name\" do\n+      let(:user) { create(:user, name: nil, full_name: nil) }\n+\n+      it { is_expected.to eq(I18n.t('no_name', scope: 'user')) }\n+    end\n   end\n \n   describe \"#display_image\" do\n-    subject{ user.display_image }\n+    let(:user) { create(:user, image_url: 'image.png') }\n+    subject { user.decorate.display_image }\n+\n+    context \"when we have an image url\" do\n+      it { is_expected.to eq('image.png') }\n+    end\n \n     context \"when we have an uploaded image\" do\n-      let(:user){ build(:user, uploaded_image: 'image.png' )}\n+      let(:user) { create(:user, uploaded_image: 'image.png') }\n+\n       before do\n         image = double(url: 'image.png')\n         allow(image).to receive(:thumb_avatar).and_return(image)\n         allow(user).to receive(:uploaded_image).and_return(image)\n       end\n-      it{ is_expected.to eq('image.png') }\n-    end\n \n-    context \"when we have an image url\" do\n-      let(:user){ build(:user, image_url: 'image.png') }\n-      it{ is_expected.to eq('image.png') }\n+      it { is_expected.to eq('image.png') }\n     end\n \n     context \"when we have an email\" do\n-      let(:user){ create(:user, image_url: nil, email: 'diogob@gmail.com') }\n-      xit{ is_expected.to eq(\"https://gravatar.com/avatar/5e2a237dafbc45f79428fdda9c5024b1.jpg?default=#{CatarseSettings[:base_url]}/assets/user.png\") }\n+      let(:user) { create(:user, email: \"diogob@gmail.com\") }\n+\n+      it { is_expected.to include(\"https://gravatar.com/avatar/\") }\n     end\n   end\n \n+  describe \"#display_image_html\" do\n+    let(:user)           { build(:user, image_url: \"http://image.jpg\", uploaded_image: nil )}\n+    let(:options)        { {width: 300, height: 300} }\n+    let(:html_options)   { \"width: #{options[:width]}px; height: #{options[:height]}px\" }\n+    let(:html_image_src) { \"src=\\\"#{user.decorate.display_image}\" }\n+\n+    subject { user.decorate.display_image_html(options) }\n+\n+    it { is_expected.to include(html_options, html_image_src) }\n+  end\n+\n   describe \"#short_name\" do\n-    subject { user = create(:user, name: 'My Name Is Lorem Ipsum Dolor Sit Amet') }\n-    its(:short_name) { should == 'My Name Is Lorem ...' }\n+    let(:user) { create(:user, name: \"My Name Is Lorem Ipsum Dolor Sit Amet\") }\n+    subject    { user.decorate.short_name }\n+\n+    context \"when name length is bigger than 20\" do\n+      it \"should return the first 20 name characters only\" do\n+        is_expected.to eq(\"My Name Is Lorem ...\")\n+      end\n+    end\n+\n+    context \"when name length is smaller than 20\" do\n+      let(:user) { create(:user, name: \"My Name Is\") }\n+\n+      it \"should return the entire name\" do\n+        is_expected.to eq(\"My Name Is\")\n+      end\n+    end\n   end\n \n   describe \"#medium_name\" do\n-    subject { user = create(:user, name: 'My Name Is Lorem Ipsum Dolor Sit Amet And This Is a Bit Name I Think') }\n-    its(:medium_name) { should == 'My Name Is Lorem Ipsum Dolor Sit Amet A...' }\n+    let(:user) { create(:user, name: \"My Name Is Lorem Ipsum Dolor Sit Amet And This Is\") }\n+    subject { user.decorate.medium_name }\n+\n+    context \"when name length is bigger than 42\" do\n+      it \"should return the first 42 name characters only\" do\n+        is_expected.to eq(\"My Name Is Lorem Ipsum Dolor Sit Amet A...\")\n+      end\n+    end\n+\n+    context \"when name length is smaller than 42\" do\n+      let(:user) { create(:user, name: \"My Name Is Lorem Ipsum\") }\n+\n+      it \"should return the entire name\" do\n+        is_expected.to eq(\"My Name Is Lorem Ipsum\")\n+      end\n+    end\n   end\n \n   describe \"#display_credits\" do\n-    subject { create(:user) }\n-    its(:display_credits) { should == 'R$ 0'}\n+    subject { user.decorate.display_credits }\n+\n+    it { is_expected.to eq(\"R$ 0\") }\n   end\n \n-  xdescribe \"#display_total_of_contributions\" do\n-    subject { user = create(:user) }\n-    context \"with confirmed contributions\" do\n-      before do\n-        create(:contribution, state: 'confirmed', user: subject, value: 500.0)\n-      end\n-      its(:display_total_of_contributions) { should == 'R$ 500'}\n+  describe \"#display_total_of_contributions\" do\n+    subject { user.decorate.display_total_of_contributions }\n+\n+    context \"when it has confirmed contributions\" do\n+      let!(:contribution) { create(:contribution, :confirmed, user: user, project_value: 500.0) }\n+\n+      it { is_expected.to eq('R$ 500') }\n+    end\n+\n+    context \"when it has no confirmed contributions\" do\n+      it { is_expected.to eq('R$ 0') }\n     end\n   end\n \n   describe \"#projects_count\" do\n+    let!(:project) { create(:project, :online, user: user) }\n+    subject       { user.decorate.projects_count }\n+\n+    context \"when project's state is online\" do\n+      it { is_expected.to eq(1) }\n+    end\n+\n+    context \"when project's state is waiting_funds\" do\n+      let!(:project) { create(:project, :waiting_funds, user: user) }\n+\n+      it { is_expected.to eq(1) }\n+    end\n+\n+    context \"when project's state is successful\" do\n+      let!(:project) { create(:project, :successful, user: user) }\n+\n+      it { is_expected.to eq(1) }\n+    end\n+\n+    context \"when project's state is failed\" do\n+      let!(:project) { create(:project, :failed, user: user) }\n+\n+      it { is_expected.to eq(1) }\n+    end\n+\n+    context \"when project's state is deleted\" do\n+      let!(:project) { create(:project, :deleted, user: user) }\n+\n+      it { is_expected.to eq(0) }\n+    end\n+  end\n+\n+  describe \"#display_bank_account\" do\n+    subject { user.reload.decorate.display_bank_account }\n+\n+    context \"when user has no bank account\" do\n+      it { is_expected.to eq(I18n.t('not_filled')) }\n+    end\n+\n+    context \"when user has bank account\" do\n+      let(:bank)           { create(:bank, code: 100) }\n+      let!(:bank_account)  { create(:bank_account, bank: bank, user: user) }\n+      let(:account_name)   { \"100 - Foo\" }\n+      let(:account_agency) { \"AG. 1\" }\n+      let(:account_number) { \"CC. 1-1\" }\n+\n+      it { is_expected.to include(account_name, account_agency, account_number) }\n+    end\n+  end\n+\n+  describe \"#display_bank_account_owner\" do\n+    subject { user.reload.decorate.display_bank_account_owner }\n+\n+    context \"when user has no bank account\" do\n+      it { is_expected.to be_nil }\n+    end\n+\n+    context \"when user has bank account\" do\n+      let!(:bank_account)     { create(:bank_account, user: user) }\n+      let(:bank_account_name) { \"Foo\" }\n+      let(:bank_account_cpf)  { \"CPF: 000\" }\n+\n+      it { is_expected.to include(bank_account_name, bank_account_cpf) }\n+    end\n+  end\n+\n+  describe \"#display_pending_documents\" do\n+    subject { user.decorate.display_pending_documents }\n+\n+    context \"when user is legal entity\" do\n+      let(:user) { create(:user, :legal_entity) }\n+\n+      it { is_expected.to be_nil }\n+    end\n+\n+    context \"when user is individual\" do\n+      before { sign_in user }\n+\n+      context \"and has no ID document\" do\n+        let(:user) { create(:user, :without_id_document) }\n+\n+        it \"should be pending documents\" do\n+          is_expected.to be_kind_of(String)\n+        end\n+      end\n+\n+      context \"and has no proof of residence\" do\n+        let(:user) { create(:user, :without_proof_of_residence) }\n+\n+        it \"should be pending documents\" do\n+          is_expected.to be_kind_of(String)\n+        end\n+      end\n+\n+      context \"and has ID document\" do\n+        let(:user) { create(:user, :with_id_document, :without_proof_of_residence) }\n+\n+        context \"but has no proof of residence\" do\n+          it \"should be pending documents\" do\n+            is_expected.to be_kind_of(String)\n+          end\n+        end\n+\n+        context \"and has proof of residence\" do\n+          let(:user) { create(:user, :with_id_document, :with_proof_of_residence) }\n+\n+          it \"should not be pending documents\" do\n+            is_expected.to be_nil\n+          end\n+        end\n+      end\n+    end\n+  end\n+\n+  describe \"#display_project_not_approved\" do\n+    subject { user.decorate.display_project_not_approved }\n+\n+    context \"when user is individual\" do\n+      it { is_expected.to be_nil }\n+    end\n+\n+    context \"when user is legal entity\" do\n+      let(:user) { create(:user, :legal_entity) }\n+      before { sign_in user }\n+\n+      it { is_expected.to be_kind_of(String) }\n+    end\n+  end\n+\n+  describe \"#following_this_category\" do\n+    subject { user.decorate.following_this_category?(category.id) }\n+\n+    context \"when there is category for user's project\" do\n+      let(:category_follower) { create(:category_follower, user: user) }\n+      let(:category) { category_follower.category }\n+\n+      it { is_expected.to be_truthy }\n+    end\n+\n+    context \"when there is no category for user's project\" do\n+      let(:new_user) { create(:user) }\n+      let(:category_follower) { create(:category_follower, user: new_user) }\n+      let(:category) { category_follower.category }\n+\n+      it { is_expected.to be_falsey }\n+    end\n+  end\n+\n+  describe \"#display_unsuccessful_project_count\" do\n+    subject { user.reload.decorate.display_unsuccessful_project_count }\n+\n+    context \"when there is no failed contributed projects\" do\n+      let!(:contribution) { create(:contribution, user: user) }\n+\n+      it { is_expected.to eq(0) }\n+    end\n+\n+    context \"when there is one failed contributed project\" do\n+      let!(:failed_contribution_project) { create(:failed_contribution_project, user: user) }\n+\n+      it { is_expected.to eq(1) }\n+    end\n+\n+    context \"when there are many failed contributed projects\" do\n+      let!(:failed_contribution_projects) { create_list(:failed_contribution_project, 8, user: user) }\n+\n+      it { is_expected.to eq(8) }\n+    end\n+  end\n+\n+  describe \"#display_last_unsuccessful_project_expires_at\" do\n+    let(:date)       { DateTime.civil(2000, 2, 15, 1, 59, 59) }\n+    let(:project)    { create :project, online_date: date, online_days: 5 }\n+    let(:expires_at) { date + 5.days }\n+\n+    subject { user.reload.decorate.display_last_unsuccessful_project_expires_at }\n+\n+    context \"when there is no failed contributed projects\" do\n+      let!(:contribution) { create(:contribution, user: user) }\n+\n+      it { is_expected.to eq('null') }\n+    end\n+\n+    context \"when there is one failed contributed project\" do\n+      let!(:failed_contribution_project) { create(:failed_contribution_project, user: user, project: project) }\n+\n+      it \"should return online_date plus online_days\" do\n+        is_expected.to eq((expires_at).to_time.to_i)\n+      end\n+    end\n+\n+    context \"when there are many failed contributed project\" do\n+      let!(:failed_contribution_project_list) { create_list(:failed_contribution_project, 7, user: user) }\n+      let!(:failed_contribution_project) { create(:failed_contribution_project, user: user, project: project) }\n+\n+      it \"should display the last unsuccessful project's expire at\" do\n+        is_expected.to eq((expires_at).to_time.to_i)","path":"spec/decorators/user_decorator_spec.rb","position":437,"original_position":431,"commit_id":"a8addbe6369fcf9fcbd289fd7f1e7d96b4973eee","original_commit_id":"507eba43ebd80ff390f1adc40e488b585bc3a471","user":{"login":"andrezacm","id":1102840,"avatar_url":"https://avatars.githubusercontent.com/u/1102840?v=3","gravatar_id":"","url":"https://api.github.com/users/andrezacm","html_url":"https://github.com/andrezacm","followers_url":"https://api.github.com/users/andrezacm/followers","following_url":"https://api.github.com/users/andrezacm/following{/other_user}","gists_url":"https://api.github.com/users/andrezacm/gists{/gist_id}","starred_url":"https://api.github.com/users/andrezacm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrezacm/subscriptions","organizations_url":"https://api.github.com/users/andrezacm/orgs","repos_url":"https://api.github.com/users/andrezacm/repos","events_url":"https://api.github.com/users/andrezacm/events{/privacy}","received_events_url":"https://api.github.com/users/andrezacm/received_events","type":"User","site_admin":false},"body":"eu me referia ao uso do `let!` ao invés do `let`","created_at":"2016-11-08T21:48:43Z","updated_at":"2016-11-08T21:48:43Z","html_url":"https://github.com/juntos-com-vc/juntos.com.vc/pull/240#discussion_r87091460","pull_request_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/240","_links":{"self":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/comments/87091460"},"html":{"href":"https://github.com/juntos-com-vc/juntos.com.vc/pull/240#discussion_r87091460"},"pull_request":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/240"}}},"pull_request":{"url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/240","id":92365747,"html_url":"https://github.com/juntos-com-vc/juntos.com.vc/pull/240","diff_url":"https://github.com/juntos-com-vc/juntos.com.vc/pull/240.diff","patch_url":"https://github.com/juntos-com-vc/juntos.com.vc/pull/240.patch","issue_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/240","number":240,"state":"open","locked":false,"title":"Remove user model delegating to decorator","user":{"login":"Maychell","id":5591247,"avatar_url":"https://avatars.githubusercontent.com/u/5591247?v=3","gravatar_id":"","url":"https://api.github.com/users/Maychell","html_url":"https://github.com/Maychell","followers_url":"https://api.github.com/users/Maychell/followers","following_url":"https://api.github.com/users/Maychell/following{/other_user}","gists_url":"https://api.github.com/users/Maychell/gists{/gist_id}","starred_url":"https://api.github.com/users/Maychell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maychell/subscriptions","organizations_url":"https://api.github.com/users/Maychell/orgs","repos_url":"https://api.github.com/users/Maychell/repos","events_url":"https://api.github.com/users/Maychell/events{/privacy}","received_events_url":"https://api.github.com/users/Maychell/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-04T15:52:27Z","updated_at":"2016-11-08T21:48:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af9ef93168acf5a54e25e54ba8541d87d5c8cfdd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/240/commits","review_comments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/240/comments","review_comment_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/240/comments","statuses_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/statuses/a8addbe6369fcf9fcbd289fd7f1e7d96b4973eee","head":{"label":"juntos-com-vc:remove-user-model-delegating-to-decorator","ref":"remove-user-model-delegating-to-decorator","sha":"a8addbe6369fcf9fcbd289fd7f1e7d96b4973eee","user":{"login":"juntos-com-vc","id":16776745,"avatar_url":"https://avatars.githubusercontent.com/u/16776745?v=3","gravatar_id":"","url":"https://api.github.com/users/juntos-com-vc","html_url":"https://github.com/juntos-com-vc","followers_url":"https://api.github.com/users/juntos-com-vc/followers","following_url":"https://api.github.com/users/juntos-com-vc/following{/other_user}","gists_url":"https://api.github.com/users/juntos-com-vc/gists{/gist_id}","starred_url":"https://api.github.com/users/juntos-com-vc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juntos-com-vc/subscriptions","organizations_url":"https://api.github.com/users/juntos-com-vc/orgs","repos_url":"https://api.github.com/users/juntos-com-vc/repos","events_url":"https://api.github.com/users/juntos-com-vc/events{/privacy}","received_events_url":"https://api.github.com/users/juntos-com-vc/received_events","type":"Organization","site_admin":false},"repo":{"id":25652386,"name":"juntos.com.vc","full_name":"juntos-com-vc/juntos.com.vc","owner":{"login":"juntos-com-vc","id":16776745,"avatar_url":"https://avatars.githubusercontent.com/u/16776745?v=3","gravatar_id":"","url":"https://api.github.com/users/juntos-com-vc","html_url":"https://github.com/juntos-com-vc","followers_url":"https://api.github.com/users/juntos-com-vc/followers","following_url":"https://api.github.com/users/juntos-com-vc/following{/other_user}","gists_url":"https://api.github.com/users/juntos-com-vc/gists{/gist_id}","starred_url":"https://api.github.com/users/juntos-com-vc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juntos-com-vc/subscriptions","organizations_url":"https://api.github.com/users/juntos-com-vc/orgs","repos_url":"https://api.github.com/users/juntos-com-vc/repos","events_url":"https://api.github.com/users/juntos-com-vc/events{/privacy}","received_events_url":"https://api.github.com/users/juntos-com-vc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juntos-com-vc/juntos.com.vc","description":null,"fork":false,"url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc","forks_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/forks","keys_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/teams","hooks_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/hooks","issue_events_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/events{/number}","events_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/events","assignees_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/assignees{/user}","branches_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/branches{/branch}","tags_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/tags","blobs_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/refs{/sha}","trees_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/statuses/{sha}","languages_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/languages","stargazers_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/stargazers","contributors_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/contributors","subscribers_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/subscribers","subscription_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/subscription","commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/commits{/sha}","git_commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/commits{/sha}","comments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/comments{/number}","issue_comment_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/comments{/number}","contents_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/contents/{+path}","compare_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/merges","archive_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/downloads","issues_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues{/number}","pulls_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls{/number}","milestones_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/milestones{/number}","notifications_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/labels{/name}","releases_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/releases{/id}","deployments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/deployments","created_at":"2014-10-23T18:43:07Z","updated_at":"2016-10-24T19:48:39Z","pushed_at":"2016-11-08T21:42:35Z","git_url":"git://github.com/juntos-com-vc/juntos.com.vc.git","ssh_url":"git@github.com:juntos-com-vc/juntos.com.vc.git","clone_url":"https://github.com/juntos-com-vc/juntos.com.vc.git","svn_url":"https://github.com/juntos-com-vc/juntos.com.vc","homepage":null,"size":50786,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"juntos-com-vc:master","ref":"master","sha":"20208cee392ebfb2681f869999269057b496bd79","user":{"login":"juntos-com-vc","id":16776745,"avatar_url":"https://avatars.githubusercontent.com/u/16776745?v=3","gravatar_id":"","url":"https://api.github.com/users/juntos-com-vc","html_url":"https://github.com/juntos-com-vc","followers_url":"https://api.github.com/users/juntos-com-vc/followers","following_url":"https://api.github.com/users/juntos-com-vc/following{/other_user}","gists_url":"https://api.github.com/users/juntos-com-vc/gists{/gist_id}","starred_url":"https://api.github.com/users/juntos-com-vc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juntos-com-vc/subscriptions","organizations_url":"https://api.github.com/users/juntos-com-vc/orgs","repos_url":"https://api.github.com/users/juntos-com-vc/repos","events_url":"https://api.github.com/users/juntos-com-vc/events{/privacy}","received_events_url":"https://api.github.com/users/juntos-com-vc/received_events","type":"Organization","site_admin":false},"repo":{"id":25652386,"name":"juntos.com.vc","full_name":"juntos-com-vc/juntos.com.vc","owner":{"login":"juntos-com-vc","id":16776745,"avatar_url":"https://avatars.githubusercontent.com/u/16776745?v=3","gravatar_id":"","url":"https://api.github.com/users/juntos-com-vc","html_url":"https://github.com/juntos-com-vc","followers_url":"https://api.github.com/users/juntos-com-vc/followers","following_url":"https://api.github.com/users/juntos-com-vc/following{/other_user}","gists_url":"https://api.github.com/users/juntos-com-vc/gists{/gist_id}","starred_url":"https://api.github.com/users/juntos-com-vc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juntos-com-vc/subscriptions","organizations_url":"https://api.github.com/users/juntos-com-vc/orgs","repos_url":"https://api.github.com/users/juntos-com-vc/repos","events_url":"https://api.github.com/users/juntos-com-vc/events{/privacy}","received_events_url":"https://api.github.com/users/juntos-com-vc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juntos-com-vc/juntos.com.vc","description":null,"fork":false,"url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc","forks_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/forks","keys_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/teams","hooks_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/hooks","issue_events_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/events{/number}","events_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/events","assignees_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/assignees{/user}","branches_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/branches{/branch}","tags_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/tags","blobs_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/refs{/sha}","trees_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/statuses/{sha}","languages_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/languages","stargazers_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/stargazers","contributors_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/contributors","subscribers_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/subscribers","subscription_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/subscription","commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/commits{/sha}","git_commits_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/git/commits{/sha}","comments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/comments{/number}","issue_comment_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/comments{/number}","contents_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/contents/{+path}","compare_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/merges","archive_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/downloads","issues_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues{/number}","pulls_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls{/number}","milestones_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/milestones{/number}","notifications_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/labels{/name}","releases_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/releases{/id}","deployments_url":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/deployments","created_at":"2014-10-23T18:43:07Z","updated_at":"2016-10-24T19:48:39Z","pushed_at":"2016-11-08T21:42:35Z","git_url":"git://github.com/juntos-com-vc/juntos.com.vc.git","ssh_url":"git@github.com:juntos-com-vc/juntos.com.vc.git","clone_url":"https://github.com/juntos-com-vc/juntos.com.vc.git","svn_url":"https://github.com/juntos-com-vc/juntos.com.vc","homepage":null,"size":50786,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/240"},"html":{"href":"https://github.com/juntos-com-vc/juntos.com.vc/pull/240"},"issue":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/240"},"comments":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/juntos-com-vc/juntos.com.vc/statuses/a8addbe6369fcf9fcbd289fd7f1e7d96b4973eee"}}}}
{"actor":{"display_login":"andrezacm"}}