falkorlib 0.6.0 → 0.6.1
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/lib/falkorlib/bootstrap/base.rb +3 -3
- data/lib/falkorlib/cli/new.rb +2 -1
- data/lib/falkorlib/version.rb +1 -1
- 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: c3aeaab1388bdcd3c06f47b30b03028d293ca273
|
4
|
+
data.tar.gz: 05b95cfffdbc646d9280923885a443997c691252
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9367a29b2e132fbbda949965e7cc5af67478fa7d9072a1de6ed0c1241d43bc2f4f3668f5e7b4dea1b4cf112d8ce3d7920306d20af596546eac2606b69e8e01ab
|
7
|
+
data.tar.gz: 4bb0bd48c47fb2d8aed2243f1a90652b7f80c22e9761fa1057e36790db9c604f2bd41347f352fa839c0b9ddf4ad759e25135933c511e44c0a69caa0c1f2b8bba
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
3
|
+
# Time-stamp: <Wed 2015-09-16 21:37 svarrette>
|
4
4
|
################################################################################
|
5
5
|
# Interface for the main Bootstrapping operations
|
6
6
|
#
|
@@ -293,7 +293,7 @@ module FalkorLib
|
|
293
293
|
if remotes.include?( 'origin' )
|
294
294
|
info "perform remote synchronization"
|
295
295
|
[ :master, :develop ].each do |t|
|
296
|
-
FalkorLib::Git.publish(
|
296
|
+
FalkorLib::Git.publish(gitflow_branches[t.to_sym], path, 'origin')
|
297
297
|
end
|
298
298
|
else
|
299
299
|
warning "no Git remote 'origin' found, thus no remote synchronization performed"
|
@@ -508,7 +508,7 @@ module FalkorLib
|
|
508
508
|
end
|
509
509
|
repo(path, options) unless FalkorLib::Git.init?(path)
|
510
510
|
rootdir = FalkorLib::Git.rootdir(path)
|
511
|
-
info "Initiate a LaTeX project from the Git root directory: '#{rootdir}'"
|
511
|
+
info "Initiate a LaTeX #{type} project from the Git root directory: '#{rootdir}'"
|
512
512
|
really_continue? unless options[:force]
|
513
513
|
relative_path_to_root = (Pathname.new( FalkorLib::Git.rootdir(dir) ).relative_path_from Pathname.new( File.realpath(path))).to_s
|
514
514
|
config[:name] = options[:name] ? options[:name] : ask("\tEnter the name of the #{type} project: ", File.basename(path))
|
data/lib/falkorlib/cli/new.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <Tue 2015-06-16
|
3
|
+
# Time-stamp: <Tue 2015-06-16 10:22 svarrette>
|
4
4
|
################################################################################
|
5
5
|
|
6
6
|
require 'thor'
|
@@ -61,6 +61,7 @@ By default, NAME is '.' meaning that the repository will be initialized in the c
|
|
61
61
|
#......................................
|
62
62
|
desc "slides [options]", "Bootstrap LaTeX Beamer slides"
|
63
63
|
method_option :name, :aliases => '-n', :desc => 'Name of the LaTeX project'
|
64
|
+
method_option :dir, :aliases => '-d', :desc => 'Project directory (relative to the git root directory)'
|
64
65
|
#___________________
|
65
66
|
def slides(path = Dir.pwd)
|
66
67
|
FalkorLib::Bootstrap.latex(path, :beamer, options)
|
data/lib/falkorlib/version.rb
CHANGED
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.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastien Varrette
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|