tluong_test_gem 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,13 +5,12 @@ module TestGem
5
5
 
6
6
  def self.first file
7
7
  f = File.open(file, "r");
8
- f.gets
8
+ f.gets.chomp!
9
9
  end
10
10
 
11
11
  def self.last file
12
12
  f = File.open(file, "r");
13
- lines = f.readlines
14
- lines[-1]
13
+ f.readlines[-1]
15
14
  end
16
15
  end
17
16
 
@@ -2,6 +2,6 @@ module TestGem
2
2
 
3
3
  puts "file version.rb required"
4
4
 
5
- VERSION = "0.0.2"
5
+ VERSION = "0.0.3"
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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: