ldclibruby 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 259497cc59a966e0b1ea94886b74f45ddc7070be6221674676d0cec00f9091e4
4
+ data.tar.gz: 33cc6b9068022ed3dc50158dd378ea686d6f8d09d3644dae9269b113db3a2c20
5
+ SHA512:
6
+ metadata.gz: 2ae8dc7e2cf0df83060cbbb5935ca78b96681cea966749760fba16e593fb9bc19115ffd3e73117349a8d658aa1f2ee5f140d22bd1f411873f66c473a233fe7ae
7
+ data.tar.gz: cf31a1b076e3e065b3d132a7c66632fbb4b40daffa261ddb0ed84bf2cc28fcaa40540fd6fd22070538a7e3da7f1315c410b524e5269aca0217a8a39261be6dc2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,67 @@
1
+ # Ldclibruby
2
+
3
+ A simple hello world Ruby gem for testing the deployment lifecycle.
4
+
5
+ ## Installation
6
+
7
+ Install the gem by running:
8
+
9
+ ```bash
10
+ gem install ldclibruby
11
+ ```
12
+
13
+ Or add this line to your application's Gemfile:
14
+
15
+ ```ruby
16
+ gem 'ldclibruby'
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ ```bash
22
+ bundle install
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ### Command Line
28
+
29
+ Run the hello world command:
30
+
31
+ ```bash
32
+ ldclibruby
33
+ ```
34
+
35
+ ### In Ruby Code
36
+
37
+ ```ruby
38
+ require 'ldclibruby'
39
+
40
+ # Print a greeting
41
+ Ldclibruby::Hello.run
42
+
43
+ # Or customize the greeting
44
+ puts Ldclibruby::Hello.greet("Ruby Developer")
45
+ ```
46
+
47
+ ## Development
48
+
49
+ After checking out the repo, run `bundle install` to install dependencies.
50
+
51
+ To build the gem:
52
+
53
+ ```bash
54
+ rake build
55
+ ```
56
+
57
+ To install this gem onto your local machine:
58
+
59
+ ```bash
60
+ rake install
61
+ ```
62
+
63
+ To release a new version, update the version number in `lib/ldclibruby/version.rb`, and then run `rake release`.
64
+
65
+ ## License
66
+
67
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/bin/ldclibruby ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require_relative "../lib/ldclibruby"
5
+
6
+ Ldclibruby::Hello.run
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ldclibruby
4
+ class Hello
5
+ def self.greet(name = "World")
6
+ "Hello, #{name}!"
7
+ end
8
+
9
+ def self.run
10
+ puts greet
11
+ puts "Welcome to ldclibruby gem v#{VERSION}"
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ldclibruby
4
+ VERSION = "0.1.0"
5
+ end
data/lib/ldclibruby.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "ldclibruby/version"
4
+ require_relative "ldclibruby/hello"
5
+
6
+ module Ldclibruby
7
+ class Error < StandardError; end
8
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ldclibruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jonathan D. Wright
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: rake
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '13.0'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '13.0'
26
+ description: Some functionality for LDC related work
27
+ email:
28
+ - jdwright@ldc.upenn.edu
29
+ executables:
30
+ - ldclibruby
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - bin/ldclibruby
37
+ - lib/ldclibruby.rb
38
+ - lib/ldclibruby/hello.rb
39
+ - lib/ldclibruby/version.rb
40
+ homepage: https://github.com/Linguistic-Data-Consortium/ldclibruby
41
+ licenses:
42
+ - MIT
43
+ metadata:
44
+ homepage_uri: https://github.com/Linguistic-Data-Consortium/ldclibruby
45
+ source_code_uri: https://github.com/Linguistic-Data-Consortium/ldclibruby
46
+ changelog_uri: https://github.com/Linguistic-Data-Consortium/ldclibruby/blob/main/CHANGELOG.md
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.6.0
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubygems_version: 3.6.7
62
+ specification_version: 4
63
+ summary: LDC related functionality
64
+ test_files: []