spqr 0.3.5 → 0.3.6
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/VERSION +1 -1
- data/lib/spqr/manageable.rb +4 -4
- data/ruby-spqr.spec.in +14 -1
- metadata +34 -72
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.6
|
data/lib/spqr/manageable.rb
CHANGED
@@ -236,8 +236,8 @@ module SPQR
|
|
236
236
|
|
237
237
|
# XXX: should cons up a "safe_attr_reader" method that works
|
238
238
|
# like this:
|
239
|
-
attr_reader name.to_sym unless
|
240
|
-
attr_writer name.to_sym unless
|
239
|
+
attr_reader name.to_sym unless method_defined? "#{name}"
|
240
|
+
attr_writer name.to_sym unless method_defined? "#{name}="
|
241
241
|
end
|
242
242
|
end
|
243
243
|
|
@@ -247,8 +247,8 @@ module SPQR
|
|
247
247
|
# add a property accessor to instances of other
|
248
248
|
self.class_eval do
|
249
249
|
# XXX: should cons up a "safe_attr_accessor" method that works like this:
|
250
|
-
attr_reader name.to_sym unless
|
251
|
-
attr_writer name.to_sym unless
|
250
|
+
attr_reader name.to_sym unless method_defined? "#{name}"
|
251
|
+
attr_writer name.to_sym unless method_defined? "#{name}="
|
252
252
|
end
|
253
253
|
|
254
254
|
if options and options[:index]
|
data/ruby-spqr.spec.in
CHANGED
@@ -6,6 +6,12 @@
|
|
6
6
|
%global building_for_el5 0
|
7
7
|
%endif
|
8
8
|
|
9
|
+
%if (0%{?fedora} >= 17)
|
10
|
+
%global ruby_abi 1.9.1
|
11
|
+
%else
|
12
|
+
%global ruby_abi 1.8
|
13
|
+
%endif
|
14
|
+
|
9
15
|
Summary: SPQR: {Schema Processor|Straightforward Publishing} for QMF agents in Ruby
|
10
16
|
Name: ruby-spqr
|
11
17
|
Version: SPQR_VERSION
|
@@ -15,7 +21,7 @@ License: ASL 2.0
|
|
15
21
|
URL: http://git.fedorahosted.org/git/grid/spqr.git
|
16
22
|
Source0: https://fedorahosted.org/releases/g/r/grid/%{name}-%{version}.tar.gz
|
17
23
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
18
|
-
Requires: ruby(abi) =
|
24
|
+
Requires: ruby(abi) = %{?ruby_abi}
|
19
25
|
Requires: ruby
|
20
26
|
Requires: ruby-qmf
|
21
27
|
BuildRequires: ruby
|
@@ -78,6 +84,13 @@ rm -rf %{buildroot}
|
|
78
84
|
|
79
85
|
%changelog
|
80
86
|
|
87
|
+
* Thu Feb 9 2012 <willb@redhat> - 0.3.6-1
|
88
|
+
- Fixes for compatibility with Ruby 1.9
|
89
|
+
|
90
|
+
* Wed Nov 23 2011 <willb@redhat> - 0.3.5-1
|
91
|
+
- bug fix with explicit authentication mechanisms (BZ 756401)
|
92
|
+
- added additional explicit authentication mechanisms (BZ 756402)
|
93
|
+
|
81
94
|
* Tue Oct 11 2011 <willb@redhat> - 0.3.4-1
|
82
95
|
- build workflow improvements
|
83
96
|
|
metadata
CHANGED
@@ -1,50 +1,38 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: spqr
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 5
|
10
|
-
version: 0.3.5
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.6
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- William Benton
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-02-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: rspec
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &19099860 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 13
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 2
|
33
|
-
- 9
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 1.2.9
|
35
22
|
type: :development
|
36
|
-
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *19099860
|
25
|
+
description: SPQR makes it very simple to expose methods on Ruby objects over QMF. You
|
26
|
+
must install ruby-qmf in order to use SPQR.
|
38
27
|
email: willb@redhat.com
|
39
|
-
executables:
|
28
|
+
executables:
|
40
29
|
- spqr-gen.rb
|
41
30
|
extensions: []
|
42
|
-
|
43
|
-
extra_rdoc_files:
|
31
|
+
extra_rdoc_files:
|
44
32
|
- LICENSE
|
45
33
|
- README.rdoc
|
46
34
|
- TODO
|
47
|
-
files:
|
35
|
+
files:
|
48
36
|
- .document
|
49
37
|
- CHANGES
|
50
38
|
- LICENSE
|
@@ -81,55 +69,29 @@ files:
|
|
81
69
|
- test/test_spqr_integerprop.rb
|
82
70
|
- test/test_spqr_listarg.rb
|
83
71
|
- test/test_user_and_context.rb
|
84
|
-
has_rdoc: true
|
85
72
|
homepage: http://git.fedorahosted.org/git/grid/spqr.git
|
86
73
|
licenses: []
|
87
|
-
|
88
74
|
post_install_message:
|
89
75
|
rdoc_options: []
|
90
|
-
|
91
|
-
require_paths:
|
76
|
+
require_paths:
|
92
77
|
- lib
|
93
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
94
79
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
99
|
-
|
100
|
-
- 0
|
101
|
-
version: "0"
|
102
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ! '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
85
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
|
108
|
-
segments:
|
109
|
-
- 0
|
110
|
-
version: "0"
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
111
90
|
requirements: []
|
112
|
-
|
113
91
|
rubyforge_project:
|
114
|
-
rubygems_version: 1.
|
92
|
+
rubygems_version: 1.8.15
|
115
93
|
signing_key:
|
116
94
|
specification_version: 3
|
117
|
-
summary:
|
118
|
-
|
119
|
-
|
120
|
-
- examples/logdaemon.rb
|
121
|
-
- examples/logservice.rb
|
122
|
-
- spec/spec_helper.rb
|
123
|
-
- spec/spqr_spec.rb
|
124
|
-
- test/example-apps.rb
|
125
|
-
- test/generic-agent.rb
|
126
|
-
- test/helper.rb
|
127
|
-
- test/test_events.rb
|
128
|
-
- test/test_failbot.rb
|
129
|
-
- test/test_spqr_boolprop.rb
|
130
|
-
- test/test_spqr_clicker.rb
|
131
|
-
- test/test_spqr_dummyprop.rb
|
132
|
-
- test/test_spqr_hello.rb
|
133
|
-
- test/test_spqr_integerprop.rb
|
134
|
-
- test/test_spqr_listarg.rb
|
135
|
-
- test/test_user_and_context.rb
|
95
|
+
summary: ! 'SPQR: {Schema Processor|Straightforward Publishing} for QMF agents in
|
96
|
+
Ruby'
|
97
|
+
test_files: []
|