lolcommits 0.15.1 → 0.16.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e82514359cfc87aedfb9c139d4f2dcb380b2d5fd86081e012b2fe3feb27a04a7
4
- data.tar.gz: d3f10669c8723cba11309df12c0ce1aeafd8dfb8ef80f98abe975ad4ad4d4531
3
+ metadata.gz: 3aee5c9acd38b4fc8411a1034b29a4f1ecb01bd65c535c2b4bc15a444aeab556
4
+ data.tar.gz: 70075899b1082ada11b611d305f1cb8c3189771da6ecb2d7473af2dbd3ee1957
5
5
  SHA512:
6
- metadata.gz: c90be17ef828f988227cb40bbf5cba1f3660216fd850ba0b08a9d48ac67b1f8d659b9eb3ba3f238b37b6143e3a30782421698b2765684de8678e51156e30d593
7
- data.tar.gz: e663c70ac161697c01bb02673415cc9883d2c3165811821d56e888147d72b67708cbdb1abdbbb2a4918781c580b3a5493042ab2e9dcd85a7b5a6a4a4acebdea0
6
+ metadata.gz: 4970f51d776c4030db2b99df32c9c297ed7114d6119dcfafdf0a9fbc4a21bfd99e04eeedd286e3d0d79865144edb4fff118fae900832779bd8cd964582de03dd
7
+ data.tar.gz: 23a41d49edca869fef05911080d1c586f17af6ded3ea2a727953685e9adc05f21a93d763a1aa47130d37cd9d5ff8e36145e8d60ce4beb805ffdd761f53f0e1bd
@@ -146,8 +146,8 @@ Given(/^a loldir named "(.*?)" with (\d+) lolimages$/) do |repo, num_images|
146
146
  loldir = expand_path("~/.lolcommits/#{repo}")
147
147
  FileUtils.mkdir_p loldir
148
148
  num_images.to_i.times do
149
- hex = format('%011x', (rand * 0xfffffffffff)).to_s
150
- FileUtils.cp 'test/assets/test_image.jpg', File.join(loldir, "#{hex}.jpg")
149
+ sha = format('%<hex>x', hex: (rand * 0xfffffffffff))
150
+ FileUtils.cp 'test/assets/test_image.jpg', File.join(loldir, "#{sha}.jpg")
151
151
  end
152
152
  end
153
153
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lolcommits
4
- VERSION = '0.15.1'
4
+ VERSION = '0.16.0.pre1'
5
5
  GEM_NAME = 'lolcommits'
6
6
  end
Binary file
Binary file
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.15.1
4
+ version: 0.16.0.pre1
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: 2019-06-06 00:00:00.000000000 Z
12
+ date: 2019-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: methadone
@@ -323,15 +323,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
323
323
  version: '2.3'
324
324
  required_rubygems_version: !ruby/object:Gem::Requirement
325
325
  requirements:
326
- - - ">="
326
+ - - ">"
327
327
  - !ruby/object:Gem::Version
328
- version: '0'
328
+ version: 1.3.1
329
329
  requirements:
330
330
  - imagemagick
331
331
  - a webcam
332
- rubyforge_project:
333
- rubygems_version: 2.7.7
332
+ rubygems_version: 3.0.3
334
333
  signing_key:
335
334
  specification_version: 4
336
335
  summary: Capture webcam image on git commit for lulz.
337
- test_files: []
336
+ test_files:
337
+ - features/bugs.feature
338
+ - features/lolcommits.feature
339
+ - features/step_definitions/lolcommits_steps.rb
340
+ - features/support/env.rb
341
+ - features/support/path_helpers.rb
342
+ - test/assets/test_image.jpg
343
+ - test/assets/test_video.mp4
344
+ - test/images/test_image.jpg
345
+ - test/permissions_test.rb
346
+ - test/test_helper.rb