tluong_test_gem 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,13 +11,12 @@ module TestGem
11
11
 
12
12
  def self.init_config
13
13
  puts "called init_config"
14
+ config = {
15
+ default_file_name: 'default_file.txt',
16
+ supported_types: ['txt', 'pdf']
17
+ }
14
18
  File.open('config.yml', 'w') do |f|
15
- f.puts <<-EOF
16
- default_file_name: default_file.txt
17
- supported_types:
18
- - txt
19
- - pdf
20
- EOF
19
+ f.puts config.to_yaml
21
20
  end
22
21
  end
23
22
 
@@ -2,6 +2,6 @@ module TestGem
2
2
 
3
3
  puts "file version.rb required"
4
4
 
5
- VERSION = "0.0.4"
5
+ VERSION = "0.0.5"
6
6
 
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tluong_test_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: