falkorlib 0.5.1 → 0.5.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49183f8bdfb4ca4504c1aa9aedc4907000dfdbaf
|
4
|
+
data.tar.gz: b0eeb00bd381bd05d39587babb7032b0fc6769a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bda09d8ae28326f9db2458134f78da9d4f1cbbacb4b5a31cad6aeaf877f8b2c41a535c0cca1f935f44a94fae89436f691d36821c8ad731c51356b3e242faa1c4
|
7
|
+
data.tar.gz: af4d25f8d054dc5e129d63293a14c8194f947ac77684189871abf40a7ee59b5e03fb4fc748bf1327b04c639a369fe21faedce0e072166b9a89c1288ae363b24c
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <Fri 2015-05-15 23:
|
3
|
+
# Time-stamp: <Fri 2015-05-15 23:58 svarrette>
|
4
4
|
################################################################################
|
5
5
|
# Interface for the main Puppet Module operations
|
6
6
|
#
|
@@ -70,7 +70,7 @@ module FalkorLib #:nodoc:
|
|
70
70
|
error "Undefined type #{type}" if t.empty?
|
71
71
|
result = []
|
72
72
|
Dir["#{moduledir}/manifests/**/*.pp"].each do |ppfile|
|
73
|
-
puts "=> testing #{ppfile}"
|
73
|
+
#puts "=> testing #{ppfile}"
|
74
74
|
File.read(ppfile).scan(/^[ \t]*#{t}[\s]+([0-9a-zA-z:-]+).*$/).each do |line|
|
75
75
|
result << line[0]
|
76
76
|
end
|
@@ -191,7 +191,6 @@ module FalkorLib #:nodoc:
|
|
191
191
|
:extras => false,
|
192
192
|
:no_interaction => options[:no_interaction]
|
193
193
|
})
|
194
|
-
puts "**********************"
|
195
194
|
puts metadata.to_yaml
|
196
195
|
# error "The module #{name} does not exist" unless File.directory?( moduledir )
|
197
196
|
jsonfile = File.join( moduledir, 'metadata.json')
|
@@ -253,8 +252,8 @@ module FalkorLib #:nodoc:
|
|
253
252
|
jsonfile = File.join( moduledir, 'metadata.json')
|
254
253
|
error "Unable to find #{jsonfile}" unless File.exist?( jsonfile )
|
255
254
|
metadata = JSON.parse( IO.read( jsonfile ) )
|
255
|
+
metadata["docs_project"] = ask("\tRead the Docs (RTFD) project:", "#{metadata['name'].downcase.gsub(/\//,'-puppet-')}") if metadata["docs_project"].nil?
|
256
256
|
if add_extras
|
257
|
-
metadata["docs_project"] = ask("\tRead the Docs (RTFD) project:", "#{name.downcase.gsub(/\//,'-puppet-')}") if metadata["docs_project"].nil?
|
258
257
|
metadata[:shortname] = name.gsub(/.*-/, '')
|
259
258
|
metadata[:platforms] = []
|
260
259
|
metadata["operatingsystem_support"].each do |e|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
3
|
# puppet_modules.rake - Special tasks for the management of Puppet modules
|
4
|
-
# Time-stamp: <Fri 2015-05-15
|
4
|
+
# Time-stamp: <Fri 2015-05-15 23:41 svarrette>
|
5
5
|
#
|
6
6
|
# Copyright (c) 2014 Sebastien Varrette <Sebastien.Varrette@uni.lu>
|
7
7
|
# http://varrette.gforge.uni.lu
|
@@ -136,7 +136,7 @@ namespace :templates do
|
|
136
136
|
when 'readme'
|
137
137
|
[ 'README.md' ]
|
138
138
|
when 'docs'
|
139
|
-
[ 'contacts.md', 'contributing/index.md', 'contributing/layout.md', 'contributing/setup.md', 'contributing/versioning.md', 'index.md', 'rtfd.md', 'vagrant.md' ]
|
139
|
+
[ 'docs/contacts.md', 'docs/contributing/index.md', 'docs/contributing/layout.md', 'docs/contributing/setup.md', 'docs/contributing/versioning.md', 'docs/index.md', 'docs/rtfd.md', 'docs/vagrant.md' ]
|
140
140
|
when 'rake'
|
141
141
|
[ 'Gemfile', 'Rakefile' ]
|
142
142
|
when 'vagrant'
|
data/lib/falkorlib/version.rb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
Copyright (c) <%= Time.now.year %> <%= config[:author] %> <<%= config[:mail] %>>
|
11
11
|
|
12
|
-
| [Project Page](<%= config[:project_page] %>) | [
|
12
|
+
| [Project Page](<%= config[:project_page] %>) | [Documentation](http://<%= config[:docs_project] %>.readthedocs.org/en/latest/) | [Issues](<%= config[:issues_url] %>) |
|
13
13
|
|
14
14
|
|
15
15
|
-----------
|
@@ -26,6 +26,6 @@ It proposes to detail the following elements:
|
|
26
26
|
- the steps to follow to [setup this repository](contributing/setup.md)
|
27
27
|
- information as regard the [semantic versioning](contributing/versioning.md) of this Puppet module.
|
28
28
|
- Apart form the directory layout, we will cover various configuration aspects ([git-flow](https://github.com/nvie/gitflow), [RVM](https://rvm.io/), [Bundler](http://bundler.io/) etc.)
|
29
|
-
* Details on the [Read the Docs](http://<%= config[:
|
29
|
+
* Details on the [Read the Docs](http://<%= config[:docs_project] %>.readthedocs.org/en/latest/) management.
|
30
30
|
|
31
31
|
|
@@ -2,7 +2,7 @@ The documentation for this puppet module is handled by [Read the Docs](https://r
|
|
2
2
|
|
3
3
|
* [Reference documentation](https://docs.readthedocs.org/en/latest/)
|
4
4
|
|
5
|
-
By default, the [
|
5
|
+
By default, the [puppet-<%= config[:shortname] %>](<%= config[:project_page] %>) repository is bound to the [<%= config[:docs_project] %>](http://<%= config[:docs_project] %>.rtfd.org) project on Read the Docs (to avoid confusion with other <%= config[:shortname] %> projects).
|
6
6
|
|
7
7
|
You might wish to generate locally the docs:
|
8
8
|
|