bone 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +6 -0
- data/Rakefile +8 -3
- data/Rudyfile +1 -1
- data/bone.gemspec +3 -5
- data/lib/bone.rb +2 -1
- metadata +6 -15
data/CHANGES.txt
CHANGED
data/Rakefile
CHANGED
@@ -1,13 +1,18 @@
|
|
1
1
|
|
2
2
|
require 'rake/clean'
|
3
3
|
require 'rake/gempackagetask'
|
4
|
-
require 'hanna/rdoctask'
|
5
4
|
require 'rake/testtask'
|
6
|
-
require 'shoulda/tasks'
|
7
5
|
require 'rake/runtest'
|
8
6
|
require 'fileutils'
|
9
7
|
include FileUtils
|
10
|
-
|
8
|
+
|
9
|
+
begin
|
10
|
+
require 'hanna/rdoctask'
|
11
|
+
rescue LoadError
|
12
|
+
require 'rake/rdoctask'
|
13
|
+
end
|
14
|
+
|
15
|
+
|
11
16
|
task :default => :test
|
12
17
|
|
13
18
|
|
data/Rudyfile
CHANGED
data/bone.gemspec
CHANGED
@@ -1,22 +1,20 @@
|
|
1
1
|
@spec = Gem::Specification.new do |s|
|
2
2
|
s.name = "bone"
|
3
3
|
s.rubyforge_project = 'bone'
|
4
|
-
s.version = "0.2.
|
4
|
+
s.version = "0.2.6"
|
5
5
|
s.summary = "Get Bones"
|
6
6
|
s.description = s.summary
|
7
7
|
s.author = "Delano Mandelbaum"
|
8
8
|
s.email = "delano@solutious.com"
|
9
|
-
s.homepage = ""
|
9
|
+
s.homepage = "http://github.com/solutious/bone"
|
10
10
|
|
11
11
|
s.extra_rdoc_files = %w[README.md LICENSE.txt CHANGES.txt]
|
12
12
|
s.has_rdoc = true
|
13
|
-
s.rdoc_options = ["--line-numbers", "--title", s.summary, "--main", "README.
|
13
|
+
s.rdoc_options = ["--line-numbers", "--title", s.summary, "--main", "README.md"]
|
14
14
|
s.require_paths = %w[lib]
|
15
15
|
|
16
16
|
s.executables = %w[bone]
|
17
17
|
|
18
|
-
s.add_dependency 'boned', '= 0.2.4'
|
19
|
-
|
20
18
|
# = MANIFEST =
|
21
19
|
# git ls-files
|
22
20
|
s.files = %w(
|
data/lib/bone.rb
CHANGED
@@ -8,7 +8,7 @@ end
|
|
8
8
|
|
9
9
|
module Bone
|
10
10
|
extend self
|
11
|
-
VERSION = "0.2.
|
11
|
+
VERSION = "0.2.6"
|
12
12
|
APIVERSION = 'v1'.freeze
|
13
13
|
|
14
14
|
class Problem < RuntimeError; end
|
@@ -153,6 +153,7 @@ module Bone
|
|
153
153
|
end
|
154
154
|
http = Net::HTTP.new(host, port)
|
155
155
|
http.use_ssl = true if uri.scheme == 'https'
|
156
|
+
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
156
157
|
res = http.request(req)
|
157
158
|
case res
|
158
159
|
when Net::HTTPSuccess, Net::HTTPRedirection
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delano Mandelbaum
|
@@ -9,19 +9,10 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-02-20 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
name: boned
|
17
|
-
type: :runtime
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - "="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.2.4
|
24
|
-
version:
|
14
|
+
dependencies: []
|
15
|
+
|
25
16
|
description: Get Bones
|
26
17
|
email: delano@solutious.com
|
27
18
|
executables:
|
@@ -56,7 +47,7 @@ files:
|
|
56
47
|
- vendor/drydock-0.6.8/lib/drydock/mixins/string.rb
|
57
48
|
- vendor/drydock-0.6.8/lib/drydock/screen.rb
|
58
49
|
has_rdoc: true
|
59
|
-
homepage:
|
50
|
+
homepage: http://github.com/solutious/bone
|
60
51
|
licenses: []
|
61
52
|
|
62
53
|
post_install_message:
|
@@ -65,7 +56,7 @@ rdoc_options:
|
|
65
56
|
- --title
|
66
57
|
- Get Bones
|
67
58
|
- --main
|
68
|
-
- README.
|
59
|
+
- README.md
|
69
60
|
require_paths:
|
70
61
|
- lib
|
71
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|