panda_doc 0.4.0 → 0.4.1

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
- SHA1:
3
- metadata.gz: 5de18dd847aacd923cd904d156707fc38c75fc46
4
- data.tar.gz: 7484054a9220ccbf5b2aff13d8205e2212f78d4b
2
+ SHA256:
3
+ metadata.gz: db5eb2a89ec5016a95416e0e7ac4e7e8a324cc39c15b9291050447a3e6ee23bf
4
+ data.tar.gz: 5fed2a604845a8f601b381fc2f9a3f4819234b06aa97c88c012e958a16f9e592
5
5
  SHA512:
6
- metadata.gz: f6c816f0ff6a3ab76b697777d47b0366ae328896ae0314c0d34c70fc00ce98e42128a7f86af819d0e893679cdceb4b15df7caf0f6dce204089af13f22c4529da
7
- data.tar.gz: fb01545fd5dfba46f80c15f7614ad9d4024254762b020b5fe20fb25deb1074117fafbe98b0e4641c0202441f1df9fc6d2a41bebb11c1b4d212bb71496fd409d6
6
+ metadata.gz: b7e43728515fdb9ce44f46a98c48eec803b783e2498538f5abaf390839230f0d52476d6652995fb15153117865acd85d3a52ea62729febcef4dc5ead855a469e
7
+ data.tar.gz: 6c86c59ddf618d4ca337b12a14dd2d5cc19088877d1efec8da7a78841bcdb2f8aa0dc45734d5432f61ae05a3a3129824046402fea51583182fa8dd89e2738a9d
data/.travis.yml CHANGED
@@ -1,12 +1,31 @@
1
+ sudo: false
1
2
  language: ruby
2
3
 
3
4
  cache:
4
5
  - bundler
5
6
 
6
7
  rvm:
7
- - 2.2.4
8
- - 2.3.0
8
+ - 2.2
9
+ - 2.3
10
+ - 2.4
11
+ - 2.5
9
12
 
10
- addons:
11
- code_climate:
12
- repo_token: d1d9c0636042863489880dbdf1c8865721b9b70f4199d612d77ee2dcfc803704
13
+ env:
14
+ global:
15
+ - CC_TEST_REPORTER_ID=d1d9c0636042863489880dbdf1c8865721b9b70f4199d612d77ee2dcfc803704
16
+
17
+ before_install:
18
+ - gem update --system
19
+ - gem install bundler
20
+
21
+ before_script:
22
+ - bundle update
23
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
24
+ - chmod +x ./cc-test-reporter
25
+ - ./cc-test-reporter before-build
26
+
27
+ script:
28
+ - bin/rake
29
+
30
+ after_script:
31
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.4.1][] (2018-04-24)
8
+
9
+ Fixes:
10
+
11
+ - Remove deprecated `codeclimate-test-reporter`. (by @nicolasleger)
12
+ - Add ruby 2.4, 2.5 to test coverage. (by @nicolasleger)
13
+ - Update README with logger examples. (by @nicolasleger)
14
+
7
15
  ## [0.4.0][] (2016-05-19)
8
16
 
9
17
  New:
@@ -89,6 +97,7 @@ New:
89
97
  - Introduce `logger` configuration's option to debug requests/responses.
90
98
 
91
99
  ```ruby
100
+ require 'logger'
92
101
  PandaDoc.configure do |config|
93
102
  config.logger = Logger.new(STDOUT)
94
103
  end
@@ -102,7 +111,8 @@ Fixes:
102
111
 
103
112
  - Initial release
104
113
 
105
- [Unreleased]: https://github.com/opti/panda_doc/compare/v0.4.0...HEAD
114
+ [Unreleased]: https://github.com/opti/panda_doc/compare/v0.4.1...HEAD
115
+ [0.4.1]: https://github.com/opti/panda_doc/compare/v0.4.0...v0.4.1
106
116
  [0.4.0]: https://github.com/opti/panda_doc/compare/v0.3.2...v0.4.0
107
117
  [0.3.2]: https://github.com/opti/panda_doc/compare/v0.3.1...v0.3.2
108
118
  [0.3.1]: https://github.com/opti/panda_doc/compare/v0.3.0...v0.3.1
data/Gemfile CHANGED
@@ -9,5 +9,5 @@ gem "rspec", "~> 3.4"
9
9
  gem "byebug"
10
10
 
11
11
  group :test do
12
- gem "codeclimate-test-reporter", require: false
12
+ gem 'simplecov', require: false
13
13
  end
data/README.md CHANGED
@@ -161,6 +161,7 @@ end
161
161
  You can configure a logger if you need to debug your requests/responses
162
162
 
163
163
  ```ruby
164
+ require 'logger'
164
165
  PandaDoc.configure do |config|
165
166
  config.logger = Logger.new(STDOUT)
166
167
  end
data/bin/rake ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rake' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rake", "rake")
data/bin/rspec ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rspec-core", "rspec")
@@ -1,3 +1,3 @@
1
1
  module PandaDoc
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Pstyga
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-19 00:00:00.000000000 Z
11
+ date: 2018-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -88,6 +88,8 @@ files:
88
88
  - README.md
89
89
  - Rakefile
90
90
  - bin/console
91
+ - bin/rake
92
+ - bin/rspec
91
93
  - bin/setup
92
94
  - lib/panda_doc.rb
93
95
  - lib/panda_doc/api_client.rb
@@ -126,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
128
  version: '0'
127
129
  requirements: []
128
130
  rubyforge_project:
129
- rubygems_version: 2.5.1
131
+ rubygems_version: 2.7.6
130
132
  signing_key:
131
133
  specification_version: 4
132
134
  summary: Ruby wrapper for PandaDoc.com API