autodoc 0.5.3 → 0.6.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: 4c6f415d26967c718cf3290c55974a944fc54440
4
- data.tar.gz: 385814fb0c3fd7b1e711d693e39313b74df0e43d
3
+ metadata.gz: c5df2a276ad462f4c7a0cd519a86d7745974e175
4
+ data.tar.gz: 68ca9163b226cfb249f85ddc4bc2327c0f057f07
5
5
  SHA512:
6
- metadata.gz: 9e7c7226aea6fdbfaa7df79fec7befc12acfd1adab1c3e131bd8b55a03964ec615cfc1381c71be6324bbb0524252554f223811f0320a850c042d9410dc10163c
7
- data.tar.gz: cac0c47b862a6bf2fb81b067f445d0586f7008af98d303aab5e578cc1e9408e27021d66a1dd409c2e887cf4329af91b80a31347c73ae9cf0e1a329fd579dd69f
6
+ metadata.gz: eaa168e722506d60067a77d96dae58c0e7b51c2d95c8be05a3ca351c50bbb50d503b08ded3d449f424842983c1ffc1892e399bd250fdd7cd5fc4cea81a77508d
7
+ data.tar.gz: c4a2129aaa73e987c2f695b761b26dd3ab423968d08f5559f46634d7a37a6fa8e05ad4f58f93ba6326b5fc9f81748cdccd74efe980f63e830de8df27bd4a7011
@@ -1,3 +1,6 @@
1
+ ## 0.6.0
2
+ - Change the message capitalization rule (Thx @k0kubun)
3
+
1
4
  ## 0.5.3
2
5
  - Fix bugs on pending examples (Thx @taiki45)
3
6
 
@@ -195,7 +195,7 @@ module Autodoc
195
195
  if @context.respond_to?(:description)
196
196
  @context.description.strip_heredoc
197
197
  else
198
- "#{example.description.capitalize}."
198
+ example.description.sub(/\A./, &:upcase).concat('.')
199
199
  end
200
200
  end
201
201
 
@@ -1,3 +1,3 @@
1
1
  module Autodoc
2
- VERSION = "0.5.3"
2
+ VERSION = "0.6.0"
3
3
  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.3
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-19 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport