lolcommits-uploldz 0.1.1 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bca8c3a80ceb2d58eb9bdde320f2c8de8c7e7c968f6b1f11eabf9af63506b906
4
- data.tar.gz: d01a3d073fd7f8777eb6e929a5d2def20e26e3f2c05e1dda0b25f777b5e153d0
3
+ metadata.gz: b9fa74007371399d41dde256f0011775b80c1f5b0f2001e06c44e111a3e40411
4
+ data.tar.gz: 0f27514b43e426302effe7344cac1b6a2e4db335e5131d22be6d86a5e2649ef1
5
5
  SHA512:
6
- metadata.gz: 42418c35aa22c706b8ff9059ccf228f94a58cc2694b3657654eef34992829c4373b9df5a8a641e8ff6d247b474a6303287cf1831d1205409313b1465e1cb2e31
7
- data.tar.gz: 34babf294a16f512324066d456b8a409b3e7e75c1a1d91892b8e2d7f7e7eadf5603896a2bde46b91a1b52e70476a2d5ebcfe9eca438de2fc1ec8aff94a14a5be
6
+ metadata.gz: 521c33f340484a4a9320991b08dcd8f255ac83a374b04fff80524eb46eb49afcd55197a1eadec4418412537b2b078e6da27269e651f00f5ced70ade70f44d334
7
+ data.tar.gz: fe49416426fb77fb357cceedd9741e3a98d67dddac1bdfdc5b0324d993b01a58d033f50fc1efae075f1e66a1f73effde72bdc3b1f4ceb521f2c45dd5fc7b389f
data/.travis.yml CHANGED
@@ -2,31 +2,28 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.1.10
6
- - 2.2.9
7
- - 2.3.6
8
- - 2.4.3
9
- - 2.5.1
10
- - ruby-head
5
+ - 2.3.8
6
+ - 2.4.6
7
+ - 2.5.5
8
+ - 2.6.3
9
+ - ruby-head
11
10
 
12
11
  before_install:
13
- - gem update --system
14
- - gem install bundler
15
- - git --version
16
- - git config --global user.email "lol@commits.org"
17
- - git config --global user.name "Lolcommits"
12
+ - git --version
13
+ - git config --global user.email "lol@commits.org"
14
+ - git config --global user.name "Lolcommits"
18
15
 
19
16
  matrix:
20
17
  allow_failures:
21
- - rvm: ruby-head
18
+ - rvm: ruby-head
22
19
 
23
20
  env:
24
21
  global:
25
- - CC_TEST_REPORTER_ID=a11f4b88e9bad7b922ca0ce5c70e369d1fd704c1b7c08c5b9e273e29a8c73345
26
- - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
22
+ - CC_TEST_REPORTER_ID=a11f4b88e9bad7b922ca0ce5c70e369d1fd704c1b7c08c5b9e273e29a8c73345
23
+ - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
27
24
  before_script:
28
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
29
- - chmod +x ./cc-test-reporter
30
- - ./cc-test-reporter before-build - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
25
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
26
+ - chmod +x ./cc-test-reporter
27
+ - ./cc-test-reporter before-build - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
31
28
  after_script:
32
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
29
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/CHANGELOG.md CHANGED
@@ -2,13 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- The format is based on [Keep a Changelog](KeepAChangelog) and this project
6
- adheres to [Semantic Versioning](Semver).
5
+ The format is based on [Keep a Changelog][KeepAChangelog] and this project
6
+ adheres to [Semantic Versioning][Semver].
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
10
  - Your contribution here!
11
11
 
12
+ ## [0.2.0] - 2019-04-24
13
+ ### Removed
14
+ - Support for Ruby < 2.3 (older rubies no longer supported)
15
+
16
+ ### Added
17
+ - `frozen_string_literal: true` to all ruby files
18
+
12
19
  ## [0.1.1] - 2018-05-24
13
20
  ### Changed
14
21
  - Updated gemspec meta data links.
@@ -41,7 +48,8 @@ adheres to [Semantic Versioning](Semver).
41
48
  ### Changed
42
49
  - Initial release
43
50
 
44
- [Unreleased]: https://github.com/lolcommits/lolcommits-uploldz/compare/v0.1.1...HEAD
51
+ [Unreleased]: https://github.com/lolcommits/lolcommits-uploldz/compare/v0.2.0...HEAD
52
+ [0.2.0]: https://github.com/lolcommits/lolcommits-uploldz/compare/v0.1.1...v0.2.0
45
53
  [0.1.1]: https://github.com/lolcommits/lolcommits-uploldz/compare/v0.1.0...v0.1.1
46
54
  [0.1.0]: https://github.com/lolcommits/lolcommits-uploldz/compare/v0.0.4...v0.1.0
47
55
  [0.0.4]: https://github.com/lolcommits/lolcommits-uploldz/compare/v0.0.3...v0.0.4
data/README.md CHANGED
@@ -26,7 +26,7 @@ You can also set an optional HTTP Basic Auth header (username and/or password).
26
26
 
27
27
  ## Requirements
28
28
 
29
- * Ruby >= 2.0.0
29
+ * Ruby >= 2.3
30
30
  * A webcam
31
31
  * [ImageMagick](http://www.imagemagick.org)
32
32
  * [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rest_client'
2
4
  require 'base64'
3
5
  require 'lolcommits/plugin/base'
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'lolcommits/uploldz/version'
2
4
  require 'lolcommits/plugin/uploldz'
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Lolcommits
2
4
  module Uploldz
3
- VERSION = "0.1.1".freeze
5
+ VERSION = "0.2.0".freeze
4
6
  end
5
7
  end
@@ -1,22 +1,20 @@
1
- # coding: utf-8
2
1
  lib = File.expand_path('../lib', __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'lolcommits/uploldz/version'
5
4
 
6
5
  Gem::Specification.new do |spec|
7
- spec.name = "lolcommits-uploldz"
8
- spec.version = Lolcommits::Uploldz::VERSION
9
- spec.authors = ["Matthew Hutchinson"]
10
- spec.email = ["matt@hiddenloop.com"]
11
- spec.summary = %q{Uploads lolcommits to a remote server}
12
-
13
- spec.description = <<-EOF
6
+ spec.name = "lolcommits-uploldz"
7
+ spec.version = Lolcommits::Uploldz::VERSION
8
+ spec.authors = ["Matthew Hutchinson"]
9
+ spec.email = ["matt@hiddenloop.com"]
10
+ spec.summary = %q{Uploads lolcommits to a remote server}
11
+ spec.homepage = "https://github.com/lolcommits/lolcommits-uploldz"
12
+ spec.license = "LGPL-3"
13
+
14
+ spec.description = <<-DESC
14
15
  Uploads lolcommits to a remote server, with optional key or HTTP based
15
16
  authentication.
16
- EOF
17
-
18
- spec.homepage = "https://github.com/lolcommits/lolcommits-uploldz"
19
- spec.license = "LGPL-3"
17
+ DESC
20
18
 
21
19
  spec.metadata = {
22
20
  "homepage_uri" => "https://github.com/lolcommits/lolcommits-uploldz",
@@ -40,7 +38,7 @@ Gem::Specification.new do |spec|
40
38
  spec.executables = []
41
39
  spec.require_paths = ["lib"]
42
40
 
43
- spec.required_ruby_version = ">= 2.1"
41
+ spec.required_ruby_version = ">= 2.3"
44
42
 
45
43
  spec.add_runtime_dependency "rest-client"
46
44
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "test_helper"
2
4
  require 'webmock/minitest'
3
5
 
data/test/test_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
4
 
3
5
  # lolcommits gem
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-uploldz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Hutchinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-24 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -167,15 +167,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
168
  - - ">="
169
169
  - !ruby/object:Gem::Version
170
- version: '2.1'
170
+ version: '2.3'
171
171
  required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  requirements:
173
173
  - - ">="
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubyforge_project:
178
- rubygems_version: 2.7.6
177
+ rubygems_version: 3.0.3
179
178
  signing_key:
180
179
  specification_version: 4
181
180
  summary: Uploads lolcommits to a remote server