jsong 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -29
- data/lib/jsong/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09216bf36af309e67bfe39a861960b2b1f8b198c'
|
4
|
+
data.tar.gz: 508d7c36c1a03fcdca2642543b159314b0d0377a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03b1506cfeba6c96efeaa1130b9371d823e8ddcf774dae26782df906a7c2e66a8b0ddaacbb5580c380e129c7822e0aad72a9761f308fe08d9cdfbd0da05d9031
|
7
|
+
data.tar.gz: 2e2f69e331808df5cbfe516521451edfbaf84b088a1682326b434655f25e02cde14b4c5c92edbbc729b10752b5a64a90b15a58dddbadc363a68039e78f51f161
|
data/README.md
CHANGED
@@ -1,29 +1,20 @@
|
|
1
1
|
# Jsong
|
2
|
-
|
3
|
-
Jsong is an encoder for the popular JSON-G format, written in Ruby. *Currently only supports PNG.*
|
2
|
+
Jsong is an encoder for the popular JSON-G format, written in Ruby. *This implementation currently only supports PNG.*
|
4
3
|
|
5
4
|
## Installation
|
6
|
-
|
7
5
|
Add this line to your application's Gemfile:
|
8
|
-
|
9
6
|
```ruby
|
10
7
|
gem 'jsong'
|
11
8
|
```
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
Or install it yourself as:
|
18
|
-
|
19
|
-
$ gem install jsong
|
9
|
+
Or install it yourself with:
|
10
|
+
```sh
|
11
|
+
$ gem install jsong
|
12
|
+
```
|
20
13
|
|
21
14
|
## Tested
|
22
|
-
|
23
15
|
Yes
|
24
16
|
|
25
17
|
## Usage
|
26
|
-
|
27
18
|
```rb
|
28
19
|
require 'jsong'
|
29
20
|
|
@@ -34,25 +25,16 @@ jsong_text = Jsong.to_jsong('./sample_data/tomato.png', 'nice tomato')
|
|
34
25
|
Jsong.from_jsong(jsong_text, './sample_data/tomato.png')
|
35
26
|
```
|
36
27
|
|
37
|
-
|
38
|
-
* [json-g.rs Rust crate](https://github.com/zeyla/json-g.rs)
|
39
|
-
* [JSON-G library index](https://github.com/Roadcrosser/JSON-G/blob/master/resources.md)
|
40
|
-
|
41
|
-
|
42
|
-
### Reference
|
28
|
+
## Reference
|
43
29
|
[JSON-G Specification](https://github.com/Roadcrosser/JSON-G/blob/master/spec.md)
|
44
30
|
|
45
|
-
##
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
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).
|
31
|
+
## Similar Projects
|
32
|
+
* [json-g.rs rust crate](https://github.com/zeyla/json-g.rs)
|
33
|
+
* [jsng node module](https://github.com/abalabahaha/jsng)
|
34
|
+
* [JSON-G library index](https://github.com/Roadcrosser/JSON-G/blob/master/resources.md)
|
50
35
|
|
51
36
|
## Contributing
|
52
|
-
|
53
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jsong. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
54
|
-
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/fwrs/jsong. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
55
38
|
|
56
39
|
## License
|
57
|
-
|
58
40
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/lib/jsong/version.rb
CHANGED