makersinit 0.1.6 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/exe/makersinit +1 -1
- data/lib/makersinit/version.rb +1 -1
- data/makersinit-0.1.5.gem +0 -0
- data/scripts/pre-push +5 -5
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 925fb92c25e32a399f263327f753de8941dec495
|
4
|
+
data.tar.gz: d8072785c9b0db53648609f4a12840ca73255c6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebc4b9058c1ad4595b37bd3c97e80010ee5a99d453e42ca90007e2d05f005646188c4dae84bfda319e79f10b7eb4fd9c58e502dbeb5c8da2b6a318c09d5d6704
|
7
|
+
data.tar.gz: b93fb4b53d7f74e5e577e54c28137d12805b20065f170f3275211a1fe2c71d3498d9023c777f9dc27a6ba85b08e110ba8f608ff1fa9c8942846ad30db5057b1d
|
data/README.md
CHANGED
@@ -25,10 +25,10 @@ Or install it yourself as:
|
|
25
25
|
Navigate to the cloned directory, then:
|
26
26
|
|
27
27
|
```sh
|
28
|
-
gem install `pwd`/makersinit-0.
|
28
|
+
gem install `pwd`/makersinit-1.0.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(if the current version of the gem is 0.
|
31
|
+
(if the current version of the gem is 1.0.0).
|
32
32
|
|
33
33
|
## Usage
|
34
34
|
|
data/exe/makersinit
CHANGED
data/lib/makersinit/version.rb
CHANGED
Binary file
|
data/scripts/pre-push
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
#!/bin/
|
2
|
-
echo 'Pushing details to Tracker'
|
1
|
+
#!/bin/bash
|
2
|
+
echo 'Pushing details to Tracker (MakersInit v1)'
|
3
3
|
# Notifies a webhook on attempted "git push". Called by "git
|
4
4
|
# push" after it has checked the remote status, but before anything has been
|
5
5
|
# pushed. If this script exits with a non-zero status nothing will be pushed.
|
@@ -20,7 +20,7 @@ echo 'Pushing details to Tracker'
|
|
20
20
|
# Utility functions
|
21
21
|
# Webhook-posting function
|
22
22
|
|
23
|
-
|
23
|
+
posthook(){
|
24
24
|
curl "git-receiver.herokuapp.com/commits" \
|
25
25
|
-X POST \
|
26
26
|
-H "Content-type: application/json" \
|
@@ -29,7 +29,7 @@ function posthook {
|
|
29
29
|
|
30
30
|
# Join function in the style of Pascal Pilz
|
31
31
|
|
32
|
-
|
32
|
+
join(){ local IFS="$1"; shift; echo "$*"; }
|
33
33
|
|
34
34
|
remote="$1"
|
35
35
|
url="$2"
|
@@ -62,7 +62,7 @@ do
|
|
62
62
|
# Construct an array of the commit SHAs
|
63
63
|
while read -r line; do
|
64
64
|
commits_array+=(\""$line"\")
|
65
|
-
done
|
65
|
+
done<<<"${commits}"
|
66
66
|
# Construct the joined string for JSON
|
67
67
|
commits_string=`join , "${commits_array[@]}"`
|
68
68
|
email=`git config user.email`
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: makersinit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Morgan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-04-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- exe/makersinit
|
77
77
|
- lib/makersinit.rb
|
78
78
|
- lib/makersinit/version.rb
|
79
|
+
- makersinit-0.1.5.gem
|
79
80
|
- makersinit.gemspec
|
80
81
|
- scripts/pre-push
|
81
82
|
homepage: http://makersacademy.com
|
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
99
|
version: '0'
|
99
100
|
requirements: []
|
100
101
|
rubyforge_project:
|
101
|
-
rubygems_version: 2.4.
|
102
|
+
rubygems_version: 2.4.8
|
102
103
|
signing_key:
|
103
104
|
specification_version: 4
|
104
105
|
summary: Makers Academy's customer-facing command-line tool.
|