falkorlib 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/completion/_falkor +2 -1
- data/lib/falkorlib/bootstrap/base.rb +3 -1
- data/lib/falkorlib/bootstrap/link.rb +3 -2
- data/lib/falkorlib/cli/link.rb +2 -1
- data/lib/falkorlib/version.rb +1 -1
- data/templates/README/header_readme.erb +5 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 782eba9178dc316cbad054c36ca3e09396201611
|
4
|
+
data.tar.gz: 8a5562e36d213fa974b469f4e4376783a897a3a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a52a8f4d750a0a3f870e9e3295a4cce4e265a8a2e3975361ab28184329eb07f25e2325aaec051f4ad24ffb1271c61333b4c0eebc9c0069a1d8571f45402cc0cb
|
7
|
+
data.tar.gz: 767523d89c3607c20b5da61a90866ecd8fcfb4583683b931ddb380a5cfa7638105d7fa9b49eb2fcf65993663092627d76c4a18ec04513ea0e4c68cd89ce82df0
|
data/Gemfile.lock
CHANGED
data/completion/_falkor
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#compdef falkor
|
2
2
|
########################################################################################
|
3
3
|
# -*- mode:sh; -*-
|
4
|
-
# Time-stamp: <
|
4
|
+
# Time-stamp: <Tue 2017-04-04 11:43 svarrette>
|
5
5
|
#
|
6
6
|
# ZSH completion for [FalkorLib](https://github.com/Falkor/falkorlib)
|
7
7
|
#
|
@@ -205,6 +205,7 @@ __falkor_link()
|
|
205
205
|
{--latex,-l}'[Makefile to compile LaTeX documents]' \
|
206
206
|
{--gnuplot,--plot,-p}'[Makefile to compile GnuPlot scripts]' \
|
207
207
|
{--generic,-g}'[Generic Makefile for sub directory]' \
|
208
|
+
'--server:Makefile for fetching key server files' \
|
208
209
|
{--markdown,-m}'[Makefile to convert Markdown files to HTML]' \
|
209
210
|
{--images,-i,--img}'[Makefile to optimize images]' \
|
210
211
|
{--refdir,-d}'[Path to Falkor''s Makefile repository (Relative to Git root dir)]' \
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
3
|
+
# Time-stamp: <Tue 2017-04-04 12:00 svarrette>
|
4
4
|
################################################################################
|
5
5
|
# Interface for the main Bootstrapping operations
|
6
6
|
#
|
@@ -334,6 +334,8 @@ module FalkorLib
|
|
334
334
|
erbfiles << "footer_readme.erb"
|
335
335
|
|
336
336
|
content = ""
|
337
|
+
ap options
|
338
|
+
ap config
|
337
339
|
erbfiles.each do |f|
|
338
340
|
erbfile = File.join(templatedir, f)
|
339
341
|
content += ERB.new(File.read(erbfile.to_s), nil, '<>').result(binding)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
3
|
+
# Time-stamp: <Tue 2017-04-04 11:42 svarrette>
|
4
4
|
################################################################################
|
5
5
|
# Interface for Bootstrapping various symlinks within your project
|
6
6
|
#
|
@@ -29,6 +29,7 @@ module FalkorLib
|
|
29
29
|
# * :latex [boolean] Makefile to compile LaTeX documents
|
30
30
|
# * :gnuplot [boolean] Makefile to compile GnuPlot scripts
|
31
31
|
# * :markdown [boolean] Makefile to convert Markdown files to HTML
|
32
|
+
# * :servers [boolean] Makefile to fetch key files from remote servers
|
32
33
|
# * :refdir [string] Path to Falkor's Makefile repository
|
33
34
|
# * :src [boolean] Path to latex_src
|
34
35
|
# * :no_interaction [boolean] do not interact
|
@@ -66,7 +67,7 @@ module FalkorLib
|
|
66
67
|
makefile = 'Makefile'
|
67
68
|
type = 'latex'
|
68
69
|
# recall to place the default option (--latex) at the last position
|
69
|
-
[ :gnuplot, :images, :generic, :markdown, :repo] .each do |e|
|
70
|
+
[ :gnuplot, :images, :generic, :markdown, :repo, :servers] .each do |e|
|
70
71
|
if options[e.to_sym]
|
71
72
|
type = e.to_s
|
72
73
|
break
|
data/lib/falkorlib/cli/link.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
3
|
+
# Time-stamp: <Tue 2017-04-04 11:00 svarrette>
|
4
4
|
################################################################################
|
5
5
|
|
6
6
|
require 'thor'
|
@@ -41,6 +41,7 @@ module FalkorLib
|
|
41
41
|
:desc => "Makefile to convert Markdown files to HTML"
|
42
42
|
method_option :images, :type => :boolean, :aliases => [ '-i', '--img' ],
|
43
43
|
:desc => "Makefile to optimize images"
|
44
|
+
method_option :servers, :type => :boolean, :desc => "Makefile to fetch server files"
|
44
45
|
method_option :refdir, :default => "#{FalkorLib.config[:git][:submodulesdir]}/Makefiles",
|
45
46
|
:aliases => '-d', :desc => "Path to Falkor's Makefile repository (Relative to Git root dir)"
|
46
47
|
method_option :src, :type => :boolean, :aliases => [ '--src', '-s' ],
|
data/lib/falkorlib/version.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<% end %>
|
6
6
|
![By <%= config[:by] %>](https://img.shields.io/badge/by-<%= config[:by] %>-blue.svg) [![<%= config[:forge] %>](https://img.shields.io/badge/git-<%= config[:forge] %>-lightgray.svg)](<%= config[:source] %>) [![Issues](https://img.shields.io/badge/issues-<%= config[:forge] %>-green.svg)](<%= config[:issues_url] %>)
|
7
7
|
|
8
|
-
Time-stamp: <
|
8
|
+
Time-stamp: <Tue 2017-04-04 12:01 svarrette>
|
9
9
|
|
10
10
|
<%= ::Artii::Base.new().asciify( config[:name] ).split("\n").join("\n ") %>
|
11
11
|
Copyright (c) <%= Time.now.year %> <%= config[:author] %> <<%= config[:mail] %>>
|
@@ -18,7 +18,8 @@
|
|
18
18
|
|
19
19
|
## Installation / Repository Setup
|
20
20
|
|
21
|
-
|
21
|
+
<% unless (config[:forge].nil? or config[:forge].empty?) %>
|
22
|
+
This repository is hosted on [<%= FalkorLib::Config::Bootstrap::DEFAULTS[:forge][ config[:forge].to_sym ][:name] %>](<%= config[:project_page] %>).
|
22
23
|
|
23
24
|
<% if (config[:forge] == :gitlab) %>
|
24
25
|
* Git interactions with this repository (push, pull etc.) are performed over SSH using the port 8022
|
@@ -29,6 +30,7 @@ This repository is hosted on [<%= FalkorLib::Config::Bootstrap::DEFAULTS[:forge]
|
|
29
30
|
$> cd ~/git/<%= FalkorLib::Config::Bootstrap::DEFAULTS[:forge][ config[:forge].to_sym ][:url] %>/<%= config[:by] %>
|
30
31
|
$> git clone <%= config[:origin] %>
|
31
32
|
|
33
|
+
<% end %>
|
32
34
|
<% if config[:type].include?( :rvm ) %>
|
33
35
|
Now ensure [RVM](https://rvm.io/) is correctly configured for this repository:
|
34
36
|
|
@@ -41,7 +43,7 @@ Configure the dependencies detailed in the [`Gemfile`](Gemfile) through the [Bun
|
|
41
43
|
$> rake -T # should work ;)
|
42
44
|
<% end %>
|
43
45
|
|
44
|
-
**`/!\ IMPORTANT`**: Once cloned, initiate your local copy of the repository by running:
|
46
|
+
**`/!\ IMPORTANT`**: Once cloned, initiate your local copy of the repository by running:
|
45
47
|
|
46
48
|
$> cd <%= name.downcase %>
|
47
49
|
<% if options[:make] %>
|
@@ -67,6 +69,3 @@ If upon pulling the repository, you end in a state where another collaborator ha
|
|
67
69
|
<% else %>
|
68
70
|
$> rake git:submodules:update
|
69
71
|
<% end %>
|
70
|
-
|
71
|
-
|
72
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falkorlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastien Varrette
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|