hello_gem 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest ADDED
@@ -0,0 +1,4 @@
1
+ Manifest
2
+ Rakefile
3
+ helloworld.gemspec
4
+ lib/hello_gem.rb
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('hello_gem', '0.0.1') do |p|
6
+ p.description = "A gem that illustrates how to build a gem"
7
+ p.url = "http://github.com/jingta/hello_gem"
8
+ p.author = "Jingta"
9
+ p.email = "test @nospam@ gmail.com"
10
+ p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.development_dependencies = []
12
+ end
data/hello_gem.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{hello_gem}
5
+ s.version = "0.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Jingta"]
9
+ s.date = %q{2010-08-17}
10
+ s.description = %q{A gem that illustrates how to build a gem}
11
+ s.email = %q{test @nospam@ gmail.com}
12
+ s.extra_rdoc_files = ["lib/hello_gem.rb"]
13
+ s.files = ["Manifest", "Rakefile", "helloworld.gemspec", "lib/hello_gem.rb", "hello_gem.gemspec"]
14
+ s.homepage = %q{http://github.com/jingta/hello_gem}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Hello_gem"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{hello_gem}
18
+ s.rubygems_version = %q{1.3.7}
19
+ s.summary = %q{A gem that illustrates how to build a gem}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{helloworld}
5
+ s.version = "0.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Jingta"]
9
+ s.date = %q{2010-08-17}
10
+ s.description = %q{A gem that illustrates how to build a gem}
11
+ s.email = %q{test @nospam@ gmail.com}
12
+ s.extra_rdoc_files = ["lib/hello_gem.rb"]
13
+ s.files = ["Rakefile", "lib/hello_gem.rb", "Manifest", "helloworld.gemspec"]
14
+ s.homepage = %q{http://github.com/jingta/hello_gem}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Helloworld"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{helloworld}
18
+ s.rubygems_version = %q{1.3.7}
19
+ s.summary = %q{A gem that illustrates how to build a gem}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
data/lib/hello_gem.rb ADDED
@@ -0,0 +1,5 @@
1
+ module HelloGem
2
+ def self.say_hello
3
+ puts 'hello world'
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hello_gem
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Jingta
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-08-17 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: A gem that illustrates how to build a gem
23
+ email: test @nospam@ gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - lib/hello_gem.rb
30
+ files:
31
+ - Manifest
32
+ - Rakefile
33
+ - helloworld.gemspec
34
+ - lib/hello_gem.rb
35
+ - hello_gem.gemspec
36
+ has_rdoc: true
37
+ homepage: http://github.com/jingta/hello_gem
38
+ licenses: []
39
+
40
+ post_install_message:
41
+ rdoc_options:
42
+ - --line-numbers
43
+ - --inline-source
44
+ - --title
45
+ - Hello_gem
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ hash: 3
54
+ segments:
55
+ - 0
56
+ version: "0"
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ hash: 11
63
+ segments:
64
+ - 1
65
+ - 2
66
+ version: "1.2"
67
+ requirements: []
68
+
69
+ rubyforge_project: hello_gem
70
+ rubygems_version: 1.3.7
71
+ signing_key:
72
+ specification_version: 3
73
+ summary: A gem that illustrates how to build a gem
74
+ test_files: []
75
+