readem 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/readem +4 -1
- data/lib/readem/version.rb +1 -1
- data/public/favicon.ico +0 -0
- metadata +19 -30
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1849c26f32d3785e78fad121da90ea486ad83d61
|
4
|
+
data.tar.gz: 3f7fc0343af926a85357d121fc58c8d298c17c38
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b483f10f2fe865b37c726e8dd35b5718fd8058d7c494b9234605c613c267da60f87f9aeec1da930106af37822b9cdd53edb47051fa9e2f1b970d9041c676fd4c
|
7
|
+
data.tar.gz: bcf39f7ef6d0b0db55f964d58f3d05d20ba7d1754546d96f9f58c7d9d66826ce8a201eef23dcd121ac52eabcea46c30872b50427f8b5f9fefc017178ecc39d84
|
data/bin/readem
CHANGED
@@ -12,7 +12,6 @@ set :root, File.expand_path(File.dirname(__FILE__) + "/../")
|
|
12
12
|
set :run, true
|
13
13
|
|
14
14
|
get "/" do
|
15
|
-
home_dir = ENV["HOME"]
|
16
15
|
readmes = Pathname.glob("#{home_dir}/Projects/*/README.md")
|
17
16
|
readme_dirs = readmes.map(&:dirname)
|
18
17
|
@local_dirnames = readme_dirs.map {|dir| dir.to_s.split("/").last}
|
@@ -25,3 +24,7 @@ get "/:dir" do
|
|
25
24
|
@markup = Makeup::Markup.new.render("README.md", readme_data)
|
26
25
|
erb :readme
|
27
26
|
end
|
27
|
+
|
28
|
+
def home_dir
|
29
|
+
ENV["HOME"]
|
30
|
+
end
|
data/lib/readem/version.rb
CHANGED
data/public/favicon.ico
ADDED
Binary file
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: readem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.1.4
|
4
|
+
version: 0.1.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Marius Mathiesen
|
@@ -12,85 +11,75 @@ cert_chain: []
|
|
12
11
|
date: 2013-09-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
14
|
+
name: makeup
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0.4'
|
20
|
+
type: :runtime
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
23
|
requirements:
|
26
24
|
- - ~>
|
27
25
|
- !ruby/object:Gem::Version
|
28
26
|
version: '0.4'
|
29
|
-
name: makeup
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
|
28
|
+
name: sinatra
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '1.4'
|
34
|
+
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
37
|
requirements:
|
42
38
|
- - ~>
|
43
39
|
- !ruby/object:Gem::Version
|
44
40
|
version: '1.4'
|
45
|
-
name: sinatra
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
|
42
|
+
name: redcarpet
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '2.3'
|
48
|
+
type: :runtime
|
54
49
|
prerelease: false
|
55
50
|
version_requirements: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
51
|
requirements:
|
58
52
|
- - ~>
|
59
53
|
- !ruby/object:Gem::Version
|
60
54
|
version: '2.3'
|
61
|
-
name: redcarpet
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
|
-
|
56
|
+
name: bundler
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '1.3'
|
62
|
+
type: :development
|
70
63
|
prerelease: false
|
71
64
|
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
65
|
requirements:
|
74
66
|
- - ~>
|
75
67
|
- !ruby/object:Gem::Version
|
76
68
|
version: '1.3'
|
77
|
-
name: bundler
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
|
-
|
70
|
+
name: rake
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - '>='
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
76
|
+
type: :development
|
86
77
|
prerelease: false
|
87
78
|
version_requirements: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
79
|
requirements:
|
90
|
-
- -
|
80
|
+
- - '>='
|
91
81
|
- !ruby/object:Gem::Version
|
92
82
|
version: '0'
|
93
|
-
name: rake
|
94
83
|
description: Serve the READMEs in your ~/Projects in a web browser
|
95
84
|
email:
|
96
85
|
- marius.mathiesen@gmail.com
|
@@ -104,6 +93,7 @@ files:
|
|
104
93
|
- README.md
|
105
94
|
- bin/readem
|
106
95
|
- lib/readem/version.rb
|
96
|
+
- public/favicon.ico
|
107
97
|
- readem.gemspec
|
108
98
|
- views/index.erb
|
109
99
|
- views/layout.erb
|
@@ -111,26 +101,25 @@ files:
|
|
111
101
|
homepage: https://github.com/zmalltalker/readem
|
112
102
|
licenses:
|
113
103
|
- MIT
|
104
|
+
metadata: {}
|
114
105
|
post_install_message:
|
115
106
|
rdoc_options: []
|
116
107
|
require_paths:
|
117
108
|
- lib
|
118
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
-
none: false
|
120
110
|
requirements:
|
121
|
-
- -
|
111
|
+
- - '>='
|
122
112
|
- !ruby/object:Gem::Version
|
123
113
|
version: '0'
|
124
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
115
|
requirements:
|
127
|
-
- -
|
116
|
+
- - '>='
|
128
117
|
- !ruby/object:Gem::Version
|
129
118
|
version: '0'
|
130
119
|
requirements: []
|
131
120
|
rubyforge_project:
|
132
|
-
rubygems_version:
|
121
|
+
rubygems_version: 2.0.2
|
133
122
|
signing_key:
|
134
|
-
specification_version:
|
123
|
+
specification_version: 4
|
135
124
|
summary: Run it, and see all your READMEs.
|
136
125
|
test_files: []
|