saddler-reporter-text 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.conventional-changelog.context.js +17 -0
- data/.gitignore +2 -0
- data/.travis.yml +11 -9
- data/Gemfile +2 -0
- data/bin/setup +14 -6
- data/changelog.md +6 -0
- data/lib/saddler/reporter/text.rb +1 -1
- data/package.json +11 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d55e88486581a879c83450377cb830b32c101e03
|
4
|
+
data.tar.gz: e58abd9cc9a8e5b670b0a3746f597140209334e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e76b031abacd9f1aa2b6bb009557676cdacd636d83ea8b547595585c4cfa5d06b6c1dc70311b1cfbf91e711e0d61ef174834b09b2874eb490d43810d48493079
|
7
|
+
data.tar.gz: 612fea3088dd533f36322f878038de1fe3a5cc0d1520ccf9acb61011e9632bf4107a5dd8eb944c289dfe76a504d44aa98ef8e5fb8dc9c7be94faec1740355b94
|
@@ -0,0 +1,17 @@
|
|
1
|
+
'use strict';
|
2
|
+
var execSync = require('child_process').execSync;
|
3
|
+
var URI = require('urijs');
|
4
|
+
|
5
|
+
var gemspec = JSON.parse(execSync('bundle exec parse-gemspec-cli saddler-reporter-text.gemspec'));
|
6
|
+
var homepageUrl = gemspec.homepage;
|
7
|
+
var url = new URI(homepageUrl);
|
8
|
+
var host = url.protocol() + '://' + url.authority();
|
9
|
+
var owner = url.pathname().split('/')[1];
|
10
|
+
var repository = url.pathname().split('/')[2];
|
11
|
+
|
12
|
+
module.exports = {
|
13
|
+
version: gemspec.version,
|
14
|
+
host: host,
|
15
|
+
owner: owner,
|
16
|
+
repository: repository
|
17
|
+
};
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,15 +1,17 @@
|
|
1
|
-
language: ruby
|
1
|
+
language: "ruby"
|
2
2
|
sudo: false
|
3
3
|
rvm:
|
4
|
-
- 1.9
|
5
|
-
- 2.0
|
6
|
-
- 2.1
|
7
|
-
- 2.2
|
4
|
+
- "1.9"
|
5
|
+
- "2.0"
|
6
|
+
- "2.1"
|
7
|
+
- "2.2"
|
8
|
+
- "ruby-head"
|
9
|
+
matrix:
|
10
|
+
allow_failures:
|
11
|
+
- rvm: "ruby-head"
|
8
12
|
before_install:
|
9
|
-
- gem update bundler
|
13
|
+
- "gem update bundler"
|
14
|
+
- "bin/setup"
|
10
15
|
notifications:
|
11
16
|
email:
|
12
17
|
- ogataken@gmail.com
|
13
|
-
branches:
|
14
|
-
only:
|
15
|
-
- master
|
data/Gemfile
CHANGED
data/bin/setup
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
-
#!/bin/
|
2
|
-
set -euo pipefail
|
3
|
-
IFS=$'\n\t'
|
1
|
+
#!/usr/bin/env ruby
|
4
2
|
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
require 'open3'
|
4
|
+
unless ENV['CI']
|
5
|
+
out, err, status = Open3.capture3(*%w(bundle install))
|
6
|
+
$stdout.puts out
|
7
|
+
$stderr.puts err
|
8
|
+
exit status.exitstatus if !status.exitstatus.nil? && status.exitstatus != 0
|
9
|
+
end
|
10
|
+
unless ENV['CI']
|
11
|
+
out, err, status = Open3.capture3(*%w(npm install))
|
12
|
+
$stdout.puts out
|
13
|
+
$stderr.puts err
|
14
|
+
exit status.exitstatus if !status.exitstatus.nil? && status.exitstatus != 0
|
15
|
+
end
|
data/changelog.md
CHANGED
data/package.json
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"devDependencies": {
|
3
|
+
"conventional-changelog": "0.4.3",
|
4
|
+
"npm-check-updates": "^2.2.3",
|
5
|
+
"urijs": "^1.16.1"
|
6
|
+
},
|
7
|
+
"scripts": {
|
8
|
+
"changelog": "conventional-changelog -i changelog.md --overwrite --preset angular --context .conventional-changelog.context.js",
|
9
|
+
"ncu": "ncu -u"
|
10
|
+
}
|
11
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saddler-reporter-text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sanemat
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -59,6 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".conventional-changelog.context.js"
|
62
63
|
- ".gitignore"
|
63
64
|
- ".rubocop.yml"
|
64
65
|
- ".tachikoma.yml"
|
@@ -72,6 +73,7 @@ files:
|
|
72
73
|
- bin/setup
|
73
74
|
- changelog.md
|
74
75
|
- lib/saddler/reporter/text.rb
|
76
|
+
- package.json
|
75
77
|
- saddler-reporter-text.gemspec
|
76
78
|
homepage: https://github.com/packsaddle/ruby-saddler-reporter-text
|
77
79
|
licenses:
|