bibsonomy 0.4.1 → 0.4.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: 9e90577cd917b74e5f0db75296b9ea9e53bca4ca
4
- data.tar.gz: 00d3ca6fe7d1cc3b628f1e4fe56a8230aa445021
3
+ metadata.gz: 744185c9e820f247763e9318fff488955e65bf01
4
+ data.tar.gz: 271d38a9ce805a00cc4063ec884e50a6d0c5e18d
5
5
  SHA512:
6
- metadata.gz: 4156a1444092b27d3e1ba14046eefd585ee66b16b992324364c8b49c99ffb3e7f511273989a94c9e100ad10959f792af40ae397d275d68feefac279255515772
7
- data.tar.gz: e7142bbfc9134a812419b844a4a5cff7edd7321ed6320f13c64724a36179f03d510f6bed4611f88b92cd93f3af26d01b4f0488c785952e73ff97f7564de333d2
6
+ metadata.gz: a01f839150ecb55c934f2d4894a114ae39aa4869337cb8c0bb4bfe706860d1cfc9469d33198cd72babc28c6e53c0ae517cd788ae67ecfd1e1dc59356fa3b5dba
7
+ data.tar.gz: ecc8ef451e0339579cd93d2950800d7609369b47dc84f521bf50fc040546e31e3a83102bdca779e52f81b5756f584b9ec9007dd7e4a61471e05c5d330ba08faf
data/README.md CHANGED
@@ -4,6 +4,8 @@ BibSonomy client for Ruby
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/bibsonomy.svg)](http://badge.fury.io/rb/bibsonomy)
6
6
 
7
+ [![Coverage Status](https://coveralls.io/repos/rjoberon/bibsonomy-ruby/badge.svg)](https://coveralls.io/r/rjoberon/bibsonomy-ruby)
8
+
7
9
  ## Installation
8
10
 
9
11
  Add this line to your application's Gemfile:
@@ -23,10 +23,11 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "minitest", "~> 5.4"
24
24
  spec.add_development_dependency "vcr", "~> 2.9"
25
25
  spec.add_development_dependency "webmock", "~> 1.19"
26
+ spec.add_development_dependency "coveralls", '~> 0'
26
27
 
27
28
  spec.add_dependency "faraday", "~> 0.9"
28
29
  spec.add_dependency "json", "~> 1.8"
29
30
  spec.add_dependency "citeproc", "~> 1.0"
30
31
  spec.add_dependency "csl-styles", "~> 1.0"
31
-
32
+
32
33
  end
@@ -91,7 +91,7 @@ module BibSonomy
91
91
  def get_posts_for_user(user_name, resource_type, tags = nil, start = 0, endc = $MAX_POSTS_PER_REQUEST)
92
92
  params = {
93
93
  :format => @format,
94
- :resourcetype => self.get_resource_type(resource_type),
94
+ :resourcetype => get_resource_type(resource_type),
95
95
  :start => start,
96
96
  :end => endc
97
97
  }
@@ -1,3 +1,3 @@
1
1
  module BibSonomy
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
@@ -2,6 +2,9 @@ require './lib/bibsonomy'
2
2
  require 'minitest/autorun'
3
3
  require 'webmock/minitest'
4
4
  require 'vcr'
5
+ require 'coveralls'
6
+
7
+ Coveralls.wear!
5
8
 
6
9
  VCR.configure do |c|
7
10
  c.cassette_library_dir = "test/fixtures"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibsonomy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Jäschke
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.19'
83
+ - !ruby/object:Gem::Dependency
84
+ name: coveralls
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: faraday
85
99
  requirement: !ruby/object:Gem::Requirement