stringio 3.0.2-java

Sign up to get free protection for your applications and to get access to all the features.
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: 421ab7a745383238bdebf710981da36180883105b05304b66f11cb5b52242669
4
+ data.tar.gz: 399a53540b137a314433d53890b883e491779459e317fd4dde672e95bcc6d5b9
5
+ SHA512:
6
+ metadata.gz: 478a58a051f7fa73f1fe15fce7a0bb6568258d224352cc5ab4bea9c279b8041a36957b0791cbb501a49baed81c5769a6fee3dcd8f230dafa4c1263b6484a7773
7
+ data.tar.gz: 29d71be375ac122ed72e9afc6f1034d1625a437860cc87bef45739ea32a138094c9ecfe09bb1e405dd1b3150bb607b8437b9331ca6fc0b5feda8f94c884900fa
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
5
+ platform: java
6
+ authors:
7
+ - Nobu Nakada
8
+ - Charles Oliver Nutter
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2022-05-09 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: []