gem-readme 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 019844f5181a41dbea635d02fb57e3e2e9128181
4
+ data.tar.gz: 341efdbe2cade99f1f34b98e9ae8a8d4838e2c49
5
+ SHA512:
6
+ metadata.gz: d4ed165a403ffa5987651edf2f1a4df5f15c5724dc895f93c2878709e6f6d40b6f3d717626ac7c237df4642f6347e09f65248c14c7201cb156619c98fdf9c635
7
+ data.tar.gz: ce26641aaa74e64aebcbda9b58634e4d64a384b06a4dac74a31b08a55fa2ad151058b8b17b9d55ad785f29fe55c68611e0e87735c9c4901b98073a020fb5615e
data/README.md CHANGED
@@ -4,13 +4,17 @@ Your gems' README, right in your terminal, 'cuz life is too short to be wasted i
4
4
 
5
5
  ## Installation
6
6
 
7
- As simples as it can be: `gem install gem-readme`
7
+ As simple as it can be: `gem install gem-readme`
8
8
 
9
9
  ## Usage
10
10
 
11
11
  Just type `gem readme [GEMNAME]` in your terminal. If you have multiple versions of this gem installed, you can choose the specific version.
12
12
  Your `$README_EDITOR`, `$EDITOR` or `less` will be opened with the desired README file.
13
13
 
14
+ ## Requirements
15
+
16
+ Ruby 1.9.x or newer
17
+
14
18
  ## License
15
19
 
16
20
  Copyright (c) 2013 Brian Thomas Storti
@@ -20,3 +24,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
20
24
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
21
25
 
22
26
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
+
28
+
29
+ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/brianstorti/gem-readme/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
30
+
@@ -4,17 +4,15 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "gem-readme"
7
- spec.version = "1.0.1"
7
+ spec.version = "1.0.2"
8
8
  spec.authors = ["Brian Thomas Storti"]
9
9
  spec.email = ["btstorti@gmail.com"]
10
10
  spec.description = %q{Read a gem's README file directlty in your terminal}
11
11
  spec.summary = %q{Read a gem's README file directlty in your terminal}
12
- spec.homepage = ""
12
+ spec.homepage = "https://github.com/brianstorti/gem-readme"
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.files = `git ls-files`.split($/)
16
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
16
  spec.require_paths = ["lib"]
19
17
 
20
18
  spec.add_development_dependency "bundler", "~> 1.3"
@@ -14,7 +14,7 @@ class Gem::Commands::ReadmeCommand < Gem::Command
14
14
  end
15
15
 
16
16
  gem_path = gem_specification.full_gem_path
17
- system "#{options[:editor]} $(find #{gem_path} -type f -iname 'readme.*')"
17
+ system "#{options[:editor]} $(find #{gem_path} -type f -iname 'readme*' -depth 1)"
18
18
  end
19
19
 
20
20
  def get_gem_specification
@@ -1,4 +1,4 @@
1
1
  require "rubygems/version"
2
- require 'rubygems/command_manager'
2
+ require "rubygems/command_manager"
3
3
 
4
- Gem::CommandManager.instance.register_command :readme
4
+ Gem::CommandManager.instance.register_command(:readme)
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-readme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 1.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Brian Thomas Storti
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-18 00:00:00.000000000 Z
11
+ date: 2014-01-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.3'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.3'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: Read a gem's README file directlty in your terminal
@@ -50,35 +45,34 @@ executables: []
50
45
  extensions: []
51
46
  extra_rdoc_files: []
52
47
  files:
53
- - .gitignore
48
+ - ".gitignore"
54
49
  - LICENSE.txt
55
50
  - README.md
56
51
  - gem-readme.gemspec
57
52
  - lib/rubygems/commands/readme_command.rb
58
53
  - lib/rubygems_plugin.rb
59
- homepage: ''
54
+ homepage: https://github.com/brianstorti/gem-readme
60
55
  licenses:
61
56
  - MIT
57
+ metadata: {}
62
58
  post_install_message:
63
59
  rdoc_options: []
64
60
  require_paths:
65
61
  - lib
66
62
  required_ruby_version: !ruby/object:Gem::Requirement
67
- none: false
68
63
  requirements:
69
- - - ! '>='
64
+ - - ">="
70
65
  - !ruby/object:Gem::Version
71
66
  version: '0'
72
67
  required_rubygems_version: !ruby/object:Gem::Requirement
73
- none: false
74
68
  requirements:
75
- - - ! '>='
69
+ - - ">="
76
70
  - !ruby/object:Gem::Version
77
71
  version: '0'
78
72
  requirements: []
79
73
  rubyforge_project:
80
- rubygems_version: 1.8.25
74
+ rubygems_version: 2.2.0.rc.1
81
75
  signing_key:
82
- specification_version: 3
76
+ specification_version: 4
83
77
  summary: Read a gem's README file directlty in your terminal
84
78
  test_files: []