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: 41cf1812507626ce7b0667e4356fa5b312ff45ab
4
- data.tar.gz: 0c25f1428c8a36b9aecfb19be41679883aead93b
3
+ metadata.gz: 49183f8bdfb4ca4504c1aa9aedc4907000dfdbaf
4
+ data.tar.gz: b0eeb00bd381bd05d39587babb7032b0fc6769a7
5
5
  SHA512:
6
- metadata.gz: 4530b721c14523c1eb99db1db0b40a09fbb9991f2518206f1b4f93be908d5d63196cb705aa32761624f38ab2a7756b7b31d0c333191fcc42acf4267e12dfae49
7
- data.tar.gz: 67355b7d06502993823aa49b597bcf4ef10571b2bce3f52a161bde77dd9dc346566d8ec35cf2fbe854484d4f6164029f6022c9ec4b0956ef3e7d7cdb27b1edb7
6
+ metadata.gz: bda09d8ae28326f9db2458134f78da9d4f1cbbacb4b5a31cad6aeaf877f8b2c41a535c0cca1f935f44a94fae89436f691d36821c8ad731c51356b3e242faa1c4
7
+ data.tar.gz: af4d25f8d054dc5e129d63293a14c8194f947ac77684189871abf40a7ee59b5e03fb4fc748bf1327b04c639a369fe21faedce0e072166b9a89c1288ae363b24c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- falkorlib (0.5.1)
4
+ falkorlib (0.5.2)
5
5
  artii (>= 2.1)
6
6
  awesome_print (~> 1.2)
7
7
  configatron (~> 3.2)
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  ################################################################################
3
- # Time-stamp: <Fri 2015-05-15 23:24 svarrette>
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 18:24 svarrette>
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'
@@ -19,7 +19,7 @@ module FalkorLib #:nodoc:
19
19
  # MAJOR: Defines the major version
20
20
  # MINOR: Defines the minor version
21
21
  # PATCH: Defines the patch version
22
- MAJOR, MINOR, PATCH = 0, 5, 1
22
+ MAJOR, MINOR, PATCH = 0, 5, 2
23
23
 
24
24
  module_function
25
25
 
@@ -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] %>) | [Sources](<%= config[:source] %>) | [Documentation](http://<%= config[:docs_project] %>.readthedocs.org/en/latest/) | [Issues](<%= config[:issues_url] %>) |
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[:name].downcase.gsub(/\//,'-') %>.readthedocs.org/en/latest/) management.
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 [<%= config[:name] %>](<%= 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).
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
 
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.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Varrette