ghpreview 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,5 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in github-preview.gemspec
4
- gem 'rake'
5
4
  gemspec
5
+
6
+ group :test do
7
+ gem 'rspec'
8
+ end
data/README.md CHANGED
@@ -60,7 +60,8 @@ and Github's own stylesheets to style it :octocat:
60
60
  ## Contributing
61
61
 
62
62
  1. Fork it
63
- 2. Create your feature branch (`git checkout -b my-new-feature`)
64
- 3. Commit your changes (`git commit -am 'Add some feature'`)
65
- 4. Push to the branch (`git push origin my-new-feature`)
66
- 5. Create new Pull Request
63
+ 1. Create your feature branch (`git checkout -b my-new-feature`)
64
+ 1. Write specs (`bundle exec rspec spec`)
65
+ 1. Commit your changes (`git commit -am 'Add some feature'`)
66
+ 1. Push to the branch (`git push origin my-new-feature`)
67
+ 1. Create new Pull Request
data/ghpreview.gemspec CHANGED
@@ -17,9 +17,13 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
+ gem.add_dependency 'bundler', '~> 1.3'
20
21
  gem.add_dependency 'listen', '~> 2.4.0'
21
22
  gem.add_dependency 'rb-fsevent'
22
23
  gem.add_dependency 'html-pipeline', '~> 1.1.0'
23
24
  gem.add_dependency 'httpclient'
24
25
  gem.add_dependency 'github-linguist', '~> 2.10.5'
26
+ gem.add_dependency 'github-markdown', '~> 0.5'
27
+ gem.add_dependency 'sanitize', '~> 2.0'
28
+ gem.add_dependency 'gemoji', '~> 1.0'
25
29
  end
data/lib/ghpreview.rb CHANGED
@@ -1,2 +1,6 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ require 'bundler/setup'
4
+
1
5
  require_relative 'ghpreview/version'
2
6
  require_relative 'ghpreview/previewer'
@@ -1,3 +1,3 @@
1
1
  module GHPreview
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghpreview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-22 00:00:00.000000000 Z
12
+ date: 2013-12-23 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
14
30
  - !ruby/object:Gem::Dependency
15
31
  name: listen
16
32
  requirement: !ruby/object:Gem::Requirement
@@ -91,6 +107,54 @@ dependencies:
91
107
  - - ~>
92
108
  - !ruby/object:Gem::Version
93
109
  version: 2.10.5
110
+ - !ruby/object:Gem::Dependency
111
+ name: github-markdown
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '0.5'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '0.5'
126
+ - !ruby/object:Gem::Dependency
127
+ name: sanitize
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ~>
132
+ - !ruby/object:Gem::Version
133
+ version: '2.0'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: '2.0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: gemoji
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ version: '1.0'
150
+ type: :runtime
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ version: '1.0'
94
158
  description: Command line utility for previewing Markdown files with Github styling
95
159
  email:
96
160
  - adam@adamlogic.com