lurker 0.5.7 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.asc +12 -0
- data.tar.gz.asc +12 -0
- data/README.md +2 -9
- data/Rakefile +1 -1
- data/lib/lurker.rb +0 -12
- data/lib/lurker/cli.rb +3 -2
- data/lib/lurker/presenters/endpoint_presenter.rb +4 -10
- data/lib/lurker/schema.rb +8 -0
- data/lib/lurker/version.rb +1 -1
- data/lurker.gemspec +10 -12
- data/templates/lurker_app.rb +2 -17
- metadata +67 -109
- metadata.gz.asc +12 -0
- checksums.yaml.gz.sig +0 -1
- data.tar.gz.sig +0 -0
- data/certs/razum2um.pem +0 -21
- metadata.gz.sig +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c6082ee72faafa413ba71d30980598f2524c41d
|
4
|
+
data.tar.gz: e17f9251086892abc27a9621f53ac2ec17527e47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f5053abff9bfbd14b87307d89004deafc64396a6f9270ad06b54015f955699d75505136dfdc3763811f0b059f1d137d36bbd0fc079710268f84e8989f79ce37
|
7
|
+
data.tar.gz: 09c1cc7157084b90a9880cde056244d14b01687aa859f3b0050fef4337ebb694840776ad50b48852b6433f5fb0989968bb656cb520ac95b70e28bdccb5f765cd
|
checksums.yaml.gz.asc
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
-----BEGIN PGP SIGNATURE-----
|
2
|
+
Version: GnuPG v1
|
3
|
+
Comment: GPGTools - http://gpgtools.org
|
4
|
+
|
5
|
+
iQEcBAABCgAGBQJTc6u3AAoJENcoxKfNVdjbPFQH/2AlxmZv3HxGqTBWHwEa8X0W
|
6
|
+
B/BQWPNQa0TmSLb0gwMBIakmZskLEF78AoiqEsgWVjxzaUqzrfsPfF3PaEfn2dFn
|
7
|
+
qyblC25Tzo55a4GNafZBfR9oLd1Z3T0feVsmS1z54dZRtVTnEIeJgDw8pGUOuLRm
|
8
|
+
GhBwzwPyl1yKCfJ9iTMCB9QsoiGrJipOzYULDoXoP9BV2v1iYbVVoJj4r2JWay8B
|
9
|
+
XIYQZEYMBjwIxa6IBAYP5wOoWJjf3rizveXpXGFGvUxYA28AEVfDagAyfbxn/Lvv
|
10
|
+
ifO5ww5p8+VqY4Hf8TxL9YLfZHXDf8oi9hKKtjE86FypjvcuYN0WBwmAjtF6aCM=
|
11
|
+
=TtxC
|
12
|
+
-----END PGP SIGNATURE-----
|
data.tar.gz.asc
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
-----BEGIN PGP SIGNATURE-----
|
2
|
+
Version: GnuPG v1
|
3
|
+
Comment: GPGTools - http://gpgtools.org
|
4
|
+
|
5
|
+
iQEcBAABCgAGBQJTc6u0AAoJENcoxKfNVdjbXtoH+gOMyCvf2MRKtlx7mBadLRj9
|
6
|
+
6ei4q21BvhC60iTD9yiIg4WuREZhec+2LqiFhsEspKZbhDlyLR7/abc568P54FrZ
|
7
|
+
7kfXBW5/J8/1PuiYVpaYovExiVg8ttIqqHfpN2X3dHJ2fvKHPrDwGK+UpPKKIjvg
|
8
|
+
0pPuQAKx0YljMKlg+vDampb8JYXM+E74zpVQ2OM/lUE96ZriQNz+YEKI3t9NXLR8
|
9
|
+
vDZ8u2BCovqLdLy7tqcxhvsvZHtHvTffWMLpykP3sik+WYvjma4FocfJ9QOsvUFx
|
10
|
+
lwlZMfN9EGdKDw8mvNqcub0E2yGsv+Z6nZcQsD9qpLns+nDs/49baRDuJ9UXvWI=
|
11
|
+
=w69M
|
12
|
+
-----END PGP SIGNATURE-----
|
data/README.md
CHANGED
@@ -10,18 +10,11 @@ Works on Rails 3.2, 4.0, 4.1 & Ruby 1.9.3, 2.0.0, 2.1.1.
|
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
13
|
-
Add
|
14
|
-
|
15
|
-
gem cert --add <(curl -Ls https://raw.github.com/razum2um/lurker/master/certs/razum2um.pem)
|
16
|
-
|
17
|
-
$ gem install lurker # without key
|
18
|
-
$ gem install lurker -P HighSecurity # secure, with key added
|
19
|
-
|
20
|
-
Or this line to your application's Gemfile:
|
13
|
+
Add this line to your application's Gemfile:
|
21
14
|
|
22
15
|
gem 'lurker'
|
23
16
|
|
24
|
-
|
17
|
+
Add to `test_helper.rb` or `spec_helper.rb`:
|
25
18
|
|
26
19
|
require 'lurker/spec_helper'
|
27
20
|
|
data/Rakefile
CHANGED
@@ -302,7 +302,7 @@ task :publish do
|
|
302
302
|
system "git tag v#{version}"
|
303
303
|
system "relish versions:add razum2um/lurker:#{version}"
|
304
304
|
system "relish push razum2um/lurker:#{version}"
|
305
|
-
system "gem build lurker.gemspec"
|
305
|
+
system "gem build lurker.gemspec --sign"
|
306
306
|
system "git push --tags"
|
307
307
|
system "gem push lurker-#{version}.gem"
|
308
308
|
end
|
data/lib/lurker.rb
CHANGED
@@ -3,18 +3,6 @@ $:.unshift(File.dirname(__FILE__))
|
|
3
3
|
module Lurker
|
4
4
|
DEFAULT_SERVICE_PATH = DEFAULT_URL_BASE = "lurker"
|
5
5
|
|
6
|
-
def self.safe_require(gem, desc=nil)
|
7
|
-
begin
|
8
|
-
require gem
|
9
|
-
rescue LoadError => e
|
10
|
-
$stderr.puts(e.message)
|
11
|
-
$stderr.puts(desc) if desc
|
12
|
-
$stderr.puts("Please, bundle `gem #{gem}` in your Gemfile")
|
13
|
-
exit 1 unless block_given?
|
14
|
-
end
|
15
|
-
yield if block_given?
|
16
|
-
end
|
17
|
-
|
18
6
|
def self.scaffold_mode?
|
19
7
|
ENV['LURKER_SCAFFOLD']
|
20
8
|
end
|
data/lib/lurker/cli.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'thor'
|
2
2
|
require 'execjs'
|
3
|
+
require 'pdfkit'
|
4
|
+
# require 'coderay'
|
3
5
|
require 'digest/sha1'
|
4
6
|
require 'lurker/service'
|
5
7
|
|
@@ -58,7 +60,6 @@ module Lurker
|
|
58
60
|
|
59
61
|
no_tasks do
|
60
62
|
def convert_to_pdf
|
61
|
-
Lurker.safe_require('pdfkit')
|
62
63
|
css = File.expand_path('application.css', self.class.precompiled_static_root)
|
63
64
|
in_root do
|
64
65
|
service_presenters.each do |service_presenter|
|
@@ -203,7 +204,7 @@ module Lurker
|
|
203
204
|
return unless content_fname
|
204
205
|
content_fname = File.expand_path(content_fname)
|
205
206
|
if content_fname.ends_with? 'md'
|
206
|
-
|
207
|
+
require 'kramdown'
|
207
208
|
Kramdown::Document.new(open(content_fname).read).to_html
|
208
209
|
else
|
209
210
|
''
|
@@ -84,20 +84,14 @@ class Lurker::EndpointPresenter < Lurker::BasePresenter
|
|
84
84
|
return if endpoint.response_parameters.empty?
|
85
85
|
response = example_from_schema(endpoint.response_parameters, endpoint.schema)
|
86
86
|
@example_response = response.to_json
|
87
|
-
|
88
|
-
Lurker.safe_require("execjs", "to get samples highlighted") do
|
87
|
+
if defined? ExecJS
|
89
88
|
jsfile = File.expand_path('javascripts/highlight.pack.js', Lurker::Cli.source_root)
|
90
89
|
source = open(jsfile).read
|
91
90
|
context = ExecJS.compile(source)
|
92
91
|
@example_response = context.exec("return hljs.highlightAuto(JSON.stringify(#{@example_response}, null, 2)).value")
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
Lurker.safe_require("coderay", "to get samples highlighted") do
|
97
|
-
#::CodeRay.scan(response.to_json, :jjson).html(wrap: nil, css: :class) # forked compatible version
|
98
|
-
@example_response = ::CodeRay.scan(@example_response, :json).html(wrap: nil, css: :class)
|
99
|
-
@highlighted = true
|
100
|
-
end
|
92
|
+
elsif defined? CodeRay
|
93
|
+
@example_response = ::CodeRay.scan(@example_response, :json).html(wrap: nil, css: :class)
|
94
|
+
#::CodeRay.scan(response.to_json, :jjson).html(wrap: nil, css: :class)
|
101
95
|
end
|
102
96
|
@example_response
|
103
97
|
end
|
data/lib/lurker/schema.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'diffy'
|
1
2
|
require 'yaml'
|
2
3
|
|
3
4
|
module Lurker
|
@@ -30,6 +31,13 @@ module Lurker
|
|
30
31
|
@hash.send method, *args, &block
|
31
32
|
end
|
32
33
|
|
34
|
+
def diff(schema)
|
35
|
+
::Diffy::Diff.new(
|
36
|
+
schema.serialized_for_diff,
|
37
|
+
serialized_for_diff,
|
38
|
+
context: 1).to_s(:color)
|
39
|
+
end
|
40
|
+
|
33
41
|
def write_to(path)
|
34
42
|
if @hash['prefix'].blank?
|
35
43
|
@hash['prefix'] = "#{default_subject} management"
|
data/lib/lurker/version.rb
CHANGED
data/lurker.gemspec
CHANGED
@@ -7,13 +7,11 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "lurker"
|
8
8
|
spec.version = Lurker::VERSION
|
9
9
|
spec.authors = ["Vlad Bokov"]
|
10
|
-
spec.email = ["
|
11
|
-
spec.summary = %q{
|
12
|
-
spec.description = %q{
|
10
|
+
spec.email = ["razum2um@mail.ru"]
|
11
|
+
spec.summary = %q{Lukrs into your API rquest to tell you the truth.}
|
12
|
+
spec.description = %q{It hooks in rspec controller methods to check theirs schema and let people try it}
|
13
13
|
spec.homepage = "http://github.com/razum2um/lurker"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.cert_chain = ['certs/razum2um.pem']
|
16
|
-
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
|
17
15
|
|
18
16
|
spec.files = `git ls-files`.split($/)
|
19
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
@@ -22,10 +20,15 @@ Gem::Specification.new do |spec|
|
|
22
20
|
|
23
21
|
spec.add_dependency("json", "~> 1.7")
|
24
22
|
spec.add_dependency("json-schema", "~> 2.2")
|
23
|
+
spec.add_dependency("kramdown", "~> 1.3")
|
25
24
|
spec.add_dependency("thor", "~> 0.19")
|
25
|
+
spec.add_dependency("diffy", "~> 3.0")
|
26
26
|
spec.add_dependency("sinatra", "~> 1.4")
|
27
|
-
spec.add_dependency("
|
28
|
-
spec.add_dependency("
|
27
|
+
spec.add_dependency("execjs", "~> 2.0")
|
28
|
+
spec.add_dependency("pdfkit", "~> 0.6")
|
29
|
+
spec.add_dependency("wkhtmltopdf-binary", "~> 0.9")
|
30
|
+
# spec.add_dependency("coderay", "~> 1.0")
|
31
|
+
spec.add_dependency("hashie", "~> 2.1")
|
29
32
|
|
30
33
|
# testing
|
31
34
|
spec.add_development_dependency("psych", "~> 2.0")
|
@@ -48,9 +51,4 @@ Gem::Specification.new do |spec|
|
|
48
51
|
# inner Gemfile isn"t getting used, but lib"s one
|
49
52
|
spec.add_development_dependency("rspec-rails", "~> 2.14")
|
50
53
|
spec.add_development_dependency("pg", "~> 0.16")
|
51
|
-
spec.add_development_dependency("kramdown", "~> 1.3")
|
52
|
-
spec.add_development_dependency("diffy", "~> 3.0")
|
53
|
-
spec.add_development_dependency("execjs", "~> 2.0")
|
54
|
-
spec.add_development_dependency("pdfkit", "~> 0.6")
|
55
|
-
spec.add_development_dependency("wkhtmltopdf-binary", "~> 0.9")
|
56
54
|
end
|
data/templates/lurker_app.rb
CHANGED
@@ -3,11 +3,6 @@ gem 'rspec-rails'
|
|
3
3
|
gem 'spring-commands-rspec'
|
4
4
|
gem 'database_cleaner'
|
5
5
|
gem 'simplecov', '~> 0.7.1', require: false
|
6
|
-
gem 'kramdown', '~> 1.3'
|
7
|
-
gem 'pdfkit', '~> 0.5'
|
8
|
-
gem 'wkhtmltopdf-binary', '~> 0.9'
|
9
|
-
gem 'execjs'
|
10
|
-
gem 'coderay'
|
11
6
|
|
12
7
|
unless ENV['TRAVIS']
|
13
8
|
if RUBY_VERSION > '2.0.0'
|
@@ -22,20 +17,10 @@ gem 'unicorn', group: :production
|
|
22
17
|
gem 'therubyracer', group: :production
|
23
18
|
|
24
19
|
append_to_file 'Gemfile' do
|
25
|
-
gem = if ENV['TRAVIS']
|
26
|
-
"gem 'lurker', github: 'razum2um/lurker', branch: 'master'"
|
27
|
-
else
|
28
|
-
origin = `cd ../.. && git config --get remote.origin.url`.scan(/github\.com.(.*).git/).flatten.first.strip rescue 'razum2um/lurker'
|
29
|
-
branch = `cd ../.. && git rev-parse --abbrev-ref HEAD`.strip rescue 'master'
|
30
|
-
"gem 'lurker', github: '#{origin}', branch: '#{branch}'"
|
31
|
-
end
|
32
|
-
|
33
20
|
<<-CODE
|
34
21
|
|
35
|
-
# new line above is important
|
36
|
-
|
37
|
-
# as I deploy this app instantly with this Gemfile
|
38
|
-
#{gem}
|
22
|
+
# new line above is important
|
23
|
+
gem 'lurker', github: 'razum2um/lurker', branch: 'master'
|
39
24
|
CODE
|
40
25
|
end
|
41
26
|
|
metadata
CHANGED
@@ -1,36 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lurker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vlad Bokov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRMwEQYDVQQDDApib2tv
|
14
|
-
di52bGFkMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNj
|
15
|
-
b20wHhcNMTQwNTIwMjAyOTAyWhcNMTUwNTIwMjAyOTAyWjBBMRMwEQYDVQQDDApi
|
16
|
-
b2tvdi52bGFkMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
|
17
|
-
FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCibrb/aiZX3kWo
|
18
|
-
Fmzo3gvGBFS9N18Q5rp9UTJRc4KxZQOay2WcgLjy1oU61r2Urjz3VDT4sg/yw3N3
|
19
|
-
YXIPqSTRl+OPIaafe45TVpF4mtMSsc1Gm/O3Sfoz6URiMd9iDtc2sTpaMgatL4pV
|
20
|
-
EExER9emjrmElRFknJD65E3gVDX7KXvrZYYAScJR33DADIGUgpuyHm29S7G/4WAy
|
21
|
-
ol6XfmPx+x5rM49QytGSNCQDYQ3SMMCo9wKkEm3Zcx0O4qhO8INevl/mvkAWLhOA
|
22
|
-
+0qldtuUx9wbBQ0D0wVR8LTafqWrIUHQjWXqrhWBqXhYeR3jj5aehBhpPFclHuKU
|
23
|
-
5GeILZrFAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
24
|
-
BBSiidH2CEJmkza+NBBJNLcnzQX57TAfBgNVHREEGDAWgRRib2tvdi52bGFkQGdt
|
25
|
-
YWlsLmNvbTAfBgNVHRIEGDAWgRRib2tvdi52bGFkQGdtYWlsLmNvbTANBgkqhkiG
|
26
|
-
9w0BAQUFAAOCAQEAVEyF63kQT9HKm3YIw1WzLvuOMvEUThzBomMMsTp9CGXWvem6
|
27
|
-
wZdMhxykwk1lga0OwsCn+wr1tWZ/cNeWqGSY00vTfLWdriK60xuRW7zT1Z5tmxbD
|
28
|
-
dq2ULdhII/qCFQlzDB/+IptO1rJLzfxTckoArmeYtkBV6LaVd7wpaRZnw0Apm93e
|
29
|
-
ph03YddPDbB34xTivvu4d6BBbKGxj/YN+1NLD9rMi6FspgcA4P1UlmKqyCluTbZj
|
30
|
-
vzKbYclpJ7gENr/xiTjGqA/Md3zJMzmsFrzUXt4RVmo5SaCyZjC6gFfhSr+PODc7
|
31
|
-
ZaSbckvH/+m4boAsg0JkGGFcS3j5fgNmdwgA1A==
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2014-05-21 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-05-14 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: json
|
@@ -60,6 +38,20 @@ dependencies:
|
|
60
38
|
- - "~>"
|
61
39
|
- !ruby/object:Gem::Version
|
62
40
|
version: '2.2'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: kramdown
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
63
55
|
- !ruby/object:Gem::Dependency
|
64
56
|
name: thor
|
65
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,6 +66,20 @@ dependencies:
|
|
74
66
|
- - "~>"
|
75
67
|
- !ruby/object:Gem::Version
|
76
68
|
version: '0.19'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: diffy
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
77
83
|
- !ruby/object:Gem::Dependency
|
78
84
|
name: sinatra
|
79
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,7 +95,7 @@ dependencies:
|
|
89
95
|
- !ruby/object:Gem::Version
|
90
96
|
version: '1.4'
|
91
97
|
- !ruby/object:Gem::Dependency
|
92
|
-
name:
|
98
|
+
name: execjs
|
93
99
|
requirement: !ruby/object:Gem::Requirement
|
94
100
|
requirements:
|
95
101
|
- - "~>"
|
@@ -103,25 +109,47 @@ dependencies:
|
|
103
109
|
- !ruby/object:Gem::Version
|
104
110
|
version: '2.0'
|
105
111
|
- !ruby/object:Gem::Dependency
|
106
|
-
name:
|
112
|
+
name: pdfkit
|
107
113
|
requirement: !ruby/object:Gem::Requirement
|
108
114
|
requirements:
|
109
|
-
- - "
|
115
|
+
- - "~>"
|
110
116
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
112
|
-
|
117
|
+
version: '0.6'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
113
123
|
- !ruby/object:Gem::Version
|
114
|
-
version: '
|
124
|
+
version: '0.6'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: wkhtmltopdf-binary
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.9'
|
115
132
|
type: :runtime
|
116
133
|
prerelease: false
|
117
134
|
version_requirements: !ruby/object:Gem::Requirement
|
118
135
|
requirements:
|
119
|
-
- - "
|
136
|
+
- - "~>"
|
120
137
|
- !ruby/object:Gem::Version
|
121
|
-
version: '
|
122
|
-
|
138
|
+
version: '0.9'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: hashie
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
123
144
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
145
|
+
version: '2.1'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '2.1'
|
125
153
|
- !ruby/object:Gem::Dependency
|
126
154
|
name: psych
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -352,79 +380,10 @@ dependencies:
|
|
352
380
|
- - "~>"
|
353
381
|
- !ruby/object:Gem::Version
|
354
382
|
version: '0.16'
|
355
|
-
|
356
|
-
|
357
|
-
requirement: !ruby/object:Gem::Requirement
|
358
|
-
requirements:
|
359
|
-
- - "~>"
|
360
|
-
- !ruby/object:Gem::Version
|
361
|
-
version: '1.3'
|
362
|
-
type: :development
|
363
|
-
prerelease: false
|
364
|
-
version_requirements: !ruby/object:Gem::Requirement
|
365
|
-
requirements:
|
366
|
-
- - "~>"
|
367
|
-
- !ruby/object:Gem::Version
|
368
|
-
version: '1.3'
|
369
|
-
- !ruby/object:Gem::Dependency
|
370
|
-
name: diffy
|
371
|
-
requirement: !ruby/object:Gem::Requirement
|
372
|
-
requirements:
|
373
|
-
- - "~>"
|
374
|
-
- !ruby/object:Gem::Version
|
375
|
-
version: '3.0'
|
376
|
-
type: :development
|
377
|
-
prerelease: false
|
378
|
-
version_requirements: !ruby/object:Gem::Requirement
|
379
|
-
requirements:
|
380
|
-
- - "~>"
|
381
|
-
- !ruby/object:Gem::Version
|
382
|
-
version: '3.0'
|
383
|
-
- !ruby/object:Gem::Dependency
|
384
|
-
name: execjs
|
385
|
-
requirement: !ruby/object:Gem::Requirement
|
386
|
-
requirements:
|
387
|
-
- - "~>"
|
388
|
-
- !ruby/object:Gem::Version
|
389
|
-
version: '2.0'
|
390
|
-
type: :development
|
391
|
-
prerelease: false
|
392
|
-
version_requirements: !ruby/object:Gem::Requirement
|
393
|
-
requirements:
|
394
|
-
- - "~>"
|
395
|
-
- !ruby/object:Gem::Version
|
396
|
-
version: '2.0'
|
397
|
-
- !ruby/object:Gem::Dependency
|
398
|
-
name: pdfkit
|
399
|
-
requirement: !ruby/object:Gem::Requirement
|
400
|
-
requirements:
|
401
|
-
- - "~>"
|
402
|
-
- !ruby/object:Gem::Version
|
403
|
-
version: '0.6'
|
404
|
-
type: :development
|
405
|
-
prerelease: false
|
406
|
-
version_requirements: !ruby/object:Gem::Requirement
|
407
|
-
requirements:
|
408
|
-
- - "~>"
|
409
|
-
- !ruby/object:Gem::Version
|
410
|
-
version: '0.6'
|
411
|
-
- !ruby/object:Gem::Dependency
|
412
|
-
name: wkhtmltopdf-binary
|
413
|
-
requirement: !ruby/object:Gem::Requirement
|
414
|
-
requirements:
|
415
|
-
- - "~>"
|
416
|
-
- !ruby/object:Gem::Version
|
417
|
-
version: '0.9'
|
418
|
-
type: :development
|
419
|
-
prerelease: false
|
420
|
-
version_requirements: !ruby/object:Gem::Requirement
|
421
|
-
requirements:
|
422
|
-
- - "~>"
|
423
|
-
- !ruby/object:Gem::Version
|
424
|
-
version: '0.9'
|
425
|
-
description: The new de-facto for API testing your Rails application
|
383
|
+
description: It hooks in rspec controller methods to check theirs schema and let people
|
384
|
+
try it
|
426
385
|
email:
|
427
|
-
-
|
386
|
+
- razum2um@mail.ru
|
428
387
|
executables:
|
429
388
|
- lurker
|
430
389
|
extensions: []
|
@@ -439,7 +398,6 @@ files:
|
|
439
398
|
- README.md
|
440
399
|
- Rakefile
|
441
400
|
- bin/lurker
|
442
|
-
- certs/razum2um.pem
|
443
401
|
- cucumber.yml
|
444
402
|
- features/README.md
|
445
403
|
- features/controller_nested_schema_scaffolding.feature
|
@@ -562,7 +520,7 @@ rubyforge_project:
|
|
562
520
|
rubygems_version: 2.2.2
|
563
521
|
signing_key:
|
564
522
|
specification_version: 4
|
565
|
-
summary:
|
523
|
+
summary: Lukrs into your API rquest to tell you the truth.
|
566
524
|
test_files:
|
567
525
|
- features/README.md
|
568
526
|
- features/controller_nested_schema_scaffolding.feature
|
metadata.gz.asc
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
-----BEGIN PGP SIGNATURE-----
|
2
|
+
Version: GnuPG v1
|
3
|
+
Comment: GPGTools - http://gpgtools.org
|
4
|
+
|
5
|
+
iQEcBAABCgAGBQJTc6uwAAoJENcoxKfNVdjbBysIAKPht7dFcw1FVZGq+D3t3Gxu
|
6
|
+
oLvyRB4VbdDKFVnqNy+cflqIllyCmCuVAjVepNS+te7UFnqoPkDpF21dob8JT2+h
|
7
|
+
ybx9dspdr5Z3+CFy+mU7ya+GFoDolKDEzv277f3S7kGRws7C02TkR7uGr204Jyos
|
8
|
+
Ckm/9c6MwT16pt+8VcTn3wUwYdDBWpLrvn2+apkPldyOPI5HI9ohgFosqDiTYRsi
|
9
|
+
ObcmJRPISPYxpE4ej26h+p5flxsFridrW8NBKRWdVpjgBVeH02bGSCmQ79yMWVY2
|
10
|
+
DqfZollFgztt1Fw4A90cAA5SPhCb5pfbgLiJ2GgMBZimQumpl6hQ6pJZwMTIVgA=
|
11
|
+
=MIHv
|
12
|
+
-----END PGP SIGNATURE-----
|
checksums.yaml.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<H�;"y���ϊ����ר�h�E3eL�d�8��&���wl�@��,M��D��9������1���l 4[d��T��\�����[���.Yd����Dž�-;���ZQ�BC����v�(��&��X�-sֱ�������ω������t�,>��Ʒ$�@�J��{����Aj{� ��V����J�/�} s������>E�8�.��O�Q5���NՔ��X�Y��,W���Āg>u��W������`
|
data.tar.gz.sig
DELETED
Binary file
|
data/certs/razum2um.pem
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRMwEQYDVQQDDApib2tv
|
3
|
-
di52bGFkMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNj
|
4
|
-
b20wHhcNMTQwNTIwMjAyOTAyWhcNMTUwNTIwMjAyOTAyWjBBMRMwEQYDVQQDDApi
|
5
|
-
b2tvdi52bGFkMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
|
6
|
-
FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCibrb/aiZX3kWo
|
7
|
-
Fmzo3gvGBFS9N18Q5rp9UTJRc4KxZQOay2WcgLjy1oU61r2Urjz3VDT4sg/yw3N3
|
8
|
-
YXIPqSTRl+OPIaafe45TVpF4mtMSsc1Gm/O3Sfoz6URiMd9iDtc2sTpaMgatL4pV
|
9
|
-
EExER9emjrmElRFknJD65E3gVDX7KXvrZYYAScJR33DADIGUgpuyHm29S7G/4WAy
|
10
|
-
ol6XfmPx+x5rM49QytGSNCQDYQ3SMMCo9wKkEm3Zcx0O4qhO8INevl/mvkAWLhOA
|
11
|
-
+0qldtuUx9wbBQ0D0wVR8LTafqWrIUHQjWXqrhWBqXhYeR3jj5aehBhpPFclHuKU
|
12
|
-
5GeILZrFAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
13
|
-
BBSiidH2CEJmkza+NBBJNLcnzQX57TAfBgNVHREEGDAWgRRib2tvdi52bGFkQGdt
|
14
|
-
YWlsLmNvbTAfBgNVHRIEGDAWgRRib2tvdi52bGFkQGdtYWlsLmNvbTANBgkqhkiG
|
15
|
-
9w0BAQUFAAOCAQEAVEyF63kQT9HKm3YIw1WzLvuOMvEUThzBomMMsTp9CGXWvem6
|
16
|
-
wZdMhxykwk1lga0OwsCn+wr1tWZ/cNeWqGSY00vTfLWdriK60xuRW7zT1Z5tmxbD
|
17
|
-
dq2ULdhII/qCFQlzDB/+IptO1rJLzfxTckoArmeYtkBV6LaVd7wpaRZnw0Apm93e
|
18
|
-
ph03YddPDbB34xTivvu4d6BBbKGxj/YN+1NLD9rMi6FspgcA4P1UlmKqyCluTbZj
|
19
|
-
vzKbYclpJ7gENr/xiTjGqA/Md3zJMzmsFrzUXt4RVmo5SaCyZjC6gFfhSr+PODc7
|
20
|
-
ZaSbckvH/+m4boAsg0JkGGFcS3j5fgNmdwgA1A==
|
21
|
-
-----END CERTIFICATE-----
|
metadata.gz.sig
DELETED