rack-blogengine 1.0.6 → 1.0.7

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: 78d5fd2079e369c0ef20d92ced4d9700d4bae5dd
4
- data.tar.gz: ac863919b4cc3911eba683bb2c00f5b4c45763dc
3
+ metadata.gz: 316afc6fe5bd8bea7b1df0c27ae0f72a4ece5526
4
+ data.tar.gz: 013a52e18dc842c0add6852b6ecb3fa2cb092acf
5
5
  SHA512:
6
- metadata.gz: 34d325b63742b469b9f0d536e914e97793e70332b48c8a587d81acbdb348e42062595a34ba9bec299b1fc07680e00b1c0ab33fbf075bb230bfa1d52acb7cb5d7
7
- data.tar.gz: a2e64883bfbaf99e29973dca17b6bb4cbff727d4e5dc6e2ce4f73348be44ac5a244ad071b531c80da0d5da34acca3ba457ee2845da84a3f32a79f1be4da68eed
6
+ metadata.gz: ebe3b71e562fbd57f369f271072da7f01c1a10cc7b28f710fadd06d4cd9c15f5b43928a08946ce4036e624cf8d4836001ac3b4708395e25c24af16d44348d27c
7
+ data.tar.gz: 37cc5cb23c61df27fc30c85840a7e22e121a67dc91a2c9ec555d15e7d14c2db06d5de85d00b97cd61bd840399182da70bfc5fb44b75a72d201ccc8092bb38561
data/.travis.yml CHANGED
@@ -1,6 +1,11 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
 
4
+ before_install:
5
+ - gem update --system
6
+ - gem --version
7
+ - gem install bundler
8
+
4
9
  rvm:
5
10
  - 2.0.0
6
11
  - 2.1.0
data/MANIFEST CHANGED
@@ -19,6 +19,7 @@ assets/operator.rb
19
19
  assets/pygment.content
20
20
  assets/title_error.content
21
21
  bin/rack-blogengine
22
+ checksum/rack-blogengine-1.0.6.gem.sha512
22
23
  lib/rack/blogengine.rb
23
24
  lib/rack/blogengine/application.rb
24
25
  lib/rack/blogengine/application_router.rb
@@ -28,6 +29,8 @@ lib/rack/blogengine/document_parser.rb
28
29
  lib/rack/blogengine/operator.rb
29
30
  lib/rack/blogengine/version.rb
30
31
  rack-blogengine.gemspec
32
+ task/build.rake
33
+ task/checksum.rake
31
34
  task/default.rake
32
35
  task/floodtest.rake
33
36
  task/manifest.rake
data/README.md CHANGED
@@ -22,10 +22,20 @@ Rack Middleware to serve a simple blog
22
22
 
23
23
  ## Installation
24
24
 
25
- This is a signed gem, so you have to add my public certificate.
25
+ $ gem install rack-blogengine
26
+
27
+ To install the signed gem you have to add my public certificate and install with proper security level:
26
28
 
27
29
  $ gem cert –add <(curl -Ls https://raw.github.com/benny1992/rack-blogengine/master/certs/benny1992.pem)
28
- $ gem install rack-blogengine
30
+ $ gem install rack-blogengine -P MediumSecurity
31
+
32
+ ### NOTE
33
+
34
+ Installing signed Gems is currently not working (rubygem version 2.2.2)
35
+
36
+ <a href="https://github.com/rubygems/rubygems/issues/859">Issue</a> will be fixed in version 2.3
37
+
38
+
29
39
 
30
40
  ## Usage
31
41
 
@@ -149,3 +159,6 @@ Implement pygments without nokogiri html parser (maybe use oga as alternative -
149
159
 
150
160
 
151
161
 
162
+
163
+
164
+
data/Rakefile CHANGED
@@ -2,6 +2,7 @@ require "bundler/gem_tasks"
2
2
  require 'rake/testtask'
3
3
  # require 'cucumber/rake/task'
4
4
 
5
+ GEMSPEC = Gem::Specification.load('rack-blogengine.gemspec')
5
6
  Dir.glob('task/*.rake').each { |r| import r }
6
7
 
7
8
 
@@ -0,0 +1 @@
1
+ 2faadb7c2fdbaa1088e4d13833884277e54dd14ffc4925edbbe9c84562c754f0c50753744d773ffd48c7268f82c08fc3d6e37535f5b547b9045376f8930cb889
@@ -7,6 +7,6 @@ module Rack
7
7
  #
8
8
  module Blogengine
9
9
  # Current Rack::Blogengine Version
10
- VERSION = '1.0.6'.freeze
10
+ VERSION = '1.0.7'.freeze
11
11
  end
12
12
  end
@@ -13,8 +13,11 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/Benny1992/rack-blogengine"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.cert_chain = ['certs/benny1992.pem']
17
- spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
16
+ spec.post_install_message = 'Please report any issues at: ' \
17
+ 'https://github.com/Benny1992/rack-blogengine/issues/new'
18
+
19
+ # spec.cert_chain = ['certs/benny1992.pem']
20
+ # spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
18
21
 
19
22
  spec.files = File.read(File.expand_path('../MANIFEST', __FILE__)).split("\n")
20
23
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -22,14 +25,12 @@ Gem::Specification.new do |spec|
22
25
 
23
26
  spec.required_ruby_version = '>= 1.9.3'
24
27
 
25
- spec.add_development_dependency "bundler", "~> 1.5"
26
- spec.add_development_dependency "rake", '~> 10.2.2'
27
- spec.add_development_dependency "coveralls", '~> 0.7.0'
28
- spec.add_development_dependency "rack-test", '~> 0.6.2'
29
- spec.add_development_dependency "guard"
30
- spec.add_development_dependency 'guard-minitest'
28
+ spec.add_development_dependency "bundler", "~> 1.6"
29
+ spec.add_development_dependency "rake", '~> 10.3'
30
+ spec.add_development_dependency "coveralls", '~> 0.7'
31
+ spec.add_development_dependency "rack-test", '~> 0.6'
31
32
 
32
- spec.add_runtime_dependency "rack", '~> 1.5.2'
33
- spec.add_runtime_dependency "pygments.rb", '~> 0.5.4'
34
- spec.add_runtime_dependency "nokogiri", '~> 1.6.1'
33
+ spec.add_runtime_dependency "rack", '~> 1.5'
34
+ spec.add_runtime_dependency "pygments.rb", '~> 0.5'
35
+ spec.add_runtime_dependency "nokogiri", '~> 1.6'
35
36
  end
data/task/build.rake ADDED
@@ -0,0 +1,4 @@
1
+ desc 'Builds a new Gem and its checksum'
2
+ task :signed_build => [:build] do
3
+ Rake::Task['checksum'].invoke
4
+ end
@@ -0,0 +1,15 @@
1
+ require 'digest/sha2'
2
+
3
+ desc 'Creates a SHA512 checksum of the current version'
4
+ task :checksum do
5
+ checksums = File.expand_path('../../checksum', __FILE__)
6
+ name = "#{GEMSPEC.name}-#{GEMSPEC.version}.gem"
7
+ path = File.join(File.expand_path('../../pkg', __FILE__), name)
8
+
9
+ checksum_name = File.basename(path) + '.sha512'
10
+ checksum = Digest::SHA512.new.hexdigest(File.read(path))
11
+
12
+ File.open(File.join(checksums, checksum_name), 'w') do |handle|
13
+ handle.write(checksum)
14
+ end
15
+ end
metadata CHANGED
@@ -1,36 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-blogengine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benny1992
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRIwEAYDVQQDDAlyM3Fu
14
- YmVubmkxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
15
- bTAeFw0xNDA0MTYwNjMzMjJaFw0xNTA0MTYwNjMzMjJaMEAxEjAQBgNVBAMMCXIz
16
- cW5iZW5uaTEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
17
- Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA78L+ET6xv5X/XF9G
18
- Qge8Y74gL5kSBrnwH9tY2B3+B1CBge3qj10A3ElSHO2eeE/Y93mdOJsiNb+L6P9F
19
- +lR3YYNMakhbUUXD50KAQSUU12WPyX0NBEKa4Q/LFjZ65j4WEfm8gxbbq+enq2Ip
20
- gd5+bz8d2kLSaSqK2h8P2/t6RcsmLEk4ydOYSDo5OPBUdqGLCiytcF1KCnlO3j7h
21
- e2mXDepXzRjYEyAvEzFIs9cHeVGPtOvup0c767n55r9jwXBbg1qkhBDHygD9u3qt
22
- 5s/qA1VbM9OIgSQsuaDE2WTS7wu/is7fwPR/NquBi4f6NmbbrmJCYZjEw7bWLCZS
23
- N13XMQIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
24
- X1OqLlBShcxEnMjakyrhrI0vsK0wHgYDVR0RBBcwFYETcjNxbmJlbm5pQGdtYWls
25
- LmNvbTAeBgNVHRIEFzAVgRNyM3FuYmVubmlAZ21haWwuY29tMA0GCSqGSIb3DQEB
26
- BQUAA4IBAQDrdfZTW3Jq9kzMz8Ni7QPH41UtPHDamUegglc1sCPNRKlSazrOxCgH
27
- OkbCH/P0WvixazC7sY/JbQlwPdoFBBEYOfHnzxNfGTY/3qEKIssACDodvfb2BVr0
28
- JLcHEP29CeGKIrknuvCFJklZPDrAPH0TCzRIa6ybOeVga4pTyNLncngFlrUYq6Qq
29
- 3ZiL2fpVMSwjj+kwQJ392E3WI5txNnXygj1qJua8Eiit7M9thL66iBGLrShTj58r
30
- brDo4LWiuUw1N7ULFDBT9ynG4Aoz8NeNAmhA/Bp7lhWSWZTvC2FsWsEAgGU/fkFe
31
- ebADohNmLR5KBvr9FA2lC7ImCWjwsDZA
32
- -----END CERTIFICATE-----
33
- date: 2014-04-16 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2014-04-21 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: bundler
@@ -38,126 +16,98 @@ dependencies:
38
16
  requirements:
39
17
  - - "~>"
40
18
  - !ruby/object:Gem::Version
41
- version: '1.5'
19
+ version: '1.6'
42
20
  type: :development
43
21
  prerelease: false
44
22
  version_requirements: !ruby/object:Gem::Requirement
45
23
  requirements:
46
24
  - - "~>"
47
25
  - !ruby/object:Gem::Version
48
- version: '1.5'
26
+ version: '1.6'
49
27
  - !ruby/object:Gem::Dependency
50
28
  name: rake
51
29
  requirement: !ruby/object:Gem::Requirement
52
30
  requirements:
53
31
  - - "~>"
54
32
  - !ruby/object:Gem::Version
55
- version: 10.2.2
33
+ version: '10.3'
56
34
  type: :development
57
35
  prerelease: false
58
36
  version_requirements: !ruby/object:Gem::Requirement
59
37
  requirements:
60
38
  - - "~>"
61
39
  - !ruby/object:Gem::Version
62
- version: 10.2.2
40
+ version: '10.3'
63
41
  - !ruby/object:Gem::Dependency
64
42
  name: coveralls
65
43
  requirement: !ruby/object:Gem::Requirement
66
44
  requirements:
67
45
  - - "~>"
68
46
  - !ruby/object:Gem::Version
69
- version: 0.7.0
47
+ version: '0.7'
70
48
  type: :development
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
51
  requirements:
74
52
  - - "~>"
75
53
  - !ruby/object:Gem::Version
76
- version: 0.7.0
54
+ version: '0.7'
77
55
  - !ruby/object:Gem::Dependency
78
56
  name: rack-test
79
57
  requirement: !ruby/object:Gem::Requirement
80
58
  requirements:
81
59
  - - "~>"
82
60
  - !ruby/object:Gem::Version
83
- version: 0.6.2
61
+ version: '0.6'
84
62
  type: :development
85
63
  prerelease: false
86
64
  version_requirements: !ruby/object:Gem::Requirement
87
65
  requirements:
88
66
  - - "~>"
89
67
  - !ruby/object:Gem::Version
90
- version: 0.6.2
91
- - !ruby/object:Gem::Dependency
92
- name: guard
93
- requirement: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- version: '0'
98
- type: :development
99
- prerelease: false
100
- version_requirements: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: '0'
105
- - !ruby/object:Gem::Dependency
106
- name: guard-minitest
107
- requirement: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
- type: :development
113
- prerelease: false
114
- version_requirements: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: '0'
68
+ version: '0.6'
119
69
  - !ruby/object:Gem::Dependency
120
70
  name: rack
121
71
  requirement: !ruby/object:Gem::Requirement
122
72
  requirements:
123
73
  - - "~>"
124
74
  - !ruby/object:Gem::Version
125
- version: 1.5.2
75
+ version: '1.5'
126
76
  type: :runtime
127
77
  prerelease: false
128
78
  version_requirements: !ruby/object:Gem::Requirement
129
79
  requirements:
130
80
  - - "~>"
131
81
  - !ruby/object:Gem::Version
132
- version: 1.5.2
82
+ version: '1.5'
133
83
  - !ruby/object:Gem::Dependency
134
84
  name: pygments.rb
135
85
  requirement: !ruby/object:Gem::Requirement
136
86
  requirements:
137
87
  - - "~>"
138
88
  - !ruby/object:Gem::Version
139
- version: 0.5.4
89
+ version: '0.5'
140
90
  type: :runtime
141
91
  prerelease: false
142
92
  version_requirements: !ruby/object:Gem::Requirement
143
93
  requirements:
144
94
  - - "~>"
145
95
  - !ruby/object:Gem::Version
146
- version: 0.5.4
96
+ version: '0.5'
147
97
  - !ruby/object:Gem::Dependency
148
98
  name: nokogiri
149
99
  requirement: !ruby/object:Gem::Requirement
150
100
  requirements:
151
101
  - - "~>"
152
102
  - !ruby/object:Gem::Version
153
- version: 1.6.1
103
+ version: '1.6'
154
104
  type: :runtime
155
105
  prerelease: false
156
106
  version_requirements: !ruby/object:Gem::Requirement
157
107
  requirements:
158
108
  - - "~>"
159
109
  - !ruby/object:Gem::Version
160
- version: 1.6.1
110
+ version: '1.6'
161
111
  description: Blogengine based on rack applications
162
112
  email:
163
113
  - r3qnbenni@gmail.com
@@ -187,6 +137,7 @@ files:
187
137
  - assets/pygment.content
188
138
  - assets/title_error.content
189
139
  - bin/rack-blogengine
140
+ - checksum/rack-blogengine-1.0.6.gem.sha512
190
141
  - lib/rack/blogengine.rb
191
142
  - lib/rack/blogengine/application.rb
192
143
  - lib/rack/blogengine/application_router.rb
@@ -196,6 +147,8 @@ files:
196
147
  - lib/rack/blogengine/operator.rb
197
148
  - lib/rack/blogengine/version.rb
198
149
  - rack-blogengine.gemspec
150
+ - task/build.rake
151
+ - task/checksum.rake
199
152
  - task/default.rake
200
153
  - task/floodtest.rake
201
154
  - task/manifest.rake
@@ -210,7 +163,7 @@ homepage: https://github.com/Benny1992/rack-blogengine
210
163
  licenses:
211
164
  - MIT
212
165
  metadata: {}
213
- post_install_message:
166
+ post_install_message: 'Please report any issues at: https://github.com/Benny1992/rack-blogengine/issues/new'
214
167
  rdoc_options: []
215
168
  require_paths:
216
169
  - lib
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file