falkorlib 0.4.10 → 0.5.0

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: bb9026fd0b9b55a2bb876da343ee6725ff02c1f5
4
- data.tar.gz: 2165d90daf5a3278461745deb8d3060c34f7d0f2
3
+ metadata.gz: 38bfe617392f042fbe43a3e60b45d33f87b94c88
4
+ data.tar.gz: 2cb0eb72bca03898d749989e5b2866a903198384
5
5
  SHA512:
6
- metadata.gz: f7abcd32ab1434af8a3e264f8bb7f133f44cb171c2854df8b2266ada84d2949860062831d3dc55262e30e3f9d3a6c914acced9662b7def46ad87040ec9d282c8
7
- data.tar.gz: f146b8c4e47ae0222bce5cddf503366a8277fbd822e233247f38375a7b89b230a8777398814a822e498c1a0eae1ec29a9bf622e4c2b1477b2ba4be39364ea801
6
+ metadata.gz: b1aa919917033fe8fd0f9cc6dca58fb7d60bf4da33ae99904e900fc8eaf5ef475ee8fec187e6b41926a585194c450bab65d428dd36aa435fa765b8b93ff3cc98
7
+ data.tar.gz: a765a716ba617bf32a40f17ead40ae5e322a77d43046b80c15a48b200ad1b76589acea7247206bf6077b0657ca7575bf4757e82c64d7f14cd695ee046594fe7e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- falkorlib (0.4.10)
4
+ falkorlib (0.5.0)
5
5
  artii (>= 2.1)
6
6
  awesome_print (~> 1.2)
7
7
  configatron (~> 3.2)
@@ -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-08 15:33 svarrette>
4
+ # Time-stamp: <Fri 2015-05-08 17:06 svarrette>
5
5
  #
6
6
  # Copyright (c) 2014 Sebastien Varrette <Sebastien.Varrette@uni.lu>
7
7
  # http://varrette.gforge.uni.lu
@@ -170,7 +170,7 @@ exclude_tests_paths = ['pkg/**/*','spec/**/*']
170
170
  #
171
171
  require 'puppet-lint/tasks/puppet-lint'
172
172
 
173
- #PuppetLint.configuration.send('disable_autoloader_layout')
173
+ PuppetLint.configuration.send('disable_autoloader_layout')
174
174
  PuppetLint.configuration.send('disable_class_inherits_from_params_class')
175
175
  PuppetLint.configuration.send('disable_80chars')
176
176
  PuppetLint.configuration.ignore_paths = exclude_tests_paths
@@ -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, 4, 10
22
+ MAJOR, MINOR, PATCH = 0, 5, 0
23
23
 
24
24
  module_function
25
25
 
@@ -73,3 +73,4 @@ module FalkorLib #:nodoc:
73
73
  end
74
74
 
75
75
 
76
+
@@ -65,9 +65,10 @@ See also [`tests/init.pp`](tests/init.pp)
65
65
 
66
66
  <% unless config[:classes].nil? %>
67
67
  <% config[:classes].each do |cl| %>
68
+ <% next if cl == config[:shortname] %>
68
69
  ### Class `<%= cl %>`
69
70
 
70
- See `tests/<%= cl.gsub(/::/, '/') %>.pp`
71
+ See [`tests/<%= cl.gsub("#{config[:shortname]}::", "").gsub(/::/, '/') %>.pp`](tests/<%= cl.gsub("#{config[:shortname]}::", "").gsub(/::/, '/') %>.pp)
71
72
  <% end %>
72
73
  <% end %>
73
74
 
@@ -88,7 +89,7 @@ Example:
88
89
  ensure => 'present',
89
90
  }
90
91
 
91
- See also `tests/<%= de.gsub(/::/, '/') %>.pp`
92
+ See also [`tests/<%= de.gsub("#{config[:shortname]}::", "").gsub("#{config[:shortname]}::", "").gsub(/::/, '/') %>.pp`](tests/<%= de.gsub("#{config[:shortname]}::", "").gsub("#{config[:shortname]}::", "").gsub(/::/, '/') %>.pp)
92
93
 
93
94
  <% end %>
94
95
  <% end %>
@@ -17,12 +17,12 @@ If you want to contribute to the code, you shall be aware of the way this module
17
17
  <% unless config[:classes].nil? %>
18
18
  <% config[:classes].each do |cl| %>
19
19
  <% next if cl =~ /params/ %>
20
- `-- <%= cl.gsub(/::/, '/') %>.pp
20
+ `-- <%= cl.gsub("#{config[:shortname]}::", "").gsub(/::/, '/') %>.pp
21
21
  <% end %>
22
22
  <% end %>
23
23
  <% unless config[:definitions].nil? %>
24
24
  <% config[:definitions].each do |de| %>
25
- `-- <%= de.gsub(/::/, '/') %>.pp
25
+ `-- <%= de.gsub("#{config[:shortname]}::", "").gsub(/::/, '/') %>.pp
26
26
  <% end %>
27
27
  <% end %>
28
28
  `-- templates/ # Module ERB template files
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.4.10
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Varrette