dfeojm 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ �_
2
+ �kE�U�69y[�C�3a���$�uʔ|&F�=}��!�
3
+ 9�
4
+ �v��m�@�"�1�xz��τO�&�̹{��G��)84�-�p��;��J��C
data/README.md CHANGED
@@ -3,9 +3,19 @@
3
3
  DownForEveryoneOrJustMe.com CLI and Ruby API
4
4
  =============================
5
5
 
6
+ This requires internet access and checks DownForEveryoneOrJustMe.com to see if a site is up or down.
6
7
 
7
- This is an unofficial gem and in no way connected with DownForEveryoneOrJustMe.com.
8
-
8
+ Usage
9
+ -----
10
+ $ dfeojm www.google.com
11
+ www.google.com is up
12
+ $ dfeojm www.thisdomainisinvalid.com
13
+ www.thisdomainisinvalid.com looks down
14
+
15
+ Note
16
+ ----
17
+ dfeojm returns an exit code of 0 is a site is up, or 1 otherwise.
18
+
9
19
  Setup
10
20
  -----
11
21
  [sudo] gem install dfeojm
@@ -23,5 +33,11 @@ License
23
33
 
24
34
  Released under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
25
35
 
36
+
37
+ Discaimer
38
+ ---------
39
+ This is an unofficial gem and in no way connected with DownForEveryoneOrJustMe.com.
40
+
41
+
26
42
  Created by Barry Allard
27
43
 
@@ -27,3 +27,4 @@ Gem::Specification.new do |s|
27
27
  s.require_paths = ['lib']
28
28
 
29
29
  end
30
+ .tap {|gem| gem.signing_key = File.expand_path(File.join('~/.keys', 'gem-private_key.pem')) ; gem.cert_chain = ['gem-public_cert.pem']} # pressed firmly by waxseal
@@ -0,0 +1,20 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDOjCCAiKgAwIBAgIBADANBgkqhkiG9w0BAQUFADBDMRUwEwYDVQQDDAxiYXJy
3
+ eS5hbGxhcmQxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
4
+ A2NvbTAeFw0xMzA0MDgwMTI0NThaFw0xNDA0MDgwMTI0NThaMEMx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3
-
4
- def self.bump_revision
5
- found = false
6
- File.rewrite(__FILE__).each do |line|
7
- # retain the major and minor version, but increment the release.
8
- line.sub(/([0-9]*\.[0-9]*\.)([0-9]*).*$/) { found = true ; $1 + "#{$2.to_i+1}" } unless found
9
- end
10
- end
2
+ VERSION = '0.0.3'
11
3
  end
metadata CHANGED
@@ -1,19 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dfeojm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Barry Allard (steakknife)
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
- date: 2011-11-19 00:00:00.000000000Z
11
+ cert_chain:
12
+ - !binary |-
13
+ LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURPakNDQWlLZ0F3SUJB
14
+ Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJETVJVd0V3WURWUVFEREF4aVlY
15
+ SnkKZVM1aGJHeGhjbVF4RlRBVEJnb0praWFKay9Jc1pBRVpGZ1ZuYldGcGJE
16
+ RVRNQkVHQ2dtU0pvbVQ4aXhrQVJrVwpBMk52YlRBZUZ3MHhNekEwTURnd01U
17
+ STBOVGhhRncweE5EQTBNRGd3TVRJME5UaGFNRU14RlRBVEJnTlZCQU1NCkRH
18
+ Smhjbko1TG1Gc2JHRnlaREVWTUJNR0NnbVNKb21UOGl4a0FSa1dCV2R0WVds
19
+ c01STXdFUVlLQ1pJbWlaUHkKTEdRQkdSWURZMjl0TUlJQklqQU5CZ2txaGtp
20
+ Rzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF2RGNtbHhKSApleVNpVUJj
21
+ WVRxR1hhV0VUUlZZbWdmR3dXUlBaenFrbUJkSVZaa2JrOVNXeHNlaUhXSVJl
22
+ RldqUDQzOFVvVVRzCkoxN0cvSHVRYjBTbWpQQ01aeTg5NjdGYjJ3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 Q0FURS0tLS0tCg==
40
+ date: 2013-04-08 00:00:00.000000000 Z
13
41
  dependencies:
14
42
  - !ruby/object:Gem::Dependency
15
43
  name: nokogiri
16
- requirement: &70133008588020 !ruby/object:Gem::Requirement
44
+ requirement: !ruby/object:Gem::Requirement
17
45
  none: false
18
46
  requirements:
19
47
  - - ! '>='
@@ -21,10 +49,15 @@ dependencies:
21
49
  version: '0'
22
50
  type: :runtime
23
51
  prerelease: false
24
- version_requirements: *70133008588020
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
25
58
  - !ruby/object:Gem::Dependency
26
59
  name: trollop
27
- requirement: &70133008587560 !ruby/object:Gem::Requirement
60
+ requirement: !ruby/object:Gem::Requirement
28
61
  none: false
29
62
  requirements:
30
63
  - - ! '>='
@@ -32,10 +65,15 @@ dependencies:
32
65
  version: '0'
33
66
  type: :runtime
34
67
  prerelease: false
35
- version_requirements: *70133008587560
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
36
74
  - !ruby/object:Gem::Dependency
37
75
  name: bundler
38
- requirement: &70133008587060 !ruby/object:Gem::Requirement
76
+ requirement: !ruby/object:Gem::Requirement
39
77
  none: false
40
78
  requirements:
41
79
  - - ! '>='
@@ -43,10 +81,15 @@ dependencies:
43
81
  version: 1.0.0
44
82
  type: :development
45
83
  prerelease: false
46
- version_requirements: *70133008587060
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: 1.0.0
47
90
  - !ruby/object:Gem::Dependency
48
91
  name: rspec
49
- requirement: &70133008586560 !ruby/object:Gem::Requirement
92
+ requirement: !ruby/object:Gem::Requirement
50
93
  none: false
51
94
  requirements:
52
95
  - - ! '>='
@@ -54,10 +97,15 @@ dependencies:
54
97
  version: 2.7.0
55
98
  type: :development
56
99
  prerelease: false
57
- version_requirements: *70133008586560
100
+ version_requirements: !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: 2.7.0
58
106
  - !ruby/object:Gem::Dependency
59
107
  name: rake
60
- requirement: &70133008586100 !ruby/object:Gem::Requirement
108
+ requirement: !ruby/object:Gem::Requirement
61
109
  none: false
62
110
  requirements:
63
111
  - - ! '>='
@@ -65,7 +113,12 @@ dependencies:
65
113
  version: 0.8.3
66
114
  type: :development
67
115
  prerelease: false
68
- version_requirements: *70133008586100
116
+ version_requirements: !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: 0.8.3
69
122
  description: See http://downforeveryoneorjustme.com
70
123
  email: barry@barryallard.name
71
124
  executables:
@@ -84,6 +137,7 @@ files:
84
137
  - Rakefile
85
138
  - bin/dfeojm
86
139
  - dfeojm.gemspec
140
+ - gem-public_cert.pem
87
141
  - lib/dfeojm.rb
88
142
  - lib/dfeojm/util/command_line.rb
89
143
  - lib/dfeojm/version.rb
@@ -109,8 +163,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
163
  version: 1.3.6
110
164
  requirements: []
111
165
  rubyforge_project: dfeojm
112
- rubygems_version: 1.8.11
166
+ rubygems_version: 1.8.23
113
167
  signing_key:
114
168
  specification_version: 3
115
169
  summary: Unofficial Ruby interface and command-line to DownForEveryoneOrJustMe.com
116
170
  test_files: []
171
+ has_rdoc:
Binary file