From 7694e7de024d65f4424aa9be6869ea0dba47d6d1 Mon Sep 17 00:00:00 2001 From: Stephen Crosby Date: Fri, 10 Oct 2014 15:07:49 -0700 Subject: [PATCH] add pivotal issue tracker as a gem --- Gemfile | 1 + Gemfile.lock | 42 +++++++++++++++++++++++++++++++----------- app/assets/stylesheets/issue_tracker_icons.css.erb | 16 ++++------------ 3 files changed, 36 insertions(+), 23 deletions(-) diff --git a/Gemfile b/Gemfile index a2067df..c23f177 100644 --- a/Gemfile +++ b/Gemfile @@ -31,6 +31,7 @@ gem 'errbit_plugin' gem 'errbit_github_plugin' gem 'errbit_lighthouse_plugin' gem 'errbit_redmine_plugin' +gem 'errbit_pivotal_plugin' # Notification services # --------------------------------------- diff --git a/Gemfile.lock b/Gemfile.lock index 3dade5a..ff971af 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -67,8 +67,8 @@ GEM simplecov (>= 0.7) term-ansicolor thor - crack (0.4.1) - safe_yaml (~> 0.9.0) + crack (0.4.2) + safe_yaml (~> 1.0.0) css_parser (1.3.5) addressable database_cleaner (1.2.0) @@ -96,8 +96,11 @@ GEM errbit_lighthouse_plugin (0.1.0) errbit_plugin (~> 0) lighthouse-api (~> 2) + errbit_pivotal_plugin (0.1.0) + errbit_plugin (~> 0.4, >= 0.4.0) + pivotal-tracker (~> 0.5, >= 0.5.0) errbit_plugin (0.4.0) - errbit_redmine_plugin (0.1.0) + errbit_redmine_plugin (0.2.0) errbit_plugin (~> 0) oruen_redmine_client (~> 0) erubis (2.7.0) @@ -113,6 +116,8 @@ GEM thor (>= 0.13.6) haml (4.0.3) tilt + happymapper (0.4.1) + libxml-ruby (~> 2.0) hashie (2.0.5) highline (1.6.20) hike (1.2.3) @@ -129,7 +134,7 @@ GEM json (~> 1.8) multi_xml (>= 0.5.2) httpauth (0.2.0) - i18n (0.6.5) + i18n (0.6.11) journey (1.0.4) jquery-rails (2.1.4) railties (>= 3.0, < 5.0) @@ -144,6 +149,7 @@ GEM launchy (2.3.0) addressable (~> 2.3) libv8 (3.16.14.3) + libxml-ruby (2.7.0) lighthouse-api (2.0) activeresource (>= 3.0.0) activesupport (>= 3.0.0) @@ -156,7 +162,7 @@ GEM railties method_source (0.8.2) mime-types (1.25.1) - mini_portile (0.5.3) + mini_portile (0.6.0) mongoid (3.1.5) activemodel (~> 3.2) moped (~> 1.4) @@ -172,7 +178,7 @@ GEM rails (>= 3.2.0) railties (>= 3.2.0) moped (1.5.1) - multi_json (1.10.0) + multi_json (1.10.1) multi_xml (0.5.5) multipart-post (2.0.0) net-scp (1.1.2) @@ -182,8 +188,10 @@ GEM net-ssh (2.7.0) net-ssh-gateway (1.2.0) net-ssh (>= 2.6.5) - nokogiri (1.6.1) - mini_portile (~> 0.5.0) + nokogiri (1.6.3.1) + mini_portile (= 0.6.0) + nokogiri-happymapper (0.5.9) + nokogiri (~> 1.5) oauth2 (0.8.1) faraday (~> 0.8) httpauth (~> 0.1) @@ -205,6 +213,16 @@ GEM orm_adapter (0.4.0) oruen_redmine_client (0.0.1) activeresource (>= 2.3.0) + pivotal-tracker (0.5.12) + builder + builder + crack + happymapper (>= 0.3.2) + nokogiri (>= 1.4.3) + nokogiri (>= 1.5.5) + nokogiri-happymapper (>= 0.5.4) + rest-client (~> 1.6.0) + rest-client (~> 1.6.0) pjax_rails (0.3.4) jquery-rails poltergeist (1.5.1) @@ -259,8 +277,9 @@ GEM json (~> 1.4) ref (1.0.5) request_store (1.0.6) - rest-client (1.6.7) - mime-types (>= 1.16) + rest-client (1.6.8) + mime-types (~> 1.16) + rdoc (>= 2.4.2) ri_cal (0.8.8) rspec (2.14.1) rspec-core (~> 2.14.0) @@ -280,7 +299,7 @@ GEM rushover (0.3.0) json rest-client - safe_yaml (0.9.7) + safe_yaml (1.0.4) sawyer (0.5.5) addressable (~> 2.3.5) faraday (~> 0.8, < 0.10) @@ -357,6 +376,7 @@ DEPENDENCIES email_spec errbit_github_plugin errbit_lighthouse_plugin + errbit_pivotal_plugin errbit_plugin errbit_redmine_plugin execjs diff --git a/app/assets/stylesheets/issue_tracker_icons.css.erb b/app/assets/stylesheets/issue_tracker_icons.css.erb index 15148e6..fca8eae 100644 --- a/app/assets/stylesheets/issue_tracker_icons.css.erb +++ b/app/assets/stylesheets/issue_tracker_icons.css.erb @@ -1,17 +1,9 @@ /* Issue Tracker inactive, select, create and goto icons */ <% ErrbitPlugin::Registry.issue_trackers.keys.each do |label| %> -div.issue_tracker.nested label.<%= label %> { - background: url(<%= asset_path "#{ label }_inactive.png" %>) no-repeat; -} -div.issue_tracker.nested label.r_on.<%= label %> { - background: url(<%= asset_path "#{ label }_create.png" %>) no-repeat; -} -#action-bar a.<%= label %>_create { - background: transparent url(<%= asset_path "#{ label }_create.png" %>) 6px 5px no-repeat; -} -#action-bar a.<%= label %>_goto { - background: transparent url(<%= asset_path "#{ label }_goto.png" %>) 6px 5px no-repeat; -} +div.issue_tracker.nested label.<%= label %> { background: url(<%= asset_path "#{ label }_inactive.png" %>) no-repeat; } +div.issue_tracker.nested label.r_on.<%= label %> { background: url(<%= asset_path "#{ label }_create.png" %>) no-repeat; } +#action-bar a.<%= label %>_create { background: transparent url(<%= asset_path "#{ label }_create.png" %>) 6px 5px no-repeat; } +#action-bar a.<%= label %>_goto { background: transparent url(<%= asset_path "#{ label }_goto.png" %>) 6px 5px no-repeat; } <% end %> -- libgit2 0.21.2