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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4bbb3ff4dd7c9980ad31ff73fd18c17e33046ef
4
- data.tar.gz: 44ff3a01baddcc1ff0f03b8f71eb506ac3d1cef0
3
+ metadata.gz: d55e88486581a879c83450377cb830b32c101e03
4
+ data.tar.gz: e58abd9cc9a8e5b670b0a3746f597140209334e1
5
5
  SHA512:
6
- metadata.gz: 7f3b69edf1405dfcd61418c30bbb71930d7e4534d2515ae57c1861c7399c3bd7c3dc432fe9c0a3eebfbabf8bc2756ee1061ac47d141a7cb1704a8c9e6272d52e
7
- data.tar.gz: 8a88b4d710f0e420d96abdf60a396d8bcafe70e4a4430ec0b8ec08e6c2563cfb5cb32395854cd4123457ccfc50e2ee461bcdc5673905fd1bea519dd3c9e17521
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
@@ -7,3 +7,5 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /npm-debug.log
11
+ /node_modules/
@@ -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
@@ -2,3 +2,5 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in saddler-reporter-text.gemspec
4
4
  gemspec
5
+
6
+ gem 'parse_gemspec-cli'
data/bin/setup CHANGED
@@ -1,7 +1,15 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
1
+ #!/usr/bin/env ruby
4
2
 
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
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
@@ -1,3 +1,9 @@
1
+ <a name="0.2.1"></a>
2
+ ## [0.2.1](https://github.com/packsaddle/ruby-saddler-reporter-text/compare/v0.2.0...v0.2.1) (2015-09-30)
3
+
4
+ * Improve document
5
+
6
+
1
7
  ## 0.2.0 (2015-09-21)
2
8
 
3
9
 
@@ -1,7 +1,7 @@
1
1
  module Saddler
2
2
  module Reporter
3
3
  class Text
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  def initialize(output)
6
6
  @output = output
7
7
  end
@@ -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.0
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-21 00:00:00.000000000 Z
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: