many_versioned_gem 0.0.1

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: 5264df4d03de9134e354fda8c05c948b81bffec6
4
+ data.tar.gz: c63a1143e84af5f23a67d3f553cc1c38cb15af0d
5
+ SHA512:
6
+ metadata.gz: 61d230fcfd7a1bc1298c7c4d98663d549741dd68ba50b1502d09da6968a82086e565552f7e6f8752cf0bef6e3389f848fb0371cef9dc61a9ec4da51a6129329c
7
+ data.tar.gz: 4c08e44379f603aad821f70c29c8276836b3c284ba4dd7b3628b716892278c439eb9b9778d7aaaab202913de00cfbd8bd741b7a19d72436878be29d36009510a
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2018 Robert Schultheis
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,3 @@
1
+ = many_versioned_gem
2
+
3
+ A gem for testing
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.1
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative "../lib/many_versioned_gem"
4
+
5
+ version_str = ManyVersionedGem.version
6
+
7
+ # the only valid usage is --version
8
+ if ARGV == [ "--version" ]
9
+ puts "Version: #{version_str}"
10
+ exit 0
11
+ end
12
+
13
+ puts "Usage: #{$0} --version"
14
+ exit 1
@@ -0,0 +1,10 @@
1
+ module ManyVersionedGem
2
+
3
+ VERSION_FILE_PATH = File.expand_path("../../VERSION", __FILE__)
4
+
5
+ # return string of the current gem version
6
+ def self.version
7
+ IO.read(VERSION_FILE_PATH)
8
+ end
9
+
10
+ end
@@ -0,0 +1,62 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: many_versioned_gem 0.0.1 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "many_versioned_gem".freeze
9
+ s.version = "0.0.1"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Robert Schultheis".freeze]
14
+ s.date = "2018-01-19"
15
+ s.description = "This gem is used for testing".freeze
16
+ s.email = "rschultheis@github.com".freeze
17
+ s.executables = ["many_versioned_gem".freeze]
18
+ s.extra_rdoc_files = [
19
+ "LICENSE.txt",
20
+ "README.rdoc"
21
+ ]
22
+ s.files = [
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "VERSION",
26
+ "bin/many_versioned_gem",
27
+ "lib/many_versioned_gem.rb",
28
+ "many_versioned_gem.gemspec"
29
+ ]
30
+ s.homepage = "http://github.com/rschultheis/many_versioned_gem".freeze
31
+ s.licenses = ["MIT".freeze]
32
+ s.rubygems_version = "2.6.11".freeze
33
+ s.summary = "This is a simple gem, with many versions".freeze
34
+
35
+ if s.respond_to? :specification_version then
36
+ s.specification_version = 4
37
+
38
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
39
+ s.add_runtime_dependency(%q<yajl-ruby>.freeze, ["= 1.3.0"])
40
+ s.add_development_dependency(%q<minitest>.freeze, [">= 0"])
41
+ s.add_development_dependency(%q<rdoc>.freeze, [">= 0"])
42
+ s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
43
+ s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
44
+ s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
45
+ else
46
+ s.add_dependency(%q<yajl-ruby>.freeze, ["= 1.3.0"])
47
+ s.add_dependency(%q<minitest>.freeze, [">= 0"])
48
+ s.add_dependency(%q<rdoc>.freeze, [">= 0"])
49
+ s.add_dependency(%q<bundler>.freeze, [">= 0"])
50
+ s.add_dependency(%q<jeweler>.freeze, [">= 0"])
51
+ s.add_dependency(%q<simplecov>.freeze, [">= 0"])
52
+ end
53
+ else
54
+ s.add_dependency(%q<yajl-ruby>.freeze, ["= 1.3.0"])
55
+ s.add_dependency(%q<minitest>.freeze, [">= 0"])
56
+ s.add_dependency(%q<rdoc>.freeze, [">= 0"])
57
+ s.add_dependency(%q<bundler>.freeze, [">= 0"])
58
+ s.add_dependency(%q<jeweler>.freeze, [">= 0"])
59
+ s.add_dependency(%q<simplecov>.freeze, [">= 0"])
60
+ end
61
+ end
62
+
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: many_versioned_gem
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Robert Schultheis
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: yajl-ruby
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.3.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.3.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rdoc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jeweler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: This gem is used for testing
98
+ email: rschultheis@github.com
99
+ executables:
100
+ - many_versioned_gem
101
+ extensions: []
102
+ extra_rdoc_files:
103
+ - LICENSE.txt
104
+ - README.rdoc
105
+ files:
106
+ - LICENSE.txt
107
+ - README.rdoc
108
+ - VERSION
109
+ - bin/many_versioned_gem
110
+ - lib/many_versioned_gem.rb
111
+ - many_versioned_gem.gemspec
112
+ homepage: http://github.com/rschultheis/many_versioned_gem
113
+ licenses:
114
+ - MIT
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubyforge_project:
132
+ rubygems_version: 2.6.11
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: This is a simple gem, with many versions
136
+ test_files: []