lolcommits 0.5.8.pre1 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2MyN2VjMGMzZDE5NjFlODNjOTQ1OWI4YmE4NjNiMWVlOGU3ZTBjYw==
4
+ YWM2Mjk1ZjlmYWQ4YmI1MTE0YzYxZDk0MjVkOGE1MmI3NDk2ZDBlMg==
5
5
  data.tar.gz: !binary |-
6
- ZjY5ZWYwYjVlZTY0OGU3OWVjMDBmYjNiOTc1Y2U0MjkxN2U0YzExNw==
6
+ NjE0YzAxODgxNTRmOTNhNjUzNzgxNGI5MjNiZmJhZjFmNzc4MTAxNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGZjN2RhNGRhM2RkMDQ4ZWE1YTM0ZDY5ZmRiNzQxYzgzMjk3ZTJlZmJkNTdi
10
- ZWFlOTM0NmE5OGFhM2QwZTE3Y2E0ZTVlMDU3YjkwMDc3NmVkNmQ4NGI5NThk
11
- ODg4NjYwNTQyYWI0NmIzYmY4ZGIyOGFiNDJiMWE4YWI5NGM1MDg=
9
+ ZDY3NmUwYzI2YmIwMDE4ZDRlYzlkYmJiYWQ0Y2E3OTIwN2Y0MjNlY2MxZTYy
10
+ ZDg2ZTdmZWFjOTE4NTUwZjg2ZDYwNDdkYjhkMzY4ZTY5ZGExOTE1Yzk5YmUw
11
+ MTI0ODMxNjNiMzE3MjNkYjU2OTE5NWIwZDFlNzUxMDgzOWQ4ZDc=
12
12
  data.tar.gz: !binary |-
13
- NmU3NjU0YWIwYzAzNDRjYjQzYzAxZmM1ZmQ2ODBlOTMwN2Q1M2MxNDZhMGUx
14
- MzhkYTZlNjE5MjZhNWM5ZjQ3NGFjMzYxZGMwOTljZjI4OGI0NGE5YWM2OWQ1
15
- ZGJlYjlkNDU0MjhmNmE1NDliODA3ODM1OWQzMTQ5YWJkZTdlZTE=
13
+ YjRjYWJlMTY3ZGNmNTc4Y2EyM2QwODk4ZjNkYWVkZDUxMmM3Yjc1MGU0YTFk
14
+ ODYyY2ZlNzQwNDkzMDcwZWYxZGRjZGUxNzRmYWU0MzI5NjFmMTE2MDY1Zjky
15
+ MDZhNWFlYWY2ZWVjNzU4Y2NlZTA2ZmFjMDRmMzZjZTExZDU0OGU=
@@ -7,7 +7,7 @@ rvm:
7
7
  - 1.9.3
8
8
  - 2.0.0
9
9
  - 2.1.5
10
- - 2.2.1
10
+ - 2.2.2
11
11
  - ruby-head
12
12
 
13
13
  before_install:
data/CHANGELOG CHANGED
@@ -1,6 +1,17 @@
1
1
  0.6.0 (WIP)
2
2
  * extract plugins to seperate gems ...
3
3
 
4
+ 0.5.8 (22 April 2015)
5
+ * Fix Windows MiniMagick issue (@matthutchinson #276)
6
+ * Rubocop code clean ups (@nysthee #272)
7
+ * Fix gem issues on earlier Ruby versions (#270)
8
+ * CLI refactoring/cleanups (@mroth #254 #258 #266 #267 #266)
9
+ * Exit with -1 for bad CLI args (@williamboman #263)
10
+ * Move unit tests to MiniTest (@mroth #256)
11
+ * Add branch name to git info (@salzig #252)
12
+ * lol_protonet plugin added (@salzig #251)
13
+ * Allow local plugins in $LOLCOMMITS_DIR/.plugins (@salzig #250)
14
+
4
15
  0.5.7 (28 December 2014)
5
16
  * Uploldz plugin sends more post params (@clops #224 @matthutchinson #241)
6
17
  * More configurable twitter plugin (@woodrowbarlow #207 @matthutchinson)
@@ -0,0 +1,15 @@
1
+ # -*- encoding : utf-8 -*-
2
+ # To maintain MiniMagick compatibility on Windows for v3.8.1 we need this patch
3
+ # If/when we upgrade MiniMagick to 4.2+ this patch can be removed
4
+ # We are locked at v3.8.1 since MiniMagick 4+ dropped support for Ruby 1.8.7
5
+ module MiniMagick
6
+ module Utilities
7
+ class << self
8
+ # fixes issue introduced in this commit
9
+ # https://github.com/minimagick/minimagick/commit/65b6427395cbfe6
10
+ def windows_escape(cmdline)
11
+ '"' + cmdline.gsub(/\\(?=\\*\")/, '\\\\\\').gsub(/\"/, '\\"').gsub(/\\$/, '\\\\\\').gsub('%', '%%') + '"'
12
+ end
13
+ end
14
+ end
15
+ end
@@ -3,6 +3,7 @@ $LOAD_PATH.unshift File.expand_path('.')
3
3
 
4
4
  require 'core_ext/class'
5
5
  require 'mini_magick'
6
+ require 'core_ext/mini_magick/utilities'
6
7
  require 'fileutils'
7
8
  require 'git'
8
9
  require 'open3'
@@ -32,7 +32,7 @@ module Lolcommits
32
32
  # Are we on a Windows platform?
33
33
  # @return Boolean
34
34
  def self.platform_windows?
35
- !RUBY_PLATFORM.match(/(win|w)32/)
35
+ !RUBY_PLATFORM.match(/(win|w)32/).nil?
36
36
  end
37
37
 
38
38
  # Are we on a Cygwin platform?
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Lolcommits
3
- VERSION = '0.5.8.pre1'
3
+ VERSION = '0.5.8'
4
4
  end
@@ -59,6 +59,6 @@ Gem::Specification.new do |s|
59
59
 
60
60
  if RUBY_VERSION >= '1.9.3'
61
61
  s.add_development_dependency('travis', '~> 1.7.4')
62
- s.add_development_dependency('rubocop', '~> 0.28')
62
+ s.add_development_dependency('rubocop', '~> 0.30')
63
63
  end
64
64
  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.5.8.pre1
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Rothenberg
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-18 00:00:00.000000000 Z
12
+ date: 2015-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -339,14 +339,14 @@ dependencies:
339
339
  requirements:
340
340
  - - ~>
341
341
  - !ruby/object:Gem::Version
342
- version: '0.28'
342
+ version: '0.30'
343
343
  type: :development
344
344
  prerelease: false
345
345
  version_requirements: !ruby/object:Gem::Requirement
346
346
  requirements:
347
347
  - - ~>
348
348
  - !ruby/object:Gem::Version
349
- version: '0.28'
349
+ version: '0.30'
350
350
  description: ! " lolcommits takes a snapshot with your webcam every time you git
351
351
  commit code,\n and archives a lolcat style image with it. It's selfies for software\n
352
352
  \ developers. `git blame` has never been so much fun.\n"
@@ -380,6 +380,7 @@ files:
380
380
  - features/support/env.rb
381
381
  - features/support/path_helpers.rb
382
382
  - lib/core_ext/class.rb
383
+ - lib/core_ext/mini_magick/utilities.rb
383
384
  - lib/lolcommits.rb
384
385
  - lib/lolcommits/capturer.rb
385
386
  - lib/lolcommits/capturer/capture_cygwin.rb
@@ -434,9 +435,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
434
435
  version: 1.8.7
435
436
  required_rubygems_version: !ruby/object:Gem::Requirement
436
437
  requirements:
437
- - - ! '>'
438
+ - - ! '>='
438
439
  - !ruby/object:Gem::Version
439
- version: 1.3.1
440
+ version: '0'
440
441
  requirements:
441
442
  - imagemagick
442
443
  - a webcam