Commit 7694e7de024d65f4424aa9be6869ea0dba47d6d1

Authored by Stephen Crosby
1 parent e89b275c
Exists in master and in 1 other branch production

add pivotal issue tracker as a gem

Gemfile
... ... @@ -31,6 +31,7 @@ gem 'errbit_plugin'
31 31 gem 'errbit_github_plugin'
32 32 gem 'errbit_lighthouse_plugin'
33 33 gem 'errbit_redmine_plugin'
  34 +gem 'errbit_pivotal_plugin'
34 35  
35 36 # Notification services
36 37 # ---------------------------------------
... ...
Gemfile.lock
... ... @@ -67,8 +67,8 @@ GEM
67 67 simplecov (>= 0.7)
68 68 term-ansicolor
69 69 thor
70   - crack (0.4.1)
71   - safe_yaml (~> 0.9.0)
  70 + crack (0.4.2)
  71 + safe_yaml (~> 1.0.0)
72 72 css_parser (1.3.5)
73 73 addressable
74 74 database_cleaner (1.2.0)
... ... @@ -96,8 +96,11 @@ GEM
96 96 errbit_lighthouse_plugin (0.1.0)
97 97 errbit_plugin (~> 0)
98 98 lighthouse-api (~> 2)
  99 + errbit_pivotal_plugin (0.1.0)
  100 + errbit_plugin (~> 0.4, >= 0.4.0)
  101 + pivotal-tracker (~> 0.5, >= 0.5.0)
99 102 errbit_plugin (0.4.0)
100   - errbit_redmine_plugin (0.1.0)
  103 + errbit_redmine_plugin (0.2.0)
101 104 errbit_plugin (~> 0)
102 105 oruen_redmine_client (~> 0)
103 106 erubis (2.7.0)
... ... @@ -113,6 +116,8 @@ GEM
113 116 thor (>= 0.13.6)
114 117 haml (4.0.3)
115 118 tilt
  119 + happymapper (0.4.1)
  120 + libxml-ruby (~> 2.0)
116 121 hashie (2.0.5)
117 122 highline (1.6.20)
118 123 hike (1.2.3)
... ... @@ -129,7 +134,7 @@ GEM
129 134 json (~> 1.8)
130 135 multi_xml (>= 0.5.2)
131 136 httpauth (0.2.0)
132   - i18n (0.6.5)
  137 + i18n (0.6.11)
133 138 journey (1.0.4)
134 139 jquery-rails (2.1.4)
135 140 railties (>= 3.0, < 5.0)
... ... @@ -144,6 +149,7 @@ GEM
144 149 launchy (2.3.0)
145 150 addressable (~> 2.3)
146 151 libv8 (3.16.14.3)
  152 + libxml-ruby (2.7.0)
147 153 lighthouse-api (2.0)
148 154 activeresource (>= 3.0.0)
149 155 activesupport (>= 3.0.0)
... ... @@ -156,7 +162,7 @@ GEM
156 162 railties
157 163 method_source (0.8.2)
158 164 mime-types (1.25.1)
159   - mini_portile (0.5.3)
  165 + mini_portile (0.6.0)
160 166 mongoid (3.1.5)
161 167 activemodel (~> 3.2)
162 168 moped (~> 1.4)
... ... @@ -172,7 +178,7 @@ GEM
172 178 rails (>= 3.2.0)
173 179 railties (>= 3.2.0)
174 180 moped (1.5.1)
175   - multi_json (1.10.0)
  181 + multi_json (1.10.1)
176 182 multi_xml (0.5.5)
177 183 multipart-post (2.0.0)
178 184 net-scp (1.1.2)
... ... @@ -182,8 +188,10 @@ GEM
182 188 net-ssh (2.7.0)
183 189 net-ssh-gateway (1.2.0)
184 190 net-ssh (>= 2.6.5)
185   - nokogiri (1.6.1)
186   - mini_portile (~> 0.5.0)
  191 + nokogiri (1.6.3.1)
  192 + mini_portile (= 0.6.0)
  193 + nokogiri-happymapper (0.5.9)
  194 + nokogiri (~> 1.5)
187 195 oauth2 (0.8.1)
188 196 faraday (~> 0.8)
189 197 httpauth (~> 0.1)
... ... @@ -205,6 +213,16 @@ GEM
205 213 orm_adapter (0.4.0)
206 214 oruen_redmine_client (0.0.1)
207 215 activeresource (>= 2.3.0)
  216 + pivotal-tracker (0.5.12)
  217 + builder
  218 + builder
  219 + crack
  220 + happymapper (>= 0.3.2)
  221 + nokogiri (>= 1.4.3)
  222 + nokogiri (>= 1.5.5)
  223 + nokogiri-happymapper (>= 0.5.4)
  224 + rest-client (~> 1.6.0)
  225 + rest-client (~> 1.6.0)
208 226 pjax_rails (0.3.4)
209 227 jquery-rails
210 228 poltergeist (1.5.1)
... ... @@ -259,8 +277,9 @@ GEM
259 277 json (~> 1.4)
260 278 ref (1.0.5)
261 279 request_store (1.0.6)
262   - rest-client (1.6.7)
263   - mime-types (>= 1.16)
  280 + rest-client (1.6.8)
  281 + mime-types (~> 1.16)
  282 + rdoc (>= 2.4.2)
264 283 ri_cal (0.8.8)
265 284 rspec (2.14.1)
266 285 rspec-core (~> 2.14.0)
... ... @@ -280,7 +299,7 @@ GEM
280 299 rushover (0.3.0)
281 300 json
282 301 rest-client
283   - safe_yaml (0.9.7)
  302 + safe_yaml (1.0.4)
284 303 sawyer (0.5.5)
285 304 addressable (~> 2.3.5)
286 305 faraday (~> 0.8, < 0.10)
... ... @@ -357,6 +376,7 @@ DEPENDENCIES
357 376 email_spec
358 377 errbit_github_plugin
359 378 errbit_lighthouse_plugin
  379 + errbit_pivotal_plugin
360 380 errbit_plugin
361 381 errbit_redmine_plugin
362 382 execjs
... ...
app/assets/stylesheets/issue_tracker_icons.css.erb
1 1 /* Issue Tracker inactive, select, create and goto icons */
2 2  
3 3 <% ErrbitPlugin::Registry.issue_trackers.keys.each do |label| %>
4   -div.issue_tracker.nested label.<%= label %> {
5   - background: url(<%= asset_path "#{ label }_inactive.png" %>) no-repeat;
6   -}
7   -div.issue_tracker.nested label.r_on.<%= label %> {
8   - background: url(<%= asset_path "#{ label }_create.png" %>) no-repeat;
9   -}
10   -#action-bar a.<%= label %>_create {
11   - background: transparent url(<%= asset_path "#{ label }_create.png" %>) 6px 5px no-repeat;
12   -}
13   -#action-bar a.<%= label %>_goto {
14   - background: transparent url(<%= asset_path "#{ label }_goto.png" %>) 6px 5px no-repeat;
15   -}
  4 +div.issue_tracker.nested label.<%= label %> { background: url(<%= asset_path "#{ label }_inactive.png" %>) no-repeat; }
  5 +div.issue_tracker.nested label.r_on.<%= label %> { background: url(<%= asset_path "#{ label }_create.png" %>) no-repeat; }
  6 +#action-bar a.<%= label %>_create { background: transparent url(<%= asset_path "#{ label }_create.png" %>) 6px 5px no-repeat; }
  7 +#action-bar a.<%= label %>_goto { background: transparent url(<%= asset_path "#{ label }_goto.png" %>) 6px 5px no-repeat; }
16 8 <% end %>
17 9  
... ...