lolcommits 0.4.0.pre1 → 0.4.0.pre2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -6,6 +6,7 @@
6
6
  - some preliminary test work on using image_sorcery instead too
7
7
  - perhaps finally kill issue #9 from continually resurfacing
8
8
  * make sure quotes are properly handled in commit messages
9
+ * silence warnings generated by twitter gem in MRI 1.8.7
9
10
 
10
11
  0.3.4 (27 December 2012)
11
12
  * Add uploldz plugin for posting to a remote server (thx @cnvandev)
@@ -22,3 +22,18 @@ Feature: Bug regression testing
22
22
  When I successfully run `git rebase -i HEAD~5`
23
23
  # Then there should be 4 commit entries in the git log
24
24
  Then there should be exactly 6 jpgs in "../.lolcommits/yuh8history"
25
+
26
+ #
27
+ # issue #80, https://github.com/mroth/lolcommits/issues/80
28
+ #
29
+ Scenario: don't warn about system_timer (on MRI 1.8.7)
30
+ When I successfully run `lolcommits`
31
+ Then the output should not contain "Faraday: you may want to install system_timer for reliable timeouts"
32
+
33
+ #
34
+ # issue #81, https://github.com/mroth/lolcommits/issues/81
35
+ #
36
+ Scenario: don't want to see initialized constant warning from Faraday on CLI (on MRI 1.8.7)
37
+ When I successfully run `lolcommits`
38
+ Then the output should not contain "warning: already initialized constant DEFAULT_BOUNDARY"
39
+
@@ -1,7 +1,11 @@
1
1
  require 'yaml'
2
- require 'twitter'
3
2
  require 'oauth'
4
3
 
4
+ # twitter gem currently spams stdout when activated, surpress warnings just during the inital require
5
+ original_verbose, $VERBOSE = $VERBOSE, nil # Supress warning messages.
6
+ require 'twitter'
7
+ $VERBOSE = original_verbose # Activate warning messages again.
8
+
5
9
  TWITTER_CONSUMER_KEY = 'qc096dJJCxIiqDNUqEsqQ'
6
10
  TWITTER_CONSUMER_SECRET = 'rvjNdtwSr1H0TvBvjpk6c4bvrNydHmmbvv7gXZQI'
7
11
 
@@ -1,3 +1,3 @@
1
1
  module Lolcommits
2
- VERSION = "0.4.0.pre1"
2
+ VERSION = "0.4.0.pre2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.pre1
4
+ version: 0.4.0.pre2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-01 00:00:00.000000000 Z
12
+ date: 2013-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mini_magick
@@ -335,7 +335,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
335
335
  version: '0'
336
336
  segments:
337
337
  - 0
338
- hash: 3995732561961219726
338
+ hash: 4160934492553499753
339
339
  required_rubygems_version: !ruby/object:Gem::Requirement
340
340
  none: false
341
341
  requirements: