config_templates 0.0.8 → 1.0.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: 180914fa777be298b2a8ae21914b2b475c123ac5
4
- data.tar.gz: bb777a528c4758f3917004c7f7ecdc1be7a0fc2f
3
+ metadata.gz: 2fea41b43ab1e4aa04064072c84739edaae30424
4
+ data.tar.gz: 1f983e8528f0bdec2a5d472fd9fe8dce2af49bb4
5
5
  SHA512:
6
- metadata.gz: e4b07b4c6c24ed9f812fdb8b2252adbfcc18d57ed3bf978d716368d6551778676e79c56e9248121de9627ed7533c6f7b06d0d512d6fa24b1c20a5ef666c03481
7
- data.tar.gz: a844b8ecb6f74a356c7d3c3a8680f7caddcbaa80f096c59959280f2caad47aa455e55049707c5e224ca9eba01f7ce0b6f8e97a210abcb52a5fd289dcafccfd21
6
+ metadata.gz: f53d36f5f37d87ed7cc3d4fea3b8ca1244db8e2d6947e720051d5d332c1d742418768b5b1410cfbff9f71613791cb2acec65ac36cf2d2b618b521427533dbc63
7
+ data.tar.gz: ef51cafcc3f71dc9c7849bd8d939e831774bba20bbba3f44ec374a6af60ec41c76adbed99853cf191a102d22d2e9b71f58e345a0a3282785c8d373f0b1483e68
@@ -4,7 +4,7 @@ module ConfigTemplates::Engines
4
4
  template
5
5
  end
6
6
 
7
- def prepare_file_name(file_name)
7
+ def output_file_name(file_name)
8
8
  file_name
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module ConfigTemplates
2
- VERSION = '0.0.8'.freeze
2
+ VERSION = '1.0.0'.freeze
3
3
  end
@@ -11,7 +11,7 @@ RSpec.describe ::ConfigTemplates do
11
11
 
12
12
  it 'renders selected template using configs and environment metadata' do
13
13
  compilation = ::ConfigTemplates::Models::Compilation.new
14
- compilation.select(/.*/).send_to(:test)
14
+ compilation.reject(/.*/).select('kapacitor/config.erb').send_to(:test)
15
15
  expect(@output_mock.result.strip).to eq('true')
16
16
  end
17
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - g.ivanov