rack-blogengine 1.0.9 → 1.1.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: cbb75e394ec6aa9bdbecb6ed711e7611c26b7543
4
- data.tar.gz: 6fe717d6044a1d2c3ad48137531d11868feffad3
3
+ metadata.gz: 77b778c26bf09d3665791d554c0001825630880d
4
+ data.tar.gz: b1aefbe8c15cc40b1acdcd9f0dcfaff61bc15676
5
5
  SHA512:
6
- metadata.gz: f594157e66c735796f21e8ab1425254ec30f4f5189d6728690a4fa86050e4ed6a8fe360da2262cbf3c07e6c7821bed4eccc078536036f9654dd8c360b29b9fba
7
- data.tar.gz: 8a67438fe06a11d48b57ce4a9121f68444af21d5a51b614a484a5ef670896143230e95178d094902077bc43705c07c48f2188a9a5a3b24ff3d529d01327fc5ad
6
+ metadata.gz: cd5e75a10e96edb30f3f8a80e165ab24cb919463825121ba19b42fe285d4bbe84add7e133ff452277e2caef5de9efaa1d574e282216ee83346b54de9eb2bf60d
7
+ data.tar.gz: ee659fd63082264cb7fdadca05f18e18b02e17f9b91613758929e229e6bd582ccf861787c71d59f746c41210e217f1e336ef8ecab8b905b284d25b60bfe081cd
data/README.md CHANGED
@@ -10,16 +10,17 @@ Also its not actively maintained.
10
10
 
11
11
  ## Build status
12
12
 
13
- [![Coverage Status](https://coveralls.io/repos/Benny1992/rack-blogengine/badge.png?branch=master)](https://coveralls.io/r/Benny1992/rack-blogengine?branch=master)
14
13
  [![Gem Version](https://badge.fury.io/rb/rack-blogengine.png)](http://badge.fury.io/rb/rack-blogengine)
14
+ [![Build Status](https://travis-ci.org/tak1n/rack-blogengine.svg?branch=master)](https://travis-ci.org/tak1n/rack-blogengine)
15
+ [![Code Climate](https://codeclimate.com/github/tak1n/rack-blogengine/badges/gpa.svg)](https://codeclimate.com/github/tak1n/rack-blogengine)
16
+ [![Test Coverage](https://codeclimate.com/github/tak1n/rack-blogengine/badges/coverage.svg)](https://codeclimate.com/github/tak1n/rack-blogengine/coverage)
17
+ [![Inline docs](http://inch-ci.org/github/tak1n/rack-blogengine.svg?branch=master)](http://inch-ci.org/github/tak1n/rack-blogengine)
15
18
  [![Dependency Status](https://gemnasium.com/Benny1992/rack-blogengine.png)](https://gemnasium.com/Benny1992/rack-blogengine)
16
- [![Codeship](https://www.codeship.io/projects/9d0a0f70-bc07-0131-eeee-0e1e5f0f6334/status)](https://www.codeship.io/projects/9d0a0f70-bc07-0131-eeee-0e1e5f0f6334/status)
17
19
 
18
20
  ## Supported Ruby Versions & Platforms
19
21
 
20
- - rbx 2.2.*
21
- - ruby 2.*
22
- - ruby 1.9.*
22
+ - rbx > 3.14
23
+ - ruby > 2.2
23
24
 
24
25
 
25
26
 
@@ -15,9 +15,9 @@ module Rack
15
15
  def self.method_missing(name, *args)
16
16
  puts "Command #{name} not available"
17
17
  print "Available Commands are: \n\n"
18
- methods(false).each do |method|
19
- print "\t #{method}\n" unless method == :method_missing
20
- end
18
+
19
+ print "\t generate -- Generates a blog folder with a basic blog skeleton\n"
20
+ print "\t run -- Runs the given rack app\n"
21
21
  print "\n"
22
22
  end
23
23
 
@@ -35,7 +35,7 @@ module Rack
35
35
 
36
36
  Rack::Server.start(app: app, Port: config['Port'], server: config['Server'])
37
37
  else
38
- print "#{target} is not a folder!"
38
+ print "#{target} is not a folder!\n"
39
39
  end
40
40
  end
41
41
  end
@@ -84,7 +84,7 @@ module Rack
84
84
 
85
85
  css = Pygments.css(style: Rack::Blogengine.config['pygments_style'])
86
86
 
87
- File.open("#{path}/highlight.css", 'w') { |file| file.write(css) }
87
+ ::File.open("#{path}/highlight.css", 'w') { |file| file.write(css) }
88
88
  end
89
89
 
90
90
  # Build rack app via Rack::Builder
@@ -7,6 +7,6 @@ module Rack
7
7
  #
8
8
  module Blogengine
9
9
  # Current Rack::Blogengine Version
10
- VERSION = '1.0.9'.freeze
10
+ VERSION = '1.1.0'.freeze
11
11
  end
12
12
  end
@@ -32,6 +32,8 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency 'minitest', '~> 5.3'
33
33
  spec.add_development_dependency 'minitest-reporters'
34
34
  spec.add_development_dependency 'pry'
35
+ spec.add_development_dependency 'codeclimate-test-reporter'
36
+ spec.add_development_dependency 'rubocop'
35
37
 
36
38
  spec.add_runtime_dependency "rack", '~> 1.5'
37
39
  spec.add_runtime_dependency "pygments.rb", '~> 0.5'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-blogengine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benny Klotz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-18 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -108,6 +108,34 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: codeclimate-test-reporter
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: rack
113
141
  requirement: !ruby/object:Gem::Requirement
@@ -204,9 +232,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
232
  version: '0'
205
233
  requirements: []
206
234
  rubyforge_project:
207
- rubygems_version: 2.4.5
235
+ rubygems_version: 2.5.1
208
236
  signing_key:
209
237
  specification_version: 4
210
238
  summary: Blogengine based on rack applications
211
239
  test_files: []
212
- has_rdoc: