falkorlib 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -7
- data/Gemfile +0 -12
- data/Gemfile.lock +18 -21
- data/README.md +7 -6
- data/falkorlib.gemspec +3 -2
- data/lib/falkorlib/bootstrap/vagrant.rb +6 -4
- data/lib/falkorlib/version.rb +1 -1
- data/spec/falkorlib/bootstrap_vagrant_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- metadata +5 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a2be7e401bb0c048852b5055a11052a3127592eb29c92e842b965ab514c52ac
|
4
|
+
data.tar.gz: 6fb44cf204d9133d5bcf393cc1fee5804eef4dbb140d8fe7f7a96f41b4614807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbb376c66b0d1227c437bdeeac132df2266bf55292a2dff93f1ee301785963483cd699ec572919a3a4635a801c9680444152e675446c9ffc54d3bf985a925409
|
7
|
+
data.tar.gz: df0242f9a3587564db11786ee415184dfba69ccafe31167a7a859af7f50a565b00bae25533f20a0326aa2e57765e63a06b9f536acd0f12826e1d19342c84f2a0
|
data/.travis.yml
CHANGED
@@ -29,14 +29,11 @@ addons:
|
|
29
29
|
before_install:
|
30
30
|
- gem install bundler
|
31
31
|
rvm:
|
32
|
-
# - 2.0.0
|
33
|
-
- 2.1
|
34
|
-
- 2.2
|
35
|
-
- 2.3
|
36
|
-
- 2.4
|
37
32
|
- 2.5
|
33
|
+
- 2.6
|
38
34
|
env:
|
39
35
|
global:
|
36
|
+
- CC_TEST_REPORTER_ID=183d6f12ac3b43cd608c9de4db4f4dca8b26c284a088331a8a9890d246dee104
|
40
37
|
- TRAVIS_CI_RUN=true
|
41
38
|
- GIT_SSH='ssh -o StrictHostKeyChecking=no'
|
42
39
|
- GIT_AUTHOR_NAME='Travis CI'
|
@@ -44,14 +41,18 @@ env:
|
|
44
41
|
- TEXMFLOCAL=/tmp/texmf/
|
45
42
|
# installing a couple of LaTeX packages from CTAN manually as the
|
46
43
|
# tlmgr command is mising on ubuntu/precise
|
44
|
+
before_script:
|
45
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
46
|
+
- chmod +x ./cc-test-reporter
|
47
|
+
- ./cc-test-reporter before-build
|
47
48
|
before_install:
|
48
49
|
- mkdir -p $TEXMFLOCAL/tex/latex/
|
49
50
|
- wget -N -q http://mirrors.ctan.org/install/macros/latex/contrib/tcolorbox.tds.zip
|
50
|
-
- wget -N -q http://mirrors.ctan.org/
|
51
|
+
- wget -N -q http://mirrors.ctan.org/macros/latex/contrib/acronym.zip
|
51
52
|
- wget -N -q http://mirrors.ctan.org/macros/latex/contrib/floatflt.zip
|
52
53
|
- wget -N -q http://mirrors.ctan.org/macros/latex/contrib/todonotes.zip
|
53
54
|
- unzip -qq tcolorbox.tds.zip -d $TEXMFLOCAL
|
54
|
-
- unzip -qq acronym.
|
55
|
+
- unzip -qq acronym.zip -d $TEXMFLOCAL
|
55
56
|
- unzip -qq floatflt.zip
|
56
57
|
- unzip -qq todonotes.zip
|
57
58
|
- cd ./floatflt/ && latex floatflt.ins && cd -
|
@@ -59,6 +60,8 @@ before_install:
|
|
59
60
|
- cp ./floatflt/floatflt.sty $TEXMFLOCAL/tex/latex/
|
60
61
|
- cp ./todonotes/todonotes.sty $TEXMFLOCAL/tex/latex/
|
61
62
|
- texhash
|
63
|
+
after_script:
|
64
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
62
65
|
notifications:
|
63
66
|
email:
|
64
67
|
on_success: never
|
data/Gemfile
CHANGED
@@ -1,15 +1,3 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
-
group :development do
|
4
|
-
gem "bundler"
|
5
|
-
gem "pry"
|
6
|
-
gem "rake"
|
7
|
-
end
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem "simplecov", :require => false
|
11
|
-
gem "rubocop", ">= 0.49.0", :require => false
|
12
|
-
gem "ffi", ">= 1.9.24", :require => false
|
13
|
-
end
|
14
|
-
|
15
3
|
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
falkorlib (0.8.
|
4
|
+
falkorlib (0.8.5)
|
5
5
|
activesupport (~> 4.0)
|
6
6
|
artii (>= 2.1)
|
7
7
|
awesome_print (~> 1.2)
|
@@ -31,8 +31,6 @@ GEM
|
|
31
31
|
ast (2.4.0)
|
32
32
|
awesome_print (1.8.0)
|
33
33
|
backports (3.17.1)
|
34
|
-
codeclimate-test-reporter (0.6.0)
|
35
|
-
simplecov (>= 0.7.1, < 1.0.0)
|
36
34
|
coderay (1.1.2)
|
37
35
|
concurrent-ruby (1.1.6)
|
38
36
|
configatron (3.2.0)
|
@@ -61,7 +59,6 @@ GEM
|
|
61
59
|
i18n (0.9.5)
|
62
60
|
concurrent-ruby (~> 1.0)
|
63
61
|
irb (1.1.1)
|
64
|
-
jaro_winkler (1.5.4)
|
65
62
|
json (2.3.0)
|
66
63
|
launchy (2.4.3)
|
67
64
|
addressable (~> 2.3)
|
@@ -78,13 +75,15 @@ GEM
|
|
78
75
|
parallel (1.19.1)
|
79
76
|
parser (2.7.1.0)
|
80
77
|
ast (~> 2.4.0)
|
78
|
+
powerpack (0.1.2)
|
81
79
|
pry (0.13.0)
|
82
80
|
coderay (~> 1.1)
|
83
81
|
method_source (~> 1.0)
|
84
82
|
pusher-client (0.6.2)
|
85
83
|
json
|
86
84
|
websocket (~> 1.0)
|
87
|
-
rainbow (
|
85
|
+
rainbow (2.2.2)
|
86
|
+
rake
|
88
87
|
rake (13.0.1)
|
89
88
|
rspec (3.9.0)
|
90
89
|
rspec-core (~> 3.9.0)
|
@@ -99,21 +98,22 @@ GEM
|
|
99
98
|
diff-lcs (>= 1.2.0, < 2.0)
|
100
99
|
rspec-support (~> 3.9.0)
|
101
100
|
rspec-support (3.9.2)
|
102
|
-
rubocop (0.
|
103
|
-
jaro_winkler (~> 1.5.1)
|
101
|
+
rubocop (0.49.1)
|
104
102
|
parallel (~> 1.10)
|
105
|
-
parser (>= 2.
|
106
|
-
|
103
|
+
parser (>= 2.3.3.1, < 3.0)
|
104
|
+
powerpack (~> 0.1)
|
105
|
+
rainbow (>= 1.99.1, < 3.0)
|
107
106
|
ruby-progressbar (~> 1.7)
|
108
|
-
unicode-display_width (
|
107
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
109
108
|
ruby-progressbar (1.10.1)
|
110
109
|
rubygems-tasks (0.2.5)
|
111
110
|
irb (~> 1.0)
|
112
111
|
safe_yaml (0.9.7)
|
113
|
-
simplecov (0.
|
112
|
+
simplecov (0.17.1)
|
114
113
|
docile (~> 1.1)
|
115
|
-
|
116
|
-
|
114
|
+
json (>= 1.8, < 3)
|
115
|
+
simplecov-html (~> 0.10.0)
|
116
|
+
simplecov-html (0.10.2)
|
117
117
|
sync (0.5.0)
|
118
118
|
term-ansicolor (1.7.1)
|
119
119
|
tins (~> 1.0)
|
@@ -137,7 +137,7 @@ GEM
|
|
137
137
|
ethon (>= 0.8.0)
|
138
138
|
tzinfo (1.2.7)
|
139
139
|
thread_safe (~> 0.1)
|
140
|
-
unicode-display_width (1.
|
140
|
+
unicode-display_width (1.7.0)
|
141
141
|
websocket (1.2.8)
|
142
142
|
yard (0.9.24)
|
143
143
|
|
@@ -148,16 +148,13 @@ PLATFORMS
|
|
148
148
|
x86_64-darwin-18
|
149
149
|
|
150
150
|
DEPENDENCIES
|
151
|
-
bundler
|
152
|
-
codeclimate-test-reporter (~> 0)
|
151
|
+
bundler (~> 1.0)
|
153
152
|
falkorlib!
|
154
|
-
|
155
|
-
pry
|
156
|
-
rake
|
153
|
+
pry (~> 0.9)
|
157
154
|
rspec (~> 3.0)
|
158
|
-
rubocop (
|
155
|
+
rubocop (~> 0.49.0)
|
159
156
|
rubygems-tasks (~> 0.2)
|
160
|
-
simplecov
|
157
|
+
simplecov (<= 0.17.1)
|
161
158
|
travis (~> 1.6)
|
162
159
|
travis-lint (~> 1.8)
|
163
160
|
yard (>= 0.9.20)
|
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
[![
|
5
|
-
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/falkorlib.svg)](https://badge.fury.io/rb/falkorlib)
|
2
|
+
[![Build
|
3
|
+
Status](https://travis-ci.org/Falkor/falkorlib.svg?branch=devel)](https://travis-ci.org/Falkor/falkorlib)
|
4
|
+
[![Test
|
5
|
+
Coverage](https://api.codeclimate.com/v1/badges/9f1c7762f29572b3f8f0/test_coverage)](https://codeclimate.com/github/Falkor/falkorlib/test_coverage)
|
6
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/9f1c7762f29572b3f8f0/maintainability)](https://codeclimate.com/github/Falkor/falkorlib/maintainability)
|
6
7
|
[![Inline docs ](http://inch-ci.org/github/Falkor/falkorlib.svg)](http://inch-ci.org/github/Falkor/falkorlib)[![Liberapay receiving](https://img.shields.io/liberapay/receives/Falkor.svg)](https://liberapay.com/Falkor/donate)
|
7
8
|
|
8
9
|
_____ _ _ _ _ _
|
@@ -12,7 +13,7 @@
|
|
12
13
|
|_| \__,_|_|_|\_\___/|_| |_____|_|_.__/
|
13
14
|
|
14
15
|
|
15
|
-
Copyright (c) 2012-
|
16
|
+
Copyright (c) 2012-2020 Sebastien Varrette <Sebastien.Varrette@uni.lu>
|
16
17
|
|
17
18
|
Sebastien Varrette aka Falkor's Common library to share Ruby code, `{rake,cap}`
|
18
19
|
tasks and project templates
|
data/falkorlib.gemspec
CHANGED
@@ -105,8 +105,9 @@ Gem::Specification.new do |s|
|
|
105
105
|
s.add_development_dependency("rubygems-tasks", "~> 0.2")
|
106
106
|
s.add_development_dependency("travis", "~> 1.6")
|
107
107
|
s.add_development_dependency("travis-lint", "~> 1.8")
|
108
|
-
s.add_development_dependency('simplecov', '
|
109
|
-
s.add_development_dependency
|
108
|
+
s.add_development_dependency('simplecov', '<= 0.17.1')
|
109
|
+
#s.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
|
110
|
+
#s.add_development_dependency("codeclimate-test-reporter", '~> 0') #, group: :test, require: nil)
|
110
111
|
#s.add_development_dependency("thor-zsh_completion", '>= 0.1.5')
|
111
112
|
#s.add_development_dependency("bluecloth", "~> 2.2.0")
|
112
113
|
#s.add_development_dependency("wlang", "~> 0.10.2")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
3
|
+
# Time-stamp: <Sun 2020-04-12 16:47 svarrette>
|
4
4
|
################################################################################
|
5
5
|
# Interface for Bootstrapping MkDocs
|
6
6
|
#
|
@@ -51,13 +51,15 @@ module FalkorLib
|
|
51
51
|
FalkorLib::Git.add(File.join(rootdir, 'vagrant', "#{f}")) if use_git
|
52
52
|
end
|
53
53
|
Dir.chdir( rootdir ) do
|
54
|
-
run %(git ignore '.vagrant/' )
|
54
|
+
run %(git ignore '.vagrant/' ) if command?('git-ignore')
|
55
55
|
# run %(ln -s README.md index.md )
|
56
56
|
# run %(ln -s README.md contributing/index.md )
|
57
57
|
# run %(ln -s README.md setup/index.md )
|
58
58
|
end
|
59
|
-
|
60
|
-
|
59
|
+
if File.exist?(File.join(rootdir, '.gitignore'))
|
60
|
+
FalkorLib::Git.add(File.join(rootdir, '.gitignore')) if use_git
|
61
|
+
end
|
62
|
+
return 0
|
61
63
|
#exit_status.to_i
|
62
64
|
end # vagrant
|
63
65
|
|
data/lib/falkorlib/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#########################################
|
3
3
|
# bootstrap_vagrant_spec.rb
|
4
4
|
# @author Sebastien Varrette <Sebastien.Varrette@uni.lu>
|
5
|
-
# Time-stamp: <Sun 2020-04-12
|
5
|
+
# Time-stamp: <Sun 2020-04-12 16:46 svarrette>
|
6
6
|
#
|
7
7
|
# @description Check the Bootstrapping operations for Vagrant
|
8
8
|
#
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falkorlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastien Varrette
|
@@ -336,30 +336,16 @@ dependencies:
|
|
336
336
|
name: simplecov
|
337
337
|
requirement: !ruby/object:Gem::Requirement
|
338
338
|
requirements:
|
339
|
-
- - "
|
339
|
+
- - "<="
|
340
340
|
- !ruby/object:Gem::Version
|
341
|
-
version: 0.
|
341
|
+
version: 0.17.1
|
342
342
|
type: :development
|
343
343
|
prerelease: false
|
344
344
|
version_requirements: !ruby/object:Gem::Requirement
|
345
345
|
requirements:
|
346
|
-
- - "
|
347
|
-
- !ruby/object:Gem::Version
|
348
|
-
version: 0.12.0
|
349
|
-
- !ruby/object:Gem::Dependency
|
350
|
-
name: codeclimate-test-reporter
|
351
|
-
requirement: !ruby/object:Gem::Requirement
|
352
|
-
requirements:
|
353
|
-
- - "~>"
|
346
|
+
- - "<="
|
354
347
|
- !ruby/object:Gem::Version
|
355
|
-
version:
|
356
|
-
type: :development
|
357
|
-
prerelease: false
|
358
|
-
version_requirements: !ruby/object:Gem::Requirement
|
359
|
-
requirements:
|
360
|
-
- - "~>"
|
361
|
-
- !ruby/object:Gem::Version
|
362
|
-
version: '0'
|
348
|
+
version: 0.17.1
|
363
349
|
description: 'This is my personal library I use to share the Ruby tidbits and Rake
|
364
350
|
tasks I made it for my various projects, and also to bootstrap easily several element
|
365
351
|
of my daily workflow (new git repository, new beamer slides etc.).
|