Skip to content

Commit

Permalink
Merge 700ddfe into 0f684c9
Browse files Browse the repository at this point in the history
  • Loading branch information
matthutchinson committed Apr 7, 2015
2 parents 0f684c9 + 700ddfe commit a0a1824
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .rubocop_todo.yml
Expand Up @@ -41,6 +41,9 @@ Metrics/AbcSize:
Metrics/ClassLength:
Max: 184

Performance/Sample:
Enabled: false

# Offense count: 6
Metrics/CyclomaticComplexity:
Max: 10
Expand Down Expand Up @@ -155,7 +158,7 @@ Style/RedundantSelf:

# Offense count: 1
Style/RegexpLiteral:
MaxSlashes: 2
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -7,7 +7,7 @@ rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.0
- 2.2.1
- ruby-head

before_install:
Expand Down
4 changes: 2 additions & 2 deletions bin/lolcommits
Expand Up @@ -73,9 +73,9 @@ end
# IF --CAPTURE, DO CAPTURE
#
def do_capture
capture_delay = Choice.choices[:delay] || ENV['LOLCOMMITS_DELAY'] || 0
capture_delay = Choice.choices[:delay] || ENV['LOLCOMMITS_DELAY'] || 0
capture_stealth = Choice.choices[:stealth] || ENV['LOLCOMMITS_STEALTH'] || nil
capture_font = Choice.choices[:font] || ENV['LOLCOMMITS_FONT'] || nil
capture_font = Choice.choices[:font] || ENV['LOLCOMMITS_FONT'] || nil
capture_device = default_device

capture_options = {
Expand Down
3 changes: 1 addition & 2 deletions lib/lolcommits/plugins/dot_com.rb
Expand Up @@ -26,8 +26,7 @@ def run_postcapture
:key => configuration['api_key'],
:t => t,
:token => Digest::SHA1.hexdigest(configuration['api_secret'] + t)
}
)
})
rescue => e
log_error(e, "ERROR: HTTMultiParty POST FAILED #{e.class} - #{e.message}")
end
Expand Down
3 changes: 2 additions & 1 deletion lolcommits.gemspec
Expand Up @@ -32,9 +32,10 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('mini_magick', '~> 3.8.1') # ~> 4+ fails with JRuby
s.add_runtime_dependency('mime-types', '~> 1.25') # ~> 2+ requires Ruby >= 1.9.2
s.add_runtime_dependency('httparty', '~> 0.11.0') # ~> 0.13+ requires Ruby >= 1.9.3
s.add_runtime_dependency('git', '=1.2.8')
s.add_development_dependency('cucumber', '=1.3.19') # ~> 2+ requries Ruby >= 1.9.3

# core
s.add_runtime_dependency('git', '~> 1.2.8')
s.add_runtime_dependency('choice', '~> 0.1.6')
s.add_runtime_dependency('launchy', '~> 2.4.3')
s.add_runtime_dependency('methadone', '~> 1.8.0')
Expand Down

0 comments on commit a0a1824

Please sign in to comment.