ja_test_gem 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/Rakefile +8 -2
- data/ja_test_gem.gemspec +30 -15
- data/lib/ja_test_gem/version.rb +3 -1
- data/lib/ja_test_gem.rb +6 -7
- data/sig/ja_test_gem.rbs +4 -0
- metadata +34 -57
- data/.gitignore +0 -3
- data/Gemfile +0 -4
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1f0de97f279e7835c395106c6647e3ab711d0f1e5cc4fea8fa7f7d36e85024e8
|
4
|
+
data.tar.gz: 31a14520b94a3e49c440a1064c5efe03444a412f577975323da1491ac3c5c9af
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b0c8199d8a102bb9b5ce484d26b0c231c07270479f3d66f9e2a19f92973894762feec75c3950e224eb3827d2e0aaf63f96e47475a08f92559f6a4cb7615bbf9e
|
7
|
+
data.tar.gz: 50e06ea34e814d7b94c4304ff099f80557d130d7aef77b80e5a0520153ac44322d71de581ffc6b19defc7efdbf19720e2d8eb008e55f3bb29dc4b7f287ade5ea
|
data/.rspec
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2024 Jon Allured
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# JaTestGem
|
2
|
+
|
3
|
+
TODO: Delete this and the text below, and describe your gem
|
4
|
+
|
5
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ja_test_gem`. To experiment with that code, run `bin/console` for an interactive prompt.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
10
|
+
|
11
|
+
Install the gem and add to the application's Gemfile by executing:
|
12
|
+
|
13
|
+
$ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
14
|
+
|
15
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
|
+
|
17
|
+
$ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Development
|
24
|
+
|
25
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
26
|
+
|
27
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
28
|
+
|
29
|
+
## Contributing
|
30
|
+
|
31
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/jonallured/ja_test_gem.
|
32
|
+
|
33
|
+
## License
|
34
|
+
|
35
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
CHANGED
data/ja_test_gem.gemspec
CHANGED
@@ -1,19 +1,34 @@
|
|
1
|
-
#
|
2
|
-
require File.expand_path("../lib/ja_test_gem/version", __FILE__)
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
|
5
|
-
s.name = "ja_test_gem"
|
6
|
-
s.version = JaTestGem::VERSION
|
7
|
-
s.platform = Gem::Platform::RUBY
|
8
|
-
s.authors = ["Jon Allured"]
|
9
|
-
s.email = ["jon.allured@me.com"]
|
10
|
-
s.homepage = "http://rubygems.org/gems/ja_test_gem"
|
11
|
-
s.summary = "this gems is just a test"
|
12
|
-
s.description = "i wanted a gem where i could try a couple things out because i'm new to gem development, so that's what this is"
|
3
|
+
require_relative "lib/ja_test_gem/version"
|
13
4
|
|
14
|
-
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "ja_test_gem"
|
7
|
+
spec.version = JaTestGem::VERSION
|
8
|
+
spec.authors = ["Jon Allured"]
|
9
|
+
spec.email = ["jon@jonallured.com"]
|
15
10
|
|
16
|
-
|
17
|
-
|
18
|
-
|
11
|
+
spec.summary = "This gem is just a test."
|
12
|
+
spec.description = "I wanted a gem where I could try things out so that's what this is."
|
13
|
+
spec.homepage = "https://github.com/jonallured/ja_test_gem"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 2.6.0"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
|
19
|
+
spec.files = Dir.chdir(__dir__) do
|
20
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
21
|
+
(File.expand_path(f) == __FILE__) ||
|
22
|
+
f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
|
23
|
+
end
|
24
|
+
end
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
# Uncomment to register a new dependency of your gem
|
30
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
31
|
+
|
32
|
+
# For more information and examples about making a new gem, check out our
|
33
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
19
34
|
end
|
data/lib/ja_test_gem/version.rb
CHANGED
data/lib/ja_test_gem.rb
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
puts "File.expand_path(File.dirname(__FILE__)) => #{File.expand_path(File.dirname(__FILE__))}"
|
5
|
-
puts "========================"
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "ja_test_gem/version"
|
6
4
|
|
7
5
|
module JaTestGem
|
8
|
-
|
9
|
-
|
6
|
+
class Error < StandardError; end
|
7
|
+
# Your code goes here...
|
8
|
+
end
|
data/sig/ja_test_gem.rbs
ADDED
metadata
CHANGED
@@ -1,75 +1,52 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ja_test_gem
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Jon Allured
|
14
|
-
autorequire:
|
15
|
-
bindir:
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2010-12-20 00:00:00 -06:00
|
19
|
-
default_executable:
|
11
|
+
date: 2024-08-18 00:00:00.000000000 Z
|
20
12
|
dependencies: []
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
- jon.allured@me.com
|
13
|
+
description: I wanted a gem where I could try things out so that's what this is.
|
14
|
+
email:
|
15
|
+
- jon@jonallured.com
|
25
16
|
executables: []
|
26
|
-
|
27
17
|
extensions: []
|
28
|
-
|
29
18
|
extra_rdoc_files: []
|
30
|
-
|
31
|
-
|
32
|
-
- .
|
33
|
-
-
|
19
|
+
files:
|
20
|
+
- ".rspec"
|
21
|
+
- LICENSE.txt
|
22
|
+
- README.md
|
34
23
|
- Rakefile
|
35
24
|
- ja_test_gem.gemspec
|
36
25
|
- lib/ja_test_gem.rb
|
37
26
|
- lib/ja_test_gem/version.rb
|
38
|
-
|
39
|
-
homepage:
|
40
|
-
licenses:
|
41
|
-
|
42
|
-
|
27
|
+
- sig/ja_test_gem.rbs
|
28
|
+
homepage: https://github.com/jonallured/ja_test_gem
|
29
|
+
licenses:
|
30
|
+
- MIT
|
31
|
+
metadata:
|
32
|
+
homepage_uri: https://github.com/jonallured/ja_test_gem
|
33
|
+
post_install_message:
|
43
34
|
rdoc_options: []
|
44
|
-
|
45
|
-
require_paths:
|
35
|
+
require_paths:
|
46
36
|
- lib
|
47
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
-
|
49
|
-
requirements:
|
37
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
50
39
|
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
version: "0"
|
56
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 2.6.0
|
42
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
59
44
|
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
segments:
|
63
|
-
- 1
|
64
|
-
- 3
|
65
|
-
- 6
|
66
|
-
version: 1.3.6
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
67
47
|
requirements: []
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
specification_version: 3
|
73
|
-
summary: this gems is just a test
|
48
|
+
rubygems_version: 3.5.4
|
49
|
+
signing_key:
|
50
|
+
specification_version: 4
|
51
|
+
summary: This gem is just a test.
|
74
52
|
test_files: []
|
75
|
-
|
data/.gitignore
DELETED
data/Gemfile
DELETED