ok_health_check 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -0
- data/lib/ok_health_check/controllers/healthcheck_controller.rb +5 -0
- data/lib/ok_health_check/version.rb +1 -1
- data/lib/ok_health_check.rb +4 -2
- data/ok_health_check.gemspec +1 -0
- data/spec/ok_health_check.rb +24 -0
- data/spec/spec_helper.rb +1 -0
- data/tasks/rspec.rake +3 -0
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edbf9baac35a07bbd6dc566cc41652c799776974
|
4
|
+
data.tar.gz: df5411385291d477aad6871e3f56d32197f66647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad539fe9a38c3291a7519b991eb5e44be4a16bb5646cc93961d1c308e633ac0ad1dffd2fc91dc4be55cb59c45e036a5c567742175bfc6502fcf8982823f9224c
|
7
|
+
data.tar.gz: 134d760e675029eddccaeb7ddae468f78b2a43a31ac69731a38e50c2f0dfdab82248d5e50b9c23612a483c730d3ed6860360fdb6ff57127e43bceeb014c180b5
|
data/Rakefile
CHANGED
data/lib/ok_health_check.rb
CHANGED
data/ok_health_check.gemspec
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Dogeify do
|
4
|
+
subject { Dogeify.new }
|
5
|
+
|
6
|
+
describe '#process' do
|
7
|
+
let(:input) { 'My grandmom gave me a sweater for Christmas.' }
|
8
|
+
let(:output) { subject.process(input) }
|
9
|
+
|
10
|
+
it 'converts to lowercase' do
|
11
|
+
expect(output.downcase).to eq output
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'combines nouns with doge adjectives' do
|
15
|
+
expect(output).to match /so grandmom./i
|
16
|
+
expect(output).to match /such sweater./i
|
17
|
+
expect(output).to match /very christmas./i
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'always appends "wow."' do
|
21
|
+
expect(output).to end_with 'wow.'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'ok_health_check'
|
data/tasks/rspec.rake
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ok_health_check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Picciuto
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description: A simple gem to check the health of a site
|
42
56
|
email:
|
43
57
|
- nick@spartansystems.co
|
@@ -51,8 +65,12 @@ files:
|
|
51
65
|
- README.md
|
52
66
|
- Rakefile
|
53
67
|
- lib/ok_health_check.rb
|
68
|
+
- lib/ok_health_check/controllers/healthcheck_controller.rb
|
54
69
|
- lib/ok_health_check/version.rb
|
55
70
|
- ok_health_check.gemspec
|
71
|
+
- spec/ok_health_check.rb
|
72
|
+
- spec/spec_helper.rb
|
73
|
+
- tasks/rspec.rake
|
56
74
|
homepage: ''
|
57
75
|
licenses:
|
58
76
|
- MIT
|
@@ -77,5 +95,7 @@ rubygems_version: 2.4.2
|
|
77
95
|
signing_key:
|
78
96
|
specification_version: 4
|
79
97
|
summary: Site health check
|
80
|
-
test_files:
|
98
|
+
test_files:
|
99
|
+
- spec/ok_health_check.rb
|
100
|
+
- spec/spec_helper.rb
|
81
101
|
has_rdoc:
|