yield 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +36 -2
- data/bin/yield +4 -2
- data/lib/yield/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8d791602cc5f874c95782c1d5578b4ce95e1cf0
|
4
|
+
data.tar.gz: 0dafa89c8e89067b2ccadd199e70293b80d7dee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7ce56ace95800a23d0d0d8cc33423bb29e3f7b284bb858e7e80e9beeb0c5c9dc370a37f8342e0429f49db78eb8d74d31cd72c4fb394ce64c007f9fc5ee1e675
|
7
|
+
data.tar.gz: 2cfad2e74cead35ec8456895c8922fbe9727923ce35ea3ecfb817cb02eddc1aef6880480cbb40e6ca7ff19bd88cfedf8f4c1eb3a47b88e1d909eb862e77b58f0
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Yield
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/yield.png)](http://badge.fury.io/rb/yield)
|
4
|
+
|
3
5
|
Yield is a command line utility that generates a preview of README.md and markdown files using GitHub Flavored Markdown in your browser. It parses your markdown files using [GitHub's Markdown API](http://developer.github.com/v3/markdown/), so you can preview it exactly how it will look on GitHub.
|
4
6
|
|
5
7
|
## Installation
|
@@ -36,12 +38,44 @@ $ yield UPDATES.md
|
|
36
38
|
|
37
39
|
Then navigate to [localhost:4000](http://localhost:4000) in your browser to view the preview of the file. You can stop the server by pressing Control+C.
|
38
40
|
|
39
|
-
|
41
|
+
## Issues
|
40
42
|
|
41
|
-
|
43
|
+
### API Rate Limit Exceeded
|
42
44
|
|
43
45
|
GitHub's API only allows only 60 unauthenticated requests per hour from a single IP address. If you are hitting this limit, then you must really like yield!
|
44
46
|
|
47
|
+
### OpenSSL Error
|
48
|
+
|
49
|
+
You may receive the following OpenSSL error after navigating to [localhost:4000](http://localhost:4000) on Mac OS X 10.8.
|
50
|
+
|
51
|
+
```
|
52
|
+
OpenSSL::SSL::SSLError at /
|
53
|
+
SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint
|
54
|
+
```
|
55
|
+
|
56
|
+
This error seems to be cause by a hosed installation of OpenSSL on the system. You can resolve this error by running the following commands:
|
57
|
+
|
58
|
+
```bash
|
59
|
+
$ brew install openssl
|
60
|
+
$ brew link openssl --force
|
61
|
+
$ rvm reinstall 2.0.0 --with-gcc=gcc
|
62
|
+
```
|
63
|
+
|
64
|
+
If this does not work for you, see the following links, which address the same issue:
|
65
|
+
|
66
|
+
* [How to install Ruby 2.0.0 with RVM on OSX 10.8 Mountain Lion](http://scottyv.me/2013/03/How-to-install-ruby-2-0-0-on-OSX-Mountain-Lion/)
|
67
|
+
* [“bad ecpoint” SSL error on fresh RVM Ruby 1.9.3 install on OSX Mountain Lion](http://stackoverflow.com/questions/15672133/bad-ecpoint-ssl-error-on-fresh-rvm-ruby-1-9-3-install-on-osx-mountain-lion)
|
68
|
+
|
69
|
+
### Windows OpenSSL Error
|
70
|
+
|
71
|
+
If you receive an OpenSSL "certificate verify failed" error on Windows after launching the gem, the following steps will fix the issue.
|
72
|
+
|
73
|
+
1. Download [http://curl.haxx.se/ca/cacert.pem](http://curl.haxx.se/ca/cacert.pem) and save it to C:\cacert.pem.
|
74
|
+
2. Go to Computer -> Advanced Settings -> Environment Variables and create a new System Variable:<br />
|
75
|
+
**Variable**: SSL_CERT_FILE<br />
|
76
|
+
**Value**: C:\cacert.pem.
|
77
|
+
4. Restart all command prompt windows and reissue the `yield` command.
|
78
|
+
|
45
79
|
## Contributing
|
46
80
|
|
47
81
|
1. Fork it
|
data/bin/yield
CHANGED
data/lib/yield/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yield
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Casey Scarborough
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.0.
|
123
|
+
rubygems_version: 2.0.5
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Yield is a command line utility written in Ruby that allows a user to render
|