stringio 3.0.2.pre1-java

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.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +44 -0
  3. data/lib/stringio.jar +0 -0
  4. data/lib/stringio.rb +6 -0
  5. metadata +49 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 859ff07e4c5dbc53a6e1db908230b2814cf7ae5a1150b689414467001de754af
4
+ data.tar.gz: f6c11f6cc7bd94ac8b75e44b7c1fe3d7dea6b1b99e3e4b6bd9651a87ab0eadc1
5
+ SHA512:
6
+ metadata.gz: 5ff6f254f5f0f8041b5dfcf47ee9c4a9992cf6df1906f6d0dc53e4de97d15604b0ee0caf14da58f3209ea5a23f987a75dfa1585a39d9af5325cac8354c1dc76c
7
+ data.tar.gz: e43e7e0369149aa97866693e99389c840d365ce67c5b19a2d549e81562960f49a6a491354708d15f9330dfca26581c862e70acfa572562d4f6f65615ddd9b042
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # StringIO
2
+
3
+ ![ubuntu](https://github.com/ruby/stringio/workflows/ubuntu/badge.svg?branch=master&event=push)
4
+ ![macos](https://github.com/ruby/stringio/workflows/macos/badge.svg?branch=master&event=push)
5
+ ![windows](https://github.com/ruby/stringio/workflows/windows/badge.svg?branch=master&event=push)
6
+
7
+ Pseudo `IO` class from/to `String`.
8
+
9
+ This library is based on MoonWolf version written in Ruby. Thanks a lot.
10
+
11
+ ## Differences to `IO`
12
+
13
+ * `fileno` raises `NotImplementedError`.
14
+ * encoding conversion is not implemented, and ignored silently.
15
+
16
+ ## Installation
17
+
18
+ Add this line to your application's Gemfile:
19
+
20
+ ```ruby
21
+ gem 'stringio'
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install stringio
31
+
32
+ ## Development
33
+
34
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
35
+
36
+ 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/stringio.
41
+
42
+ ## License
43
+
44
+ The gem is available as open source under the terms of the [2-Clause BSD License](https://opensource.org/licenses/BSD-2-Clause).
data/lib/stringio.jar ADDED
Binary file
data/lib/stringio.rb ADDED
@@ -0,0 +1,6 @@
1
+ if RUBY_ENGINE == 'jruby'
2
+ require 'stringio.jar'
3
+ JRuby::Util.load_ext("org.jruby.ext.stringio.StringIOLibrary")
4
+ else
5
+ require 'stringio.so'
6
+ end
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: stringio
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.0.2.pre1
5
+ platform: java
6
+ authors:
7
+ - Nobu Nakada
8
+ - Charles Oliver Nutter
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2022-04-15 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Pseudo `IO` class from/to `String`.
15
+ email:
16
+ - nobu@ruby-lang.org
17
+ - headius@headius.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - README.md
23
+ - lib/stringio.jar
24
+ - lib/stringio.rb
25
+ homepage: https://github.com/ruby/stringio
26
+ licenses:
27
+ - Ruby
28
+ - BSD-2-Clause
29
+ metadata: {}
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '2.5'
39
+ required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '2.6'
44
+ requirements: []
45
+ rubygems_version: 3.3.3
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: Pseudo IO on String
49
+ test_files: []