varfile 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bb2b77d20b7b2453f958c33e8c8caeb47d636c01
4
+ data.tar.gz: a8ae1496a7b0e066dd4045fd294d18ecd03d7ec3
5
+ SHA512:
6
+ metadata.gz: a56702e3bc89970c7aeb60f8901b997f9d215368d8fb060e0ae581eeced5a8e6f31a4cb5c4840686814e2cd34c40fe121ce3f53aeefa700f68e8800a4f636eeb
7
+ data.tar.gz: 105940914eee8ba80c0013be8811ac6da32241f81029c2dc9e638ccfbc54475be2eedc04ef9a41291c6db8ce698d224b96922e2d11ca30129be7d4629e12be88
data/lib/varfile.rb CHANGED
@@ -84,7 +84,7 @@ module Varfile
84
84
  next if line.strip == ''
85
85
 
86
86
  key, value = line.split '='
87
- content[key] = value.strip
87
+ content[key] = value.to_s.strip
88
88
  end
89
89
  end
90
90
  content
@@ -1,3 +1,3 @@
1
1
  module Varfile
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: varfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Fabrizio Regini
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
11
+ date: 2015-02-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: thor
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -50,27 +47,26 @@ files:
50
47
  - varfile.gemspec
51
48
  homepage: ''
52
49
  licenses: []
50
+ metadata: {}
53
51
  post_install_message:
54
52
  rdoc_options: []
55
53
  require_paths:
56
54
  - lib
57
55
  required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
56
  requirements:
60
- - - ! '>='
57
+ - - '>='
61
58
  - !ruby/object:Gem::Version
62
59
  version: '0'
63
60
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
61
  requirements:
66
- - - ! '>='
62
+ - - '>='
67
63
  - !ruby/object:Gem::Version
68
64
  version: '0'
69
65
  requirements: []
70
66
  rubyforge_project:
71
- rubygems_version: 1.8.23
67
+ rubygems_version: 2.2.1
72
68
  signing_key:
73
- specification_version: 3
69
+ specification_version: 4
74
70
  summary: writes and reads key=value from file
75
71
  test_files:
76
72
  - spec/spec_helper.rb