drone_json 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +20 -0
- data/README.md +9 -0
- data/lib/drone_json.rb +9 -0
- data/lib/drone_json.rbc +244 -0
- data/lib/drone_json/json.rb +100 -0
- data/lib/drone_json/json.rbc +2010 -0
- data/lib/drone_json/version.rbc +130 -0
- data/specs/common.rb +63 -0
- metadata +13 -7
@@ -0,0 +1,130 @@
|
|
1
|
+
!RBIX
|
2
|
+
10937318184790222022
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
9
|
54
|
+
DroneJson
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
9
|
67
|
+
DroneJson
|
68
|
+
i
|
69
|
+
12
|
70
|
+
5
|
71
|
+
66
|
72
|
+
65
|
73
|
+
7
|
74
|
+
0
|
75
|
+
7
|
76
|
+
1
|
77
|
+
64
|
78
|
+
49
|
79
|
+
2
|
80
|
+
2
|
81
|
+
11
|
82
|
+
I
|
83
|
+
3
|
84
|
+
I
|
85
|
+
0
|
86
|
+
I
|
87
|
+
0
|
88
|
+
I
|
89
|
+
0
|
90
|
+
n
|
91
|
+
p
|
92
|
+
3
|
93
|
+
x
|
94
|
+
7
|
95
|
+
VERSION
|
96
|
+
s
|
97
|
+
5
|
98
|
+
0.0.1
|
99
|
+
x
|
100
|
+
9
|
101
|
+
const_set
|
102
|
+
p
|
103
|
+
3
|
104
|
+
I
|
105
|
+
2
|
106
|
+
I
|
107
|
+
2
|
108
|
+
I
|
109
|
+
c
|
110
|
+
x
|
111
|
+
65
|
112
|
+
/Users/schmurfy/Dev/personal/drone_json/lib/drone_json/version.rb
|
113
|
+
p
|
114
|
+
0
|
115
|
+
x
|
116
|
+
13
|
117
|
+
attach_method
|
118
|
+
p
|
119
|
+
3
|
120
|
+
I
|
121
|
+
0
|
122
|
+
I
|
123
|
+
1
|
124
|
+
I
|
125
|
+
1c
|
126
|
+
x
|
127
|
+
65
|
128
|
+
/Users/schmurfy/Dev/personal/drone_json/lib/drone_json/version.rb
|
129
|
+
p
|
130
|
+
0
|
data/specs/common.rb
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
$:.reject! { |e| e.include? 'TextMate' }
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
|
5
|
+
puts "Testing with ruby #{RUBY_VERSION} and rubygems #{Gem::VERSION}"
|
6
|
+
|
7
|
+
require 'bundler/setup'
|
8
|
+
|
9
|
+
if (RUBY_VERSION >= "1.9") && ENV['COVERAGE']
|
10
|
+
require 'simplecov'
|
11
|
+
ROOT = File.expand_path('../../', __FILE__)
|
12
|
+
|
13
|
+
puts "[[ SimpleCov enabled ]]"
|
14
|
+
|
15
|
+
SimpleCov.start do
|
16
|
+
add_filter '/gems/'
|
17
|
+
add_filter '/specs/'
|
18
|
+
|
19
|
+
root(ROOT)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
require 'bacon'
|
24
|
+
require 'mocha'
|
25
|
+
require 'delorean'
|
26
|
+
require 'em-spec/bacon'
|
27
|
+
EM.spec_backend = EventMachine::Spec::Bacon
|
28
|
+
|
29
|
+
$LOAD_PATH << File.expand_path('../../lib', __FILE__)
|
30
|
+
|
31
|
+
module Bacon
|
32
|
+
module MochaRequirementsCounter
|
33
|
+
def self.increment
|
34
|
+
Counter[:requirements] += 1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
class Context
|
39
|
+
include Mocha::API
|
40
|
+
|
41
|
+
alias_method :it_before_mocha, :it
|
42
|
+
|
43
|
+
def it(description)
|
44
|
+
it_before_mocha(description) do
|
45
|
+
begin
|
46
|
+
mocha_setup
|
47
|
+
yield
|
48
|
+
mocha_verify(MochaRequirementsCounter)
|
49
|
+
rescue Mocha::ExpectationError => e
|
50
|
+
raise Error.new(:failed, "#{e.message}\n#{e.backtrace[0...10].join("\n")}")
|
51
|
+
ensure
|
52
|
+
mocha_teardown
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def focus(test_label)
|
60
|
+
Bacon.const_set(:RestrictName, %r{#{test_label}})
|
61
|
+
end
|
62
|
+
|
63
|
+
Bacon.summary_on_exit()
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: drone_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Julien Ammous
|
@@ -98,8 +98,15 @@ extensions: []
|
|
98
98
|
|
99
99
|
extra_rdoc_files: []
|
100
100
|
|
101
|
-
files:
|
102
|
-
|
101
|
+
files:
|
102
|
+
- LICENSE
|
103
|
+
- README.md
|
104
|
+
- lib/drone_json/json.rb
|
105
|
+
- lib/drone_json/json.rbc
|
106
|
+
- lib/drone_json/version.rbc
|
107
|
+
- lib/drone_json.rb
|
108
|
+
- lib/drone_json.rbc
|
109
|
+
- specs/common.rb
|
103
110
|
homepage: ""
|
104
111
|
licenses: []
|
105
112
|
|
@@ -123,10 +130,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
130
|
requirements: []
|
124
131
|
|
125
132
|
rubyforge_project: drone_json
|
126
|
-
rubygems_version: 1.
|
133
|
+
rubygems_version: 1.8.1
|
127
134
|
signing_key:
|
128
135
|
specification_version: 3
|
129
136
|
summary: Drone Interface
|
130
|
-
test_files:
|
131
|
-
|
132
|
-
has_rdoc:
|
137
|
+
test_files:
|
138
|
+
- specs/common.rb
|