jsup 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb43c475ec3cf9b996b73582b9b8491e297940bd
4
- data.tar.gz: 210af587093787e358d98ec51234f5dbc4012dbe
3
+ metadata.gz: c7677e1ee89480ee068a8b7b453d1724bf438540
4
+ data.tar.gz: 6296bb722ae81540ec4dcb3c4f15346f0470d2ae
5
5
  SHA512:
6
- metadata.gz: 36022e2902e6cb4a30f3dde797d817f1237fc55d6a68620bb9fc4e65f800fbed36641fdc4b5da23febce6e6207d2d90a60df8739f43a4c501b7c45f7d4c3fb5c
7
- data.tar.gz: b1a0b93b1861fe0c7338b53f92ae4478e61f548e2211fd93a278b96e7e85f61a13733ef3b647996016221474d406acc1dc05c9f6736d9ed7497f04beffbffff4
6
+ metadata.gz: 40599767e869e721d779ee9d3698a464c22887b337c87ef78fd7c1a4fc12ecef56d83ee0ffe660bcd8db3dc66c07e384d82bce3749e485a9f79eeb859cd876a3
7
+ data.tar.gz: 389c42c29f540b0d92c6593851994add7ee2e79938727b315698820f4389cc82e1c54bfaa7c8ade8a4956bd37b6fd96b71c31c25f5e2400719657e1fab9c64f5
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Jsup
2
2
  [![Build Status](https://travis-ci.org/wizardone/jsup.svg?branch=master)](https://travis-ci.org/wizardone/jsup)
3
+ [![codecov](https://codecov.io/gh/wizardone/jsup/branch/master/graph/badge.svg)](https://codecov.io/gh/wizardone/jsup)
3
4
 
4
5
  Jsup produces json using oj. It is really fast, simple and reliable. If
5
6
  speed is what you are looking for in your APIs then you should check it
@@ -123,6 +124,8 @@ jbuilder 0.110000 0.000000 0.110000 ( 0.112200)
123
124
  jsup 0.030000 0.000000 0.030000 ( 0.025732)
124
125
  ```
125
126
 
127
+ ### I am welcoming ideas about new features and options for jsup! If you have any, let me know!
128
+
126
129
 
127
130
  ## Development
128
131
 
@@ -2,6 +2,7 @@ class Jsup
2
2
  class Attribute
3
3
 
4
4
  attr_reader :value
5
+
5
6
  def initialize(value)
6
7
  @value = value
7
8
  end
@@ -57,7 +57,6 @@ class Jsup
57
57
  end
58
58
 
59
59
  def add_attribute(method, attribute)
60
- #attributes[method] = Attribute.new(attribute)
61
- attributes[method] = attribute
60
+ attributes[method] = Attribute.new(attribute).value
62
61
  end
63
62
  end
@@ -1,3 +1,3 @@
1
1
  class Jsup
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Slaveykov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-31 00:00:00.000000000 Z
11
+ date: 2017-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.6.8
96
+ rubygems_version: 2.6.13
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Build json fast