pliny 0.22.0 → 0.23.0

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: 07ee81425520e48b9096f3d05164ff1793e6e3e8
4
- data.tar.gz: dce7f63b5664b66b7ad219d54ed5bb9818a8de9d
3
+ metadata.gz: 683200fbb66f5d6b6961b584480ce759a6ed08d8
4
+ data.tar.gz: 49cc9f605818c73a711c442bc3a5315dd3c75ea4
5
5
  SHA512:
6
- metadata.gz: 622a31e59a1124f435b6954036ce1bb0e3692fd7b998409a68460a91e63d815f17bfc211ab9781f61f95f3a6d58234731d32b208e4f9f26a31b87e100d21d897
7
- data.tar.gz: c53473f9fd7bf1289c799007c132fd2a529d27cbafab745f3cc08bbdc5a0137ed2508f00b37cc15313bb4f30373942c52f9a6dd3529379a5b57b0d35e7dae0f8
6
+ metadata.gz: 117170ba5de6e6bacc2c6d02c15dae9de1425fdb8be491bac7d60cf123161ce0a15fb77801b0eb83ed14067349adc59c8a4a6e84b8f5bc75e50de68870d55a7f
7
+ data.tar.gz: 8e94bbf374d67232644e892ede8c2d9c919e58176172158b48be927a106d0502410c4bde61b3a1957327bffdda37796052148e5b36ce8fe927e405f4cefe701a
data/lib/pliny/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pliny
2
- VERSION = "0.22.0"
2
+ VERSION = "0.23.0"
3
3
  end
data/lib/template/Gemfile CHANGED
@@ -4,9 +4,9 @@ ruby "2.3.3"
4
4
  gem "multi_json"
5
5
  gem "oj"
6
6
  gem "pg"
7
- gem "pliny", "~> 0.22"
7
+ gem "pliny", "~> 0.23"
8
8
  gem "pry"
9
- gem "puma", "~> 2.16"
9
+ gem "puma", "~> 3"
10
10
  gem "rack-ssl"
11
11
  gem "rack-timeout", "~> 0.4"
12
12
  gem "rake"
@@ -1,6 +1,7 @@
1
+ if Gem.loaded_specs.has_key?("rubocop-rspec")
2
+ require "rubocop/rake_task"
1
3
 
2
- require "rubocop/rake_task"
3
-
4
- RuboCop::RakeTask.new do |task|
5
- task.requires << "rubocop-rspec"
4
+ RuboCop::RakeTask.new do |task|
5
+ task.requires << "rubocop-rspec"
6
+ end
6
7
  end
@@ -9,7 +9,7 @@ RSpec.describe Endpoints::Schema do
9
9
 
10
10
  context "without a schema.json" do
11
11
  before do
12
- allow(File).to receive(:exists?).and_return(false)
12
+ allow(File).to receive(:exist?).and_return(false)
13
13
  end
14
14
 
15
15
  it "raises a 404 on missing schema" do
@@ -23,7 +23,7 @@ RSpec.describe Endpoints::Schema do
23
23
  let(:contents) { "contents" }
24
24
 
25
25
  before do
26
- allow(File).to receive(:exists?).and_return(true)
26
+ allow(File).to receive(:exist?).and_return(true)
27
27
  allow(File).to receive(:read).and_return(contents)
28
28
  end
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pliny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandur Leach
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-06 00:00:00.000000000 Z
12
+ date: 2017-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -524,7 +524,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
524
524
  version: '0'
525
525
  requirements: []
526
526
  rubyforge_project:
527
- rubygems_version: 2.5.1
527
+ rubygems_version: 2.5.2
528
528
  signing_key:
529
529
  specification_version: 4
530
530
  summary: Basic tooling to support API apps in Sinatra