falkorlib 0.6.16 → 0.6.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/falkorlib/bootstrap/base.rb +2 -2
- data/lib/falkorlib/cli/new.rb +5 -5
- data/lib/falkorlib/cli.rb +2 -2
- data/lib/falkorlib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59ac3eae8ece43dd71cf3f9b3f4f1ef7cec30c0a
|
4
|
+
data.tar.gz: 42397be6e3a9935be905b3c0ebb3904b7225c5aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e579d858584975540d16fea832f08d8859c2d3c2048a5ac48edc70a7b5794682a60c2cf4f7caf734a6862b16fac5ed475b1a33ddea893e544a7468171dbfab05
|
7
|
+
data.tar.gz: 456a0212dad9eaee96d7ded5d0e433a9e8ada44662810e976c7a8a8d9e6a267a5d022b747a600799751e647ef1f479b5053a455e063bc05e2b5fb5ab0d154004
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <Wed 2016-06-29 14:
|
3
|
+
# Time-stamp: <Wed 2016-06-29 14:45 svarrette>
|
4
4
|
################################################################################
|
5
5
|
# Interface for the main Bootstrapping operations
|
6
6
|
#
|
@@ -596,7 +596,7 @@ module FalkorLib
|
|
596
596
|
f = 'beamerthemeFalkor.sty'
|
597
597
|
dst = "#{FalkorLib.config[:git][:submodulesdir]}/beamerthemeFalkor/#{f}"
|
598
598
|
Dir.chdir( srcdir ) do
|
599
|
-
run %{ ln -s
|
599
|
+
run %{ ln -s .root/#{dst} #{f} } unless File.exist?( File.join(srcdir, f) )
|
600
600
|
end
|
601
601
|
end
|
602
602
|
|
data/lib/falkorlib/cli/new.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
3
|
+
# Time-stamp: <Wed 2016-06-29 14:47 svarrette>
|
4
4
|
################################################################################
|
5
5
|
|
6
6
|
require 'thor'
|
@@ -16,7 +16,7 @@ module FalkorLib
|
|
16
16
|
|
17
17
|
|
18
18
|
#map %w[--help -h] => :help
|
19
|
-
|
19
|
+
|
20
20
|
###### commands ######
|
21
21
|
# desc "commands", "Lists available commands" #, :hide => true
|
22
22
|
# def commands
|
@@ -79,13 +79,13 @@ By default, NAME is '.' meaning that the repository will be initialized in the c
|
|
79
79
|
FalkorLib::Bootstrap.latex(path, :letter, options)
|
80
80
|
end # letter
|
81
81
|
|
82
|
-
|
82
|
+
|
83
83
|
|
84
84
|
###### slides ######
|
85
85
|
#......................................
|
86
86
|
desc "slides [options]", "Bootstrap LaTeX Beamer slides"
|
87
87
|
method_option :name, :aliases => '-n', :desc => 'Name of the LaTeX project'
|
88
|
-
method_option :dir, :aliases => '-d', :desc => 'Project directory (relative to the git root directory)'
|
88
|
+
#method_option :dir, :aliases => '-d', :desc => 'Project directory (relative to the git root directory)'
|
89
89
|
#___________________
|
90
90
|
def slides(path = Dir.pwd)
|
91
91
|
FalkorLib::Bootstrap.latex(path, :beamer, options)
|
@@ -165,7 +165,7 @@ RVM_LONG_DESC
|
|
165
165
|
def readme(path = '.')
|
166
166
|
FalkorLib::Bootstrap.readme(path, options)
|
167
167
|
end # readme
|
168
|
-
|
168
|
+
|
169
169
|
end # class New
|
170
170
|
end # module CLI
|
171
171
|
end # module FalkorLib
|
data/lib/falkorlib/cli.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
3
|
+
# Time-stamp: <Wed 2016-06-29 14:41 svarrette>
|
4
4
|
################################################################################
|
5
5
|
# Interface for the CLI
|
6
6
|
#
|
@@ -34,7 +34,7 @@ module FalkorLib
|
|
34
34
|
|
35
35
|
class_option :verbose, :aliases => "-v",
|
36
36
|
:type => :boolean, :desc => "Enable verbose output mode"
|
37
|
-
class_option :debug,
|
37
|
+
class_option :debug,
|
38
38
|
:type => :boolean, :default => FalkorLib.config[:debug], :desc => "Enable debug output mode"
|
39
39
|
class_option :dry_run, :aliases => '-n', :type => :boolean
|
40
40
|
|
data/lib/falkorlib/version.rb
CHANGED