autodoc 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d4da32f250fde49b58fddd3fe154e74ed5c4d66
4
- data.tar.gz: e87a7a31836bd76838abea5b065438b2b5ce178b
3
+ metadata.gz: 4c6f415d26967c718cf3290c55974a944fc54440
4
+ data.tar.gz: 385814fb0c3fd7b1e711d693e39313b74df0e43d
5
5
  SHA512:
6
- metadata.gz: 86ae40bd420fb2503945f0b3dfdd52d7e8307bd155e6ffc2defcfa165347ed14314c6a8a08ae831df76ef2c2b808ca746610f3d85027025001d4e46f9f773f18
7
- data.tar.gz: 322580856b8048de4d7f2ddfb3e1ef5849bc8285a8edcd5952dcc516ef21aed3146b68aaadd478acf5aa13e121199582631511957e395387a112cb625f2292c9
6
+ metadata.gz: 9e7c7226aea6fdbfaa7df79fec7befc12acfd1adab1c3e131bd8b55a03964ec615cfc1381c71be6324bbb0524252554f223811f0320a850c042d9410dc10163c
7
+ data.tar.gz: cac0c47b862a6bf2fb81b067f445d0586f7008af98d303aab5e578cc1e9408e27021d66a1dd409c2e887cf4329af91b80a31347c73ae9cf0e1a329fd579dd69f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.5.3
2
+ - Fix bugs on pending examples (Thx @taiki45)
3
+
1
4
  ## 0.5.2
2
5
  - Fix version detector (Thx @kachick)
3
6
 
data/lib/autodoc/rspec.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require "rspec"
2
2
 
3
3
  RSpec.configuration.after(:each, autodoc: true) do |example|
4
- Autodoc.documents.append(self, example)
4
+ Autodoc.documents.append(self, example) unless example.pending?
5
5
  end
6
6
 
7
7
  RSpec.configuration.after(:suite) do
@@ -1,3 +1,3 @@
1
1
  module Autodoc
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
@@ -11,7 +11,7 @@ Dummy::Application.configure do
11
11
  config.action_controller.perform_caching = true
12
12
 
13
13
  # Disable Rails's static asset server (Apache or nginx will already do this)
14
- config.serve_static_assets = false
14
+ config.serve_static_files = false
15
15
 
16
16
  # Compress JavaScripts and CSS
17
17
  config.assets.compress = true
@@ -10,7 +10,7 @@ Dummy::Application.configure do
10
10
  config.cache_classes = true
11
11
 
12
12
  # Configure static asset server for tests with Cache-Control for performance
13
- config.serve_static_assets = true
13
+ config.serve_static_files = true
14
14
  config.static_cache_control = "public, max-age=3600"
15
15
 
16
16
  # Show full error reports and disable caching
@@ -0,0 +1,7 @@
1
+ require "spec_helper"
2
+
3
+ describe "Example", type: :request do
4
+ specify "example spec for pending spec", autodoc: true do
5
+ skip
6
+ end
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-18 00:00:00.000000000 Z
11
+ date: 2016-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -177,6 +177,7 @@ files:
177
177
  - spec/dummy/script/rails
178
178
  - spec/requests/admin/entries_spec.rb
179
179
  - spec/requests/entries_spec.rb
180
+ - spec/requests/pending_spec.rb
180
181
  - spec/requests/recipes_spec.rb
181
182
  - spec/spec_helper.rb
182
183
  homepage: https://github.com/r7kamura/autodoc
@@ -250,6 +251,7 @@ test_files:
250
251
  - spec/dummy/script/rails
251
252
  - spec/requests/admin/entries_spec.rb
252
253
  - spec/requests/entries_spec.rb
254
+ - spec/requests/pending_spec.rb
253
255
  - spec/requests/recipes_spec.rb
254
256
  - spec/spec_helper.rb
255
257
  has_rdoc: