petes_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.
@@ -9,7 +9,6 @@ module TestGem
9
9
  end
10
10
 
11
11
 
12
-
13
12
  def first
14
13
  @lines[0]
15
14
  end
@@ -1,3 +1,3 @@
1
1
  module TestGem
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/test_gem.gemspec CHANGED
@@ -4,18 +4,18 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'test_gem/version'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
- gem.name = "petes_test_gem"
8
- gem.version = TestGem::VERSION
9
- gem.authors = ["Peter Bomars"]
10
- gem.email = ["pbomars@gmail.com"]
11
- gem.description = %q{Test gem Week5 Homework}
12
- gem.summary = %q{Simple gem that demonstrates File and Module}
13
- gem.homepage = ""
14
- gem.license = "MIT"
7
+ gem.name = "petes_test_gem"
8
+ gem.version = TestGem::VERSION
9
+ gem.authors = ["Peter Bomars"]
10
+ gem.email = ["pbomars@gmail.com"]
11
+ gem.description = %q{Test gem Week5 Homework}
12
+ gem.summary = %q{Simple gem that demonstrates File and Module}
13
+ gem.homepage = ""
14
+ gem.license = "MIT"
15
15
 
16
- gem.files = `git ls-files`.split($/)
17
- gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
16
+ gem.files = `git ls-files`.split($/)
17
+ gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
21
  gem.add_development_dependency "rake"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: petes_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:
@@ -48,7 +48,6 @@ email:
48
48
  - pbomars@gmail.com
49
49
  executables:
50
50
  - test.text
51
- - test_gem.rb
52
51
  extensions: []
53
52
  extra_rdoc_files: []
54
53
  files:
@@ -60,7 +59,6 @@ files:
60
59
  - README.md
61
60
  - Rakefile
62
61
  - bin/test.text
63
- - bin/test_gem.rb
64
62
  - lib/test.text
65
63
  - lib/test_gem.rb
66
64
  - lib/test_gem/my_file.rb
data/bin/test_gem.rb DELETED
@@ -1,19 +0,0 @@
1
- #! /usr/bin/ruby -w
2
- lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
3
- $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)
4
-
5
- require 'test_gem'
6
-
7
- print "enter a filename here: "
8
- this = gets.chomp
9
-
10
- begin
11
- thing = TestGem::MyFile.new(this)
12
-
13
- puts thing.first
14
- puts thing.last
15
-
16
- rescue => err
17
- puts "Exception: #{err}"
18
- err
19
- end