Commit 396c338863d4ac192aa7b9ee155a1a074285d6df
1 parent
b0587473
Exists in
master
and in
1 other branch
Update some gems and fix spec with this update
Showing
5 changed files
with
107 additions
and
84 deletions
Show diff stats
Gemfile
1 | -source 'http://rubygems.org' | 1 | +source 'https://rubygems.org' |
2 | 2 | ||
3 | -gem 'rails', '~> 3.2.13' | ||
4 | -gem 'mongoid', '~> 3.1.4' | 3 | +RAILS_VERSION = '~> 3.2.14' |
5 | 4 | ||
6 | -gem 'mongoid_rails_migrations', '~> 1.0.1' | ||
7 | -gem 'devise' | 5 | +gem 'actionmailer', RAILS_VERSION |
6 | +gem 'actionpack', RAILS_VERSION | ||
7 | +gem 'railties', RAILS_VERSION | ||
8 | + | ||
9 | +gem 'mongoid' | ||
10 | + | ||
11 | +gem 'mongoid_rails_migrations' | ||
12 | +gem 'devise', '~> 2.2.1' | ||
8 | gem 'haml' | 13 | gem 'haml' |
9 | gem 'htmlentities' | 14 | gem 'htmlentities' |
10 | gem 'rack-ssl', :require => 'rack/ssl' # force SSL | 15 | gem 'rack-ssl', :require => 'rack/ssl' # force SSL |
@@ -37,7 +42,7 @@ gem 'pivotal-tracker' | @@ -37,7 +42,7 @@ gem 'pivotal-tracker' | ||
37 | # Fogbugz | 42 | # Fogbugz |
38 | gem 'ruby-fogbugz', :require => 'fogbugz' | 43 | gem 'ruby-fogbugz', :require => 'fogbugz' |
39 | # Github Issues | 44 | # Github Issues |
40 | -gem 'octokit' | 45 | +gem 'octokit', '~> 1.18' |
41 | # Gitlab | 46 | # Gitlab |
42 | gem 'gitlab', :git => 'https://github.com/NARKOZ/gitlab.git' | 47 | gem 'gitlab', :git => 'https://github.com/NARKOZ/gitlab.git' |
43 | 48 |
Gemfile.lock
@@ -6,18 +6,18 @@ GIT | @@ -6,18 +6,18 @@ GIT | ||
6 | httparty | 6 | httparty |
7 | 7 | ||
8 | GEM | 8 | GEM |
9 | - remote: http://rubygems.org/ | 9 | + remote: https://rubygems.org/ |
10 | specs: | 10 | specs: |
11 | - actionmailer (3.2.13) | ||
12 | - actionpack (= 3.2.13) | ||
13 | - mail (~> 2.5.3) | 11 | + actionmailer (3.2.14) |
12 | + actionpack (= 3.2.14) | ||
13 | + mail (~> 2.5.4) | ||
14 | actionmailer_inline_css (1.5.3) | 14 | actionmailer_inline_css (1.5.3) |
15 | actionmailer (>= 3.0.0) | 15 | actionmailer (>= 3.0.0) |
16 | nokogiri (>= 1.4.4) | 16 | nokogiri (>= 1.4.4) |
17 | premailer (>= 1.7.1) | 17 | premailer (>= 1.7.1) |
18 | - actionpack (3.2.13) | ||
19 | - activemodel (= 3.2.13) | ||
20 | - activesupport (= 3.2.13) | 18 | + actionpack (3.2.14) |
19 | + activemodel (= 3.2.14) | ||
20 | + activesupport (= 3.2.14) | ||
21 | builder (~> 3.0.0) | 21 | builder (~> 3.0.0) |
22 | erubis (~> 2.7.0) | 22 | erubis (~> 2.7.0) |
23 | journey (~> 1.0.4) | 23 | journey (~> 1.0.4) |
@@ -25,35 +25,35 @@ GEM | @@ -25,35 +25,35 @@ GEM | ||
25 | rack-cache (~> 1.2) | 25 | rack-cache (~> 1.2) |
26 | rack-test (~> 0.6.1) | 26 | rack-test (~> 0.6.1) |
27 | sprockets (~> 2.2.1) | 27 | sprockets (~> 2.2.1) |
28 | - activemodel (3.2.13) | ||
29 | - activesupport (= 3.2.13) | 28 | + activemodel (3.2.14) |
29 | + activesupport (= 3.2.14) | ||
30 | builder (~> 3.0.0) | 30 | builder (~> 3.0.0) |
31 | - activerecord (3.2.13) | ||
32 | - activemodel (= 3.2.13) | ||
33 | - activesupport (= 3.2.13) | 31 | + activerecord (3.2.14) |
32 | + activemodel (= 3.2.14) | ||
33 | + activesupport (= 3.2.14) | ||
34 | arel (~> 3.0.2) | 34 | arel (~> 3.0.2) |
35 | tzinfo (~> 0.3.29) | 35 | tzinfo (~> 0.3.29) |
36 | - activeresource (3.2.13) | ||
37 | - activemodel (= 3.2.13) | ||
38 | - activesupport (= 3.2.13) | ||
39 | - activesupport (3.2.13) | ||
40 | - i18n (= 0.6.1) | 36 | + activeresource (3.2.14) |
37 | + activemodel (= 3.2.14) | ||
38 | + activesupport (= 3.2.14) | ||
39 | + activesupport (3.2.14) | ||
40 | + i18n (~> 0.6, >= 0.6.4) | ||
41 | multi_json (~> 1.0) | 41 | multi_json (~> 1.0) |
42 | addressable (2.3.5) | 42 | addressable (2.3.5) |
43 | - airbrake (3.1.13) | 43 | + airbrake (3.1.14) |
44 | builder | 44 | builder |
45 | json | 45 | json |
46 | arel (3.0.2) | 46 | arel (3.0.2) |
47 | - bcrypt-ruby (3.1.1) | ||
48 | - better_errors (0.9.0) | 47 | + bcrypt-ruby (3.1.2) |
48 | + better_errors (1.0.1) | ||
49 | coderay (>= 1.0.0) | 49 | coderay (>= 1.0.0) |
50 | erubis (>= 2.6.6) | 50 | erubis (>= 2.6.6) |
51 | binding_of_caller (0.7.2) | 51 | binding_of_caller (0.7.2) |
52 | debug_inspector (>= 0.0.1) | 52 | debug_inspector (>= 0.0.1) |
53 | - bitbucket_rest_api (0.1.2) | 53 | + bitbucket_rest_api (0.1.4) |
54 | faraday (~> 0.8.1) | 54 | faraday (~> 0.8.1) |
55 | - faraday_middleware (~> 0.8.1) | ||
56 | - hashie (~> 1.2.0) | 55 | + faraday_middleware (~> 0.9.0) |
56 | + hashie (~> 2.0.5) | ||
57 | multi_json (~> 1.3) | 57 | multi_json (~> 1.3) |
58 | nokogiri (~> 1.5.2) | 58 | nokogiri (~> 1.5.2) |
59 | simple_oauth | 59 | simple_oauth |
@@ -77,44 +77,42 @@ GEM | @@ -77,44 +77,42 @@ GEM | ||
77 | childprocess (0.3.9) | 77 | childprocess (0.3.9) |
78 | ffi (~> 1.0, >= 1.0.11) | 78 | ffi (~> 1.0, >= 1.0.11) |
79 | coderay (1.0.9) | 79 | coderay (1.0.9) |
80 | - colorize (0.5.8) | ||
81 | columnize (0.3.6) | 80 | columnize (0.3.6) |
82 | - coveralls (0.6.7) | ||
83 | - colorize | 81 | + coveralls (0.7.0) |
84 | multi_json (~> 1.3) | 82 | multi_json (~> 1.3) |
85 | rest-client | 83 | rest-client |
86 | simplecov (>= 0.7) | 84 | simplecov (>= 0.7) |
85 | + term-ansicolor | ||
87 | thor | 86 | thor |
88 | crack (0.4.1) | 87 | crack (0.4.1) |
89 | safe_yaml (~> 0.9.0) | 88 | safe_yaml (~> 0.9.0) |
90 | - css_parser (1.3.4) | 89 | + css_parser (1.3.5) |
91 | addressable | 90 | addressable |
92 | database_cleaner (0.9.1) | 91 | database_cleaner (0.9.1) |
93 | debug_inspector (0.0.2) | 92 | debug_inspector (0.0.2) |
94 | - debugger (1.6.1) | 93 | + debugger (1.6.2) |
95 | columnize (>= 0.3.1) | 94 | columnize (>= 0.3.1) |
96 | debugger-linecache (~> 1.2.0) | 95 | debugger-linecache (~> 1.2.0) |
97 | debugger-ruby_core_source (~> 1.2.3) | 96 | debugger-ruby_core_source (~> 1.2.3) |
98 | debugger-linecache (1.2.0) | 97 | debugger-linecache (1.2.0) |
99 | debugger-ruby_core_source (1.2.3) | 98 | debugger-ruby_core_source (1.2.3) |
100 | - decent_exposure (2.2.1) | 99 | + decent_exposure (2.3.0) |
101 | devise (2.2.7) | 100 | devise (2.2.7) |
102 | bcrypt-ruby (~> 3.0) | 101 | bcrypt-ruby (~> 3.0) |
103 | orm_adapter (~> 0.1) | 102 | orm_adapter (~> 0.1) |
104 | railties (~> 3.1) | 103 | railties (~> 3.1) |
105 | warden (~> 1.2.1) | 104 | warden (~> 1.2.1) |
106 | diff-lcs (1.2.4) | 105 | diff-lcs (1.2.4) |
107 | - dotenv (0.8.0) | 106 | + dotenv (0.9.0) |
108 | email_spec (1.5.0) | 107 | email_spec (1.5.0) |
109 | launchy (~> 2.1) | 108 | launchy (~> 2.1) |
110 | mail (~> 2.2) | 109 | mail (~> 2.2) |
111 | erubis (2.7.0) | 110 | erubis (2.7.0) |
112 | - execjs (1.4.0) | ||
113 | - multi_json (~> 1.0) | 111 | + execjs (2.0.1) |
114 | fabrication (1.3.2) | 112 | fabrication (1.3.2) |
115 | faraday (0.8.8) | 113 | faraday (0.8.8) |
116 | multipart-post (~> 1.2.0) | 114 | multipart-post (~> 1.2.0) |
117 | - faraday_middleware (0.8.8) | 115 | + faraday_middleware (0.9.0) |
118 | faraday (>= 0.7.4, < 0.9) | 116 | faraday (>= 0.7.4, < 0.9) |
119 | ffi (1.9.0) | 117 | ffi (1.9.0) |
120 | flowdock (0.3.1) | 118 | flowdock (0.3.1) |
@@ -127,10 +125,10 @@ GEM | @@ -127,10 +125,10 @@ GEM | ||
127 | tilt | 125 | tilt |
128 | happymapper (0.4.0) | 126 | happymapper (0.4.0) |
129 | libxml-ruby (~> 2.0) | 127 | libxml-ruby (~> 2.0) |
130 | - hashie (1.2.0) | 128 | + hashie (2.0.5) |
131 | highline (1.6.19) | 129 | highline (1.6.19) |
132 | hike (1.2.3) | 130 | hike (1.2.3) |
133 | - hipchat (0.11.0) | 131 | + hipchat (0.12.0) |
134 | httparty | 132 | httparty |
135 | hoi (0.0.6) | 133 | hoi (0.0.6) |
136 | httparty (> 0.6.0) | 134 | httparty (> 0.6.0) |
@@ -143,7 +141,7 @@ GEM | @@ -143,7 +141,7 @@ GEM | ||
143 | multi_json (~> 1.0) | 141 | multi_json (~> 1.0) |
144 | multi_xml (>= 0.5.2) | 142 | multi_xml (>= 0.5.2) |
145 | httpauth (0.2.0) | 143 | httpauth (0.2.0) |
146 | - i18n (0.6.1) | 144 | + i18n (0.6.5) |
147 | jira-ruby (0.1.2) | 145 | jira-ruby (0.1.2) |
148 | activesupport | 146 | activesupport |
149 | oauth | 147 | oauth |
@@ -158,7 +156,7 @@ GEM | @@ -158,7 +156,7 @@ GEM | ||
158 | kaminari (0.14.1) | 156 | kaminari (0.14.1) |
159 | actionpack (>= 3.0.0) | 157 | actionpack (>= 3.0.0) |
160 | activesupport (>= 3.0.0) | 158 | activesupport (>= 3.0.0) |
161 | - kgio (2.8.0) | 159 | + kgio (2.8.1) |
162 | launchy (2.3.0) | 160 | launchy (2.3.0) |
163 | addressable (~> 2.3) | 161 | addressable (~> 2.3) |
164 | libv8 (3.16.14.3) | 162 | libv8 (3.16.14.3) |
@@ -176,12 +174,12 @@ GEM | @@ -176,12 +174,12 @@ GEM | ||
176 | rack-contrib | 174 | rack-contrib |
177 | railties | 175 | railties |
178 | method_source (0.8.2) | 176 | method_source (0.8.2) |
179 | - mime-types (1.24) | ||
180 | - mongoid (3.1.4) | 177 | + mime-types (1.25) |
178 | + mongoid (3.1.5) | ||
181 | activemodel (~> 3.2) | 179 | activemodel (~> 3.2) |
182 | moped (~> 1.4) | 180 | moped (~> 1.4) |
183 | origin (~> 1.0) | 181 | origin (~> 1.0) |
184 | - tzinfo (~> 0.3.22) | 182 | + tzinfo (~> 0.3.29) |
185 | mongoid-rspec (1.9.0) | 183 | mongoid-rspec (1.9.0) |
186 | mongoid (>= 3.0.1) | 184 | mongoid (>= 3.0.1) |
187 | rake | 185 | rake |
@@ -192,16 +190,17 @@ GEM | @@ -192,16 +190,17 @@ GEM | ||
192 | rails (>= 3.2.0) | 190 | rails (>= 3.2.0) |
193 | railties (>= 3.2.0) | 191 | railties (>= 3.2.0) |
194 | moped (1.5.1) | 192 | moped (1.5.1) |
195 | - multi_json (1.7.9) | 193 | + multi_json (1.8.0) |
196 | multi_xml (0.5.5) | 194 | multi_xml (0.5.5) |
197 | multipart-post (1.2.0) | 195 | multipart-post (1.2.0) |
198 | net-scp (1.1.2) | 196 | net-scp (1.1.2) |
199 | net-ssh (>= 2.6.5) | 197 | net-ssh (>= 2.6.5) |
200 | net-sftp (2.1.2) | 198 | net-sftp (2.1.2) |
201 | net-ssh (>= 2.6.5) | 199 | net-ssh (>= 2.6.5) |
202 | - net-ssh (2.6.8) | 200 | + net-ssh (2.7.0) |
203 | net-ssh-gateway (1.2.0) | 201 | net-ssh-gateway (1.2.0) |
204 | net-ssh (>= 2.6.5) | 202 | net-ssh (>= 2.6.5) |
203 | + netrc (0.7.7) | ||
205 | nokogiri (1.5.10) | 204 | nokogiri (1.5.10) |
206 | nokogiri-happymapper (0.5.7) | 205 | nokogiri-happymapper (0.5.7) |
207 | nokogiri (~> 1.5) | 206 | nokogiri (~> 1.5) |
@@ -212,12 +211,13 @@ GEM | @@ -212,12 +211,13 @@ GEM | ||
212 | jwt (~> 0.1.4) | 211 | jwt (~> 0.1.4) |
213 | multi_json (~> 1.0) | 212 | multi_json (~> 1.0) |
214 | rack (~> 1.2) | 213 | rack (~> 1.2) |
215 | - octokit (1.18.0) | 214 | + octokit (1.25.0) |
216 | addressable (~> 2.2) | 215 | addressable (~> 2.2) |
217 | faraday (~> 0.8) | 216 | faraday (~> 0.8) |
218 | - faraday_middleware (~> 0.8) | ||
219 | - hashie (~> 1.2) | 217 | + faraday_middleware (~> 0.9) |
218 | + hashie (~> 2.0) | ||
220 | multi_json (~> 1.3) | 219 | multi_json (~> 1.3) |
220 | + netrc (~> 0.7.7) | ||
221 | omniauth (1.1.4) | 221 | omniauth (1.1.4) |
222 | hashie (>= 1.2, < 3) | 222 | hashie (>= 1.2, < 3) |
223 | rack | 223 | rack |
@@ -231,7 +231,8 @@ GEM | @@ -231,7 +231,8 @@ GEM | ||
231 | orm_adapter (0.4.0) | 231 | orm_adapter (0.4.0) |
232 | oruen_redmine_client (0.0.1) | 232 | oruen_redmine_client (0.0.1) |
233 | activeresource (>= 2.3.0) | 233 | activeresource (>= 2.3.0) |
234 | - pivotal-tracker (0.5.10) | 234 | + pivotal-tracker (0.5.12) |
235 | + builder | ||
235 | builder | 236 | builder |
236 | crack | 237 | crack |
237 | happymapper (>= 0.3.2) | 238 | happymapper (>= 0.3.2) |
@@ -239,6 +240,7 @@ GEM | @@ -239,6 +240,7 @@ GEM | ||
239 | nokogiri (>= 1.5.5) | 240 | nokogiri (>= 1.5.5) |
240 | nokogiri-happymapper (>= 0.5.4) | 241 | nokogiri-happymapper (>= 0.5.4) |
241 | rest-client (~> 1.6.0) | 242 | rest-client (~> 1.6.0) |
243 | + rest-client (~> 1.6.0) | ||
242 | pjax_rails (0.3.4) | 244 | pjax_rails (0.3.4) |
243 | jquery-rails | 245 | jquery-rails |
244 | polyglot (0.3.3) | 246 | polyglot (0.3.3) |
@@ -262,27 +264,27 @@ GEM | @@ -262,27 +264,27 @@ GEM | ||
262 | rack (>= 0.9.1) | 264 | rack (>= 0.9.1) |
263 | rack-ssl (1.3.3) | 265 | rack-ssl (1.3.3) |
264 | rack | 266 | rack |
265 | - rack-ssl-enforcer (0.2.5) | 267 | + rack-ssl-enforcer (0.2.6) |
266 | rack-test (0.6.2) | 268 | rack-test (0.6.2) |
267 | rack (>= 1.0) | 269 | rack (>= 1.0) |
268 | - rails (3.2.13) | ||
269 | - actionmailer (= 3.2.13) | ||
270 | - actionpack (= 3.2.13) | ||
271 | - activerecord (= 3.2.13) | ||
272 | - activeresource (= 3.2.13) | ||
273 | - activesupport (= 3.2.13) | 270 | + rails (3.2.14) |
271 | + actionmailer (= 3.2.14) | ||
272 | + actionpack (= 3.2.14) | ||
273 | + activerecord (= 3.2.14) | ||
274 | + activeresource (= 3.2.14) | ||
275 | + activesupport (= 3.2.14) | ||
274 | bundler (~> 1.0) | 276 | bundler (~> 1.0) |
275 | - railties (= 3.2.13) | ||
276 | - rails_autolink (1.1.0) | 277 | + railties (= 3.2.14) |
278 | + rails_autolink (1.1.4) | ||
277 | rails (> 3.1) | 279 | rails (> 3.1) |
278 | - railties (3.2.13) | ||
279 | - actionpack (= 3.2.13) | ||
280 | - activesupport (= 3.2.13) | 280 | + railties (3.2.14) |
281 | + actionpack (= 3.2.14) | ||
282 | + activesupport (= 3.2.14) | ||
281 | rack-ssl (~> 1.3.2) | 283 | rack-ssl (~> 1.3.2) |
282 | rake (>= 0.8.7) | 284 | rake (>= 0.8.7) |
283 | rdoc (~> 3.4) | 285 | rdoc (~> 3.4) |
284 | thor (>= 0.14.6, < 2.0) | 286 | thor (>= 0.14.6, < 2.0) |
285 | - raindrops (0.11.0) | 287 | + raindrops (0.12.0) |
286 | rake (10.1.0) | 288 | rake (10.1.0) |
287 | rbx-require-relative (0.0.9) | 289 | rbx-require-relative (0.0.9) |
288 | rdoc (3.12.2) | 290 | rdoc (3.12.2) |
@@ -296,7 +298,7 @@ GEM | @@ -296,7 +298,7 @@ GEM | ||
296 | rspec-expectations (~> 2.14.0) | 298 | rspec-expectations (~> 2.14.0) |
297 | rspec-mocks (~> 2.14.0) | 299 | rspec-mocks (~> 2.14.0) |
298 | rspec-core (2.14.5) | 300 | rspec-core (2.14.5) |
299 | - rspec-expectations (2.14.2) | 301 | + rspec-expectations (2.14.3) |
300 | diff-lcs (>= 1.1.3, < 2.0) | 302 | diff-lcs (>= 1.1.3, < 2.0) |
301 | rspec-mocks (2.14.3) | 303 | rspec-mocks (2.14.3) |
302 | rspec-rails (2.14.0) | 304 | rspec-rails (2.14.0) |
@@ -317,11 +319,11 @@ GEM | @@ -317,11 +319,11 @@ GEM | ||
317 | rushover (0.3.0) | 319 | rushover (0.3.0) |
318 | json | 320 | json |
319 | rest-client | 321 | rest-client |
320 | - safe_yaml (0.9.5) | ||
321 | - selenium-webdriver (2.35.0) | 322 | + safe_yaml (0.9.7) |
323 | + selenium-webdriver (2.35.1) | ||
322 | childprocess (>= 0.2.5) | 324 | childprocess (>= 0.2.5) |
323 | multi_json (~> 1.0) | 325 | multi_json (~> 1.0) |
324 | - rubyzip | 326 | + rubyzip (< 1.0.0) |
325 | websocket (~> 1.0.4) | 327 | websocket (~> 1.0.4) |
326 | simple_oauth (0.2.0) | 328 | simple_oauth (0.2.0) |
327 | simplecov (0.7.1) | 329 | simplecov (0.7.1) |
@@ -338,27 +340,30 @@ GEM | @@ -338,27 +340,30 @@ GEM | ||
338 | actionpack (~> 3.0) | 340 | actionpack (~> 3.0) |
339 | activemodel (~> 3.0) | 341 | activemodel (~> 3.0) |
340 | railties (~> 3.0) | 342 | railties (~> 3.0) |
341 | - taskmapper (0.8.0) | 343 | + taskmapper (0.8.1) |
342 | activeresource (~> 3.0) | 344 | activeresource (~> 3.0) |
343 | activesupport (~> 3.0) | 345 | activesupport (~> 3.0) |
344 | - hashie (~> 1.2) | 346 | + hashie (~> 2.0) |
345 | taskmapper-unfuddle (0.7.0) | 347 | taskmapper-unfuddle (0.7.0) |
346 | addressable (~> 2.2) | 348 | addressable (~> 2.2) |
347 | taskmapper (~> 0.8) | 349 | taskmapper (~> 0.8) |
350 | + term-ansicolor (1.2.2) | ||
351 | + tins (~> 0.8) | ||
348 | therubyracer (0.12.0) | 352 | therubyracer (0.12.0) |
349 | libv8 (~> 3.16.14.0) | 353 | libv8 (~> 3.16.14.0) |
350 | ref | 354 | ref |
351 | thor (0.18.1) | 355 | thor (0.18.1) |
352 | tilt (1.4.1) | 356 | tilt (1.4.1) |
353 | timecop (0.6.1) | 357 | timecop (0.6.1) |
358 | + tins (0.10.0) | ||
354 | treetop (1.4.15) | 359 | treetop (1.4.15) |
355 | polyglot | 360 | polyglot |
356 | polyglot (>= 0.3.1) | 361 | polyglot (>= 0.3.1) |
357 | - turbo-sprockets-rails3 (0.3.9) | 362 | + turbo-sprockets-rails3 (0.3.10) |
358 | railties (> 3.2.8, < 4.0.0) | 363 | railties (> 3.2.8, < 4.0.0) |
359 | sprockets (>= 2.0.0) | 364 | sprockets (>= 2.0.0) |
360 | tzinfo (0.3.37) | 365 | tzinfo (0.3.37) |
361 | - uglifier (2.1.2) | 366 | + uglifier (2.2.1) |
362 | execjs (>= 0.3.0) | 367 | execjs (>= 0.3.0) |
363 | multi_json (~> 1.0, >= 1.0.2) | 368 | multi_json (~> 1.0, >= 1.0.2) |
364 | underscore-rails (1.5.1) | 369 | underscore-rails (1.5.1) |
@@ -366,7 +371,7 @@ GEM | @@ -366,7 +371,7 @@ GEM | ||
366 | kgio (~> 2.6) | 371 | kgio (~> 2.6) |
367 | rack | 372 | rack |
368 | raindrops (~> 0.7) | 373 | raindrops (~> 0.7) |
369 | - useragent (0.6.0) | 374 | + useragent (0.7.0) |
370 | warden (1.2.3) | 375 | warden (1.2.3) |
371 | rack (>= 1.0) | 376 | rack (>= 1.0) |
372 | webmock (1.13.0) | 377 | webmock (1.13.0) |
@@ -382,7 +387,9 @@ PLATFORMS | @@ -382,7 +387,9 @@ PLATFORMS | ||
382 | ruby | 387 | ruby |
383 | 388 | ||
384 | DEPENDENCIES | 389 | DEPENDENCIES |
390 | + actionmailer (~> 3.2.14) | ||
385 | actionmailer_inline_css | 391 | actionmailer_inline_css |
392 | + actionpack (~> 3.2.14) | ||
386 | airbrake | 393 | airbrake |
387 | better_errors | 394 | better_errors |
388 | binding_of_caller | 395 | binding_of_caller |
@@ -394,7 +401,7 @@ DEPENDENCIES | @@ -394,7 +401,7 @@ DEPENDENCIES | ||
394 | database_cleaner (~> 0.9.0) | 401 | database_cleaner (~> 0.9.0) |
395 | debugger | 402 | debugger |
396 | decent_exposure | 403 | decent_exposure |
397 | - devise | 404 | + devise (~> 2.2.1) |
398 | email_spec | 405 | email_spec |
399 | execjs | 406 | execjs |
400 | fabrication (~> 1.3.0) | 407 | fabrication (~> 1.3.0) |
@@ -413,10 +420,10 @@ DEPENDENCIES | @@ -413,10 +420,10 @@ DEPENDENCIES | ||
413 | launchy | 420 | launchy |
414 | lighthouse-api | 421 | lighthouse-api |
415 | meta_request | 422 | meta_request |
416 | - mongoid (~> 3.1.4) | 423 | + mongoid |
417 | mongoid-rspec | 424 | mongoid-rspec |
418 | - mongoid_rails_migrations (~> 1.0.1) | ||
419 | - octokit | 425 | + mongoid_rails_migrations |
426 | + octokit (~> 1.18) | ||
420 | omniauth-github | 427 | omniauth-github |
421 | oruen_redmine_client | 428 | oruen_redmine_client |
422 | pivotal-tracker | 429 | pivotal-tracker |
@@ -426,8 +433,8 @@ DEPENDENCIES | @@ -426,8 +433,8 @@ DEPENDENCIES | ||
426 | quiet_assets | 433 | quiet_assets |
427 | rack-ssl | 434 | rack-ssl |
428 | rack-ssl-enforcer | 435 | rack-ssl-enforcer |
429 | - rails (~> 3.2.13) | ||
430 | rails_autolink | 436 | rails_autolink |
437 | + railties (~> 3.2.14) | ||
431 | ri_cal | 438 | ri_cal |
432 | rspec-rails (~> 2.6) | 439 | rspec-rails (~> 2.6) |
433 | ruby-debug | 440 | ruby-debug |
app/models/issue_trackers/github_issues_tracker.rb
@@ -35,7 +35,11 @@ if defined? Octokit | @@ -35,7 +35,11 @@ if defined? Octokit | ||
35 | end | 35 | end |
36 | 36 | ||
37 | begin | 37 | begin |
38 | - issue = client.create_issue(project_id, issue_title(problem), body_template.result(binding).unpack('C*').pack('U*')) | 38 | + issue = client.create_issue( |
39 | + project_id, | ||
40 | + issue_title(problem), | ||
41 | + body_template.result(binding).unpack('C*').pack('U*') | ||
42 | + ) | ||
39 | problem.update_attributes( | 43 | problem.update_attributes( |
40 | :issue_link => issue.html_url, | 44 | :issue_link => issue.html_url, |
41 | :issue_type => Label | 45 | :issue_type => Label |
spec/models/error_report_spec.rb
@@ -2,6 +2,7 @@ require 'spec_helper' | @@ -2,6 +2,7 @@ require 'spec_helper' | ||
2 | require 'airbrake/version' | 2 | require 'airbrake/version' |
3 | require 'airbrake/backtrace' | 3 | require 'airbrake/backtrace' |
4 | require 'airbrake/notice' | 4 | require 'airbrake/notice' |
5 | +require 'airbrake/utils/params_cleaner' | ||
5 | 6 | ||
6 | # MonkeyPatch to instanciate a Airbrake::Notice without configure | 7 | # MonkeyPatch to instanciate a Airbrake::Notice without configure |
7 | # Airbrake | 8 | # Airbrake |
@@ -141,9 +142,9 @@ describe ErrorReport do | @@ -141,9 +142,9 @@ describe ErrorReport do | ||
141 | 142 | ||
142 | it 'find the correct err for the notice' do | 143 | it 'find the correct err for the notice' do |
143 | err = Fabricate(:err, :problem => Fabricate(:problem, :resolved => true)) | 144 | err = Fabricate(:err, :problem => Fabricate(:problem, :resolved => true)) |
144 | - | 145 | + |
145 | ErrorReport.any_instance.stub(:fingerprint).and_return(err.fingerprint) | 146 | ErrorReport.any_instance.stub(:fingerprint).and_return(err.fingerprint) |
146 | - | 147 | + |
147 | expect { | 148 | expect { |
148 | error_report.generate_notice! | 149 | error_report.generate_notice! |
149 | }.to change { | 150 | }.to change { |
spec/models/issue_trackers/github_issues_tracker_spec.rb
@@ -25,8 +25,14 @@ describe IssueTrackers::GithubIssuesTracker do | @@ -25,8 +25,14 @@ describe IssueTrackers::GithubIssuesTracker do | ||
25 | } | 25 | } |
26 | EOF | 26 | EOF |
27 | 27 | ||
28 | - stub_request(:post, "https://#{tracker.username}:#{tracker.password}@api.github.com/repos/#{repo}/issues"). | ||
29 | - to_return(:status => 201, :headers => {'Location' => @issue_link}, :body => body ) | 28 | + stub_request(:post, |
29 | + "https://#{tracker.username}:#{tracker.password}@api.github.com/repos/#{repo}/issues"). | ||
30 | + to_return(:status => 201, | ||
31 | + :headers => { | ||
32 | + 'Location' => @issue_link, | ||
33 | + 'Content-Type' => 'application/json', | ||
34 | + }, | ||
35 | + :body => body ) | ||
30 | 36 | ||
31 | problem.app.issue_tracker.create_issue(problem) | 37 | problem.app.issue_tracker.create_issue(problem) |
32 | problem.reload | 38 | problem.reload |