rixml 0.4.3 → 0.4.4

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 +4 -4
  2. data/lib/rixml.rb +1 -1
  3. data/release +9 -0
  4. data/rixml.gemspec +1 -1
  5. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 356fc0e585ea0acb2dcea1570fd942ceab32099a
4
- data.tar.gz: 5090a9f55caa18d1800db21d672cb49de0de4975
3
+ metadata.gz: b3ec09347f9965a9de601145c53b4aac0c6a2a11
4
+ data.tar.gz: c9d651d7bdede104f33df0a58bd4670b7dbbbe06
5
5
  SHA512:
6
- metadata.gz: 99fe8b93e4a6e7fdda94cc4b3dac15d1a15aeef645b32c868ea333ab97fef72d8fe51a90cce92a6a5ac5c5b48686c49125a68dad14d3e2c39b3f176de507fe16
7
- data.tar.gz: a9bed8ff4d2a3e3763fc6ac0a52992df110083e139a1edee0065c13286fd3e53369bbb7efa186d2c59a072a48372cc17c00d37a698437a5c7b7d13b6d2ecbfcc
6
+ metadata.gz: c03a6d087d2e3890c858b9d5415ff1748368790db9905d7832c6b1534ba2c03dd99133ebc64ab07c3ea2b09f9f7710eb3924b302db3a61a0a08604be1feaf5b8
7
+ data.tar.gz: db916765cc4db5693f5006ffa70a8fb077f5de1f8a441341632cf069fdc9a4c0f30e82860f4f9bdde6e9d85988662ea2703cc5455ae94f7966f7ee69e050c69e
@@ -64,7 +64,7 @@ class RIXML
64
64
  abstract: content['Abstract'],
65
65
  synopsis: content['Synopsis'],
66
66
  file_name: content['Resource']&.dig('Name'),
67
- length: resource_length(content['Resource'])
67
+ pages: resource_length(content['Resource'])
68
68
  }
69
69
  end
70
70
 
data/release ADDED
@@ -0,0 +1,9 @@
1
+ #!/bin/bash
2
+ cp rixml.gemspec rixml.gemspec.backup
3
+ sed -i.bak s/0.0.0/$1/g rixml.gemspec
4
+ sed -i.bak s/2001-01-01/`date +%Y-%m-%d`/g rixml.gemspec
5
+ gem build rixml.gemspec
6
+ mv rixml.gemspec.backup rixml.gemspec
7
+ gem push rixml-$1.gem
8
+ git tag -a v$1 -m "Release v$1"
9
+ git push origin --tags
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'rixml'
4
- s.version = '0.4.3'
4
+ s.version = '0.4.4'
5
5
  s.date = '2017-08-10'
6
6
  s.summary = 'RIXML Parser'
7
7
  s.description = 'Parse RIXML files'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rixml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Correia Santos
@@ -125,6 +125,7 @@ files:
125
125
  - Rakefile
126
126
  - circle.yml
127
127
  - lib/rixml.rb
128
+ - release
128
129
  - rixml.gemspec
129
130
  homepage: https://github.com/AlphaExchange/rixml
130
131
  licenses: