diff --git a/app/components/code-climate-popup.js b/app/components/code-climate-popup.js deleted file mode 100644 index c7d31f4c..00000000 --- a/app/components/code-climate-popup.js +++ /dev/null @@ -1,10 +0,0 @@ -import Ember from 'ember'; - -export default Ember.Component.extend({ - actions: { - close() { - $('.popup').removeClass('display'); - return false; - } - } -}); diff --git a/app/components/repo-actions.js b/app/components/repo-actions.js index 58400fac..6e705e67 100644 --- a/app/components/repo-actions.js +++ b/app/components/repo-actions.js @@ -1,15 +1,3 @@ import Ember from 'ember'; -export default Ember.Component.extend({ - displayCodeClimate: function() { - return this.get('repo.githubLanguage') === 'Ruby'; - }.property('repo.githubLanguage'), - - actions: { - codeClimatePopup() { - $('.popup').removeClass('display'); - $('#code-climate').addClass('display'); - return false; - } - } -}); +export default Ember.Component.extend({}); diff --git a/app/styles/app/modules/buttons.sass b/app/styles/app/modules/buttons.sass index c71199fe..5879a363 100644 --- a/app/styles/app/modules/buttons.sass +++ b/app/styles/app/modules/buttons.sass @@ -144,16 +144,6 @@ $button-border-color: #d4d4d4 margin-right: 0 margin-bottom: .5em -.button-circle-codeclimate - @extend %circle-button - @extend %icon-line-codeclimate - background: - repeat: no-repeat - size: auto 9px - position: 4px 8px - &:hover - @extend %icon-line-codeclimate-teal - .button-circle-cancel @extend %circle-button @extend %icon-line-cross @@ -231,4 +221,3 @@ $button-border-color: #d4d4d4 cursor: pointer @extend .button--grey @extend %icon-line-eye - diff --git a/app/styles/app/modules/icons.sass b/app/styles/app/modules/icons.sass index 73322aee..36eb296c 100644 --- a/app/styles/app/modules/icons.sass +++ b/app/styles/app/modules/icons.sass @@ -186,11 +186,6 @@ %icon-line-dropdown-teal background-image: inline-image('line-icons/icon-arrow-dropdown-teal.svg') -%icon-line-codeclimate - background-image: inline-image('line-icons/icon-codeclimate.svg') -%icon-line-codeclimate-teal - background-image: inline-image('line-icons/icon-codeclimate-teal.svg') - %icon-line-cross background-image: inline-image('line-icons/icon-failed.svg') %icon-line-cross-white diff --git a/app/styles/app/popup.sass b/app/styles/app/popup.sass index d00a8ff8..f176a3ec 100644 --- a/app/styles/app/popup.sass +++ b/app/styles/app/popup.sass @@ -94,10 +94,3 @@ width: 505px padding: 4px border-radius: 3px - -#code-climate - width: 100% - ol - padding-left: 1.2em - @media #{$medium-up} - width: 550px diff --git a/app/templates/components/code-climate-popup.hbs b/app/templates/components/code-climate-popup.hbs deleted file mode 100644 index a8ed8a2e..00000000 --- a/app/templates/components/code-climate-popup.hbs +++ /dev/null @@ -1,41 +0,0 @@ -
- Want test coverage for your tests? -
-- Integrating Code Climate's test coverage reporting with your test - suite on Travis CI allows to track changes in coverage over time. If you haven't tried it out already, sign - up today to improve your code's quality. New customers get 20% off for the first three months! -
- -- It only takes a few steps, once you've set up your project: -
- -Add the `code-climate-reporter` gem to your Gemfile:
- -gem "codeclimate-test-reporter", group: :test, require: nil --
Load the reporter in your `test_helper` or `spec_helper`, putting it at the very top:
- -require "codeclimate-test-reporter" -CodeClimate::TestReporter.start --
Add the Code Climate token to your .travis.yml:
- -addons: - code_climate: - repo_token: adf08323... --