lolcommits-dotcom 0.3.0 → 0.3.1
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 +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +32 -31
- data/lib/lolcommits/dotcom/version.rb +1 -1
- data/lolcommits-dotcom.gemspec +8 -16
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33c7867b8e92ded9c201287813ae0a6ecb29bc9452ea3018b774aea475235f23
|
|
4
|
+
data.tar.gz: 9fbb25703be74bc64b0ffa559db5c56e9bc836a2515d700cc3267fa4437d776b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aade37fc08150155f794a84b1642d36b139e93bf47794fc34e4db8cad13634d987a220f7556684390ae16363710d4944c23c4c1b42648772e58a26447cabb29d
|
|
7
|
+
data.tar.gz: 558e444b7fe768437f0920b2528831c9eced9dfe0a2b5cdddda065c54e1eb7bc00719e1571ac2e7f9442eacd81a519b8a4f9a0aa9b32b5161537d42cac677cb0
|
data/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,11 @@ project adheres to [Semantic Versioning][Semver].
|
|
|
9
9
|
|
|
10
10
|
- Your contribution here!
|
|
11
11
|
|
|
12
|
+
## [0.3.1] - 2019-05-20
|
|
13
|
+
### Changed
|
|
14
|
+
- updated gemspec and README
|
|
15
|
+
- Requires at least lolcommits >= `0.14.2`
|
|
16
|
+
|
|
12
17
|
## [0.3.0] - 2019-05-14
|
|
13
18
|
### Changed
|
|
14
19
|
- lolcommits gem is a runtime dependency
|
|
@@ -59,7 +64,8 @@ project adheres to [Semantic Versioning][Semver].
|
|
|
59
64
|
### Changed
|
|
60
65
|
- Initial release
|
|
61
66
|
|
|
62
|
-
[Unreleased]: https://github.com/lolcommits/lolcommits-dotcom/compare/v0.3.
|
|
67
|
+
[Unreleased]: https://github.com/lolcommits/lolcommits-dotcom/compare/v0.3.1...HEAD
|
|
68
|
+
[0.3.1]: https://github.com/lolcommits/lolcommits-dotcom/compare/v0.3.0...v0.3.1
|
|
63
69
|
[0.3.0]: https://github.com/lolcommits/lolcommits-dotcom/compare/v0.2.0...v0.3.0
|
|
64
70
|
[0.2.0]: https://github.com/lolcommits/lolcommits-dotcom/compare/v0.1.1...v0.2.0
|
|
65
71
|
[0.1.1]: https://github.com/lolcommits/lolcommits-dotcom/compare/v0.1.0...v0.1.1
|
data/README.md
CHANGED
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
[](https://codeclimate.com/github/lolcommits/lolcommits-dotcom/maintainability)
|
|
7
7
|
[](https://codeclimate.com/github/lolcommits/lolcommits-dotcom/test_coverage)
|
|
8
8
|
|
|
9
|
-
[lolcommits](https://lolcommits.github.io/) takes a snapshot with your
|
|
10
|
-
every time you git commit code, and archives a lolcat style image
|
|
11
|
-
blame has never been so much fun!
|
|
9
|
+
[lolcommits](https://lolcommits.github.io/) takes a snapshot with your
|
|
10
|
+
webcam every time you git commit code, and archives a lolcat style image
|
|
11
|
+
with it. Git blame has never been so much fun!
|
|
12
12
|
|
|
13
|
-
[lolcommits.com](https://lolcommits.com) is web app hosting lolcommits
|
|
14
|
-
multiple repositories! You can signup for free via GitHub. This
|
|
15
|
-
integrates your lolcommits gem with the website. The app itself
|
|
16
|
-
open-sourced and lives on
|
|
17
|
-
[GitHub](https://github.com/lolcommits/lolcommits-dot-com),
|
|
18
|
-
welcome!
|
|
13
|
+
[lolcommits.com](https://lolcommits.com) is web app hosting lolcommits
|
|
14
|
+
for multiple repositories! You can signup for free via GitHub. This
|
|
15
|
+
plugin integrates your lolcommits gem with the website. The app itself
|
|
16
|
+
has been open-sourced and lives on
|
|
17
|
+
[GitHub](https://github.com/lolcommits/lolcommits-dot-com),
|
|
18
|
+
pull-requests are welcome!
|
|
19
19
|
|
|
20
20
|
## Requirements
|
|
21
21
|
|
|
@@ -32,9 +32,9 @@ After installing the lolcommits gem, install this plugin with:
|
|
|
32
32
|
|
|
33
33
|
Sign up (for free) [here](https://lolcommits.com) (via GitHub).
|
|
34
34
|
|
|
35
|
-
From the top menu, click 'New Repo' (give your repository a name). Then
|
|
36
|
-
'[Account Info](https://lolcommits.com/users/account)' to see the
|
|
37
|
-
need to configure the gem.
|
|
35
|
+
From the top menu, click 'New Repo' (give your repository a name). Then
|
|
36
|
+
click '[Account Info](https://lolcommits.com/users/account)' to see the
|
|
37
|
+
keys you'll need to configure the gem.
|
|
38
38
|
|
|
39
39
|
Then configure to enable and set these keys:
|
|
40
40
|
|
|
@@ -50,15 +50,15 @@ That's it! Your next lolcommit will be sent to
|
|
|
50
50
|
|
|
51
51
|
## Development
|
|
52
52
|
|
|
53
|
-
Check out this repo and run `bin/setup`, this will install all
|
|
54
|
-
generate docs. Use `bundle exec rake` to run all tests
|
|
55
|
-
report.
|
|
53
|
+
Check out this repo and run `bin/setup`, this will install all
|
|
54
|
+
dependencies and generate docs. Use `bundle exec rake` to run all tests
|
|
55
|
+
and generate a coverage report.
|
|
56
56
|
|
|
57
|
-
You can also run `bin/console` for an interactive prompt that will allow
|
|
58
|
-
experiment with the gem code.
|
|
57
|
+
You can also run `bin/console` for an interactive prompt that will allow
|
|
58
|
+
you to experiment with the gem code.
|
|
59
59
|
|
|
60
|
-
After capturing every lolcommit is uploaded to the `/git_commits.json`
|
|
61
|
-
with the following multi-part POST body params (JSON encoded):
|
|
60
|
+
After capturing every lolcommit is uploaded to the `/git_commits.json`
|
|
61
|
+
endpoint with the following multi-part POST body params (JSON encoded):
|
|
62
62
|
|
|
63
63
|
* `t` - timestamp, seconds since epoch
|
|
64
64
|
* `token` - hex digest of `api_secret` from plugin config and timestamp
|
|
@@ -66,8 +66,7 @@ with the following multi-part POST body params (JSON encoded):
|
|
|
66
66
|
* `git_commit` - a hash with these params:
|
|
67
67
|
* `sha` - the commit sha
|
|
68
68
|
* `repo_external_id` - the `repo_id` from plugin config
|
|
69
|
-
* `image` - the lolcommit
|
|
70
|
-
* `raw` - the original captured camera image
|
|
69
|
+
* `image` - the lolcommit file (processed jpg, gif or mp4)
|
|
71
70
|
|
|
72
71
|
## Tests
|
|
73
72
|
|
|
@@ -84,25 +83,27 @@ Generate docs for this gem with:
|
|
|
84
83
|
## Troubles?
|
|
85
84
|
|
|
86
85
|
If you think something is broken or missing, please raise a new
|
|
87
|
-
[issue](https://github.com/lolcommits/lolcommits-dotcom/issues). Take
|
|
88
|
-
|
|
86
|
+
[issue](https://github.com/lolcommits/lolcommits-dotcom/issues). Take a
|
|
87
|
+
moment to check it hasn't been raised in the past (and possibly closed).
|
|
89
88
|
|
|
90
89
|
## Contributing
|
|
91
90
|
|
|
92
|
-
Bug [reports](https://github.com/lolcommits/lolcommits-dotcom/issues)
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
Bug [reports](https://github.com/lolcommits/lolcommits-dotcom/issues)
|
|
92
|
+
and [pull
|
|
93
|
+
requests](https://github.com/lolcommits/lolcommits-dotcom/pulls) are
|
|
94
|
+
welcome on GitHub.
|
|
95
95
|
|
|
96
|
-
When submitting pull requests, remember to add tests covering any new
|
|
97
|
-
and ensure all tests are passing on [Travis
|
|
96
|
+
When submitting pull requests, remember to add tests covering any new
|
|
97
|
+
behaviour, and ensure all tests are passing on [Travis
|
|
98
98
|
CI](https://travis-ci.com/lolcommits/lolcommits-dotcom). Read the
|
|
99
99
|
[contributing
|
|
100
100
|
guidelines](https://github.com/lolcommits/lolcommits-dotcom/blob/master/CONTRIBUTING.md)
|
|
101
101
|
for more details.
|
|
102
102
|
|
|
103
|
-
This project is intended to be a safe, welcoming space for
|
|
104
|
-
contributors are expected to adhere to the
|
|
105
|
-
Covenant](http://contributor-covenant.org) code of conduct.
|
|
103
|
+
This project is intended to be a safe, welcoming space for
|
|
104
|
+
collaboration, and contributors are expected to adhere to the
|
|
105
|
+
[Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
106
|
+
See
|
|
106
107
|
[here](https://github.com/lolcommits/lolcommits-dotcom/blob/master/CODE_OF_CONDUCT.md)
|
|
107
108
|
for more details.
|
|
108
109
|
|
data/lolcommits-dotcom.gemspec
CHANGED
|
@@ -9,29 +9,21 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.email = ["matt@hiddenloop.com"]
|
|
10
10
|
spec.summary = %q{Uploads lolcommits to a remote server}
|
|
11
11
|
spec.homepage = "https://github.com/lolcommits/lolcommits-dotcom"
|
|
12
|
-
spec.license = "LGPL-3"
|
|
12
|
+
spec.license = "LGPL-3.0"
|
|
13
13
|
|
|
14
14
|
spec.description = <<-DESC
|
|
15
|
-
Uploads lolcommits to a remote server, with optional key or
|
|
15
|
+
Uploads lolcommits to a remote server, with optional key or HTTP based
|
|
16
16
|
authentication.
|
|
17
17
|
DESC
|
|
18
18
|
|
|
19
19
|
spec.metadata = {
|
|
20
|
-
"homepage_uri"
|
|
21
|
-
"changelog_uri"
|
|
22
|
-
"source_code_uri"
|
|
23
|
-
"bug_tracker_uri"
|
|
20
|
+
"homepage_uri" => "https://github.com/lolcommits/lolcommits-dotcom",
|
|
21
|
+
"changelog_uri" => "https://github.com/lolcommits/lolcommits-dotcom/blob/master/CHANGELOG.md",
|
|
22
|
+
"source_code_uri" => "https://github.com/lolcommits/lolcommits-dotcom",
|
|
23
|
+
"bug_tracker_uri" => "https://github.com/lolcommits/lolcommits-dotcom/issues",
|
|
24
|
+
"allowed_push_host" => "https://rubygems.org"
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
27
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
28
|
-
if spec.respond_to?(:metadata)
|
|
29
|
-
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
|
30
|
-
else
|
|
31
|
-
raise "RubyGems 2.0 or newer is required to protect against " \
|
|
32
|
-
"public gem pushes."
|
|
33
|
-
end
|
|
34
|
-
|
|
35
27
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(assets|test|features)/}) }
|
|
36
28
|
spec.test_files = `git ls-files -- {test,features}/*`.split("\n")
|
|
37
29
|
spec.bindir = "bin"
|
|
@@ -41,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
|
41
33
|
spec.required_ruby_version = ">= 2.3"
|
|
42
34
|
|
|
43
35
|
spec.add_runtime_dependency "rest-client"
|
|
44
|
-
spec.add_runtime_dependency "lolcommits", "~> 0.14.
|
|
36
|
+
spec.add_runtime_dependency "lolcommits", "~> 0.14.2"
|
|
45
37
|
|
|
46
38
|
spec.add_development_dependency "bundler"
|
|
47
39
|
spec.add_development_dependency "webmock"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lolcommits-dotcom
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Hutchinson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.14.
|
|
33
|
+
version: 0.14.2
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.14.
|
|
40
|
+
version: 0.14.2
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: bundler
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -123,7 +123,7 @@ dependencies:
|
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
125
|
description: |2
|
|
126
|
-
Uploads lolcommits to a remote server, with optional key or
|
|
126
|
+
Uploads lolcommits to a remote server, with optional key or HTTP based
|
|
127
127
|
authentication.
|
|
128
128
|
email:
|
|
129
129
|
- matt@hiddenloop.com
|
|
@@ -152,7 +152,7 @@ files:
|
|
|
152
152
|
- test/test_helper.rb
|
|
153
153
|
homepage: https://github.com/lolcommits/lolcommits-dotcom
|
|
154
154
|
licenses:
|
|
155
|
-
- LGPL-3
|
|
155
|
+
- LGPL-3.0
|
|
156
156
|
metadata:
|
|
157
157
|
homepage_uri: https://github.com/lolcommits/lolcommits-dotcom
|
|
158
158
|
changelog_uri: https://github.com/lolcommits/lolcommits-dotcom/blob/master/CHANGELOG.md
|