README.md in rasn1-0.1.0 vs README.md in rasn1-0.2.0
- old
+ new
@@ -1,5 +1,7 @@
+[![Gem Version](https://badge.fury.io/rb/rasn1.svg)](https://badge.fury.io/rb/rasn1)
+
# Rasn1
Rasn1 will be a ruby ASN.1 library to encode, parse and decode ASN.1 data in DER format.
## Installation
@@ -45,10 +47,10 @@
```ruby
class ComplexRecord < RASN1::Model
sequence :cplx_record,
content: [boolean(:bool),
octet_string(:data, explicit: 0),
- Record]
+ model(:a_record, Record)]
end
```
## Parse a DER-encoded string
```ruby