klink-ruby-api 1.0.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/CHANGELOG +17 -0
- data/README +6 -0
- data/Rakefile +36 -0
- data/config/klink.example.yml +17 -0
- data/config/klink_test_suite.def +1526 -0
- data/lib/kinetic/link.rb +522 -0
- data/lib/klink-ruby-api.rb +1 -0
- data/test/functional/configurations_test.rb +68 -0
- data/test/functional/create_test.rb +26 -0
- data/test/functional/delete_test.rb +38 -0
- data/test/functional/entries_test.rb +45 -0
- data/test/functional/entry_test.rb +17 -0
- data/test/functional/statistics_test.rb +55 -0
- data/test/functional/structure_test.rb +30 -0
- data/test/functional/structures_test.rb +29 -0
- data/test/functional/update_test.rb +41 -0
- data/test/test_helper.rb +6 -0
- metadata +87 -0
data/CHANGELOG
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
Klink Ruby API v1.0.2 (2010-03-19)
|
2
|
+
* Initial load.
|
3
|
+
|
4
|
+
|
5
|
+
Klink Ruby API v1.0.5 (2010-10-05)
|
6
|
+
* Added method 'entries_with_fields'
|
7
|
+
* Accepts a list of field ids to return with each entry either as an array, or as a comma-separated string
|
8
|
+
* Returns an array of hashes, one hash for each entry
|
9
|
+
* Modified method 'entry'
|
10
|
+
* Now accepts an array of field ids to return with the entry as well as a comma-separated string
|
11
|
+
* Modified method 'entries'
|
12
|
+
* Changed the parameter params={} to qual=nil, as this parameter was used as the Remedy form qualification
|
13
|
+
* Mofified the sort fields to accept an array of field ids as well as a comma-separated string
|
14
|
+
|
15
|
+
Klink Ruby API v1.0.6 (2010-12-16)
|
16
|
+
* Updated entries_with_fields to fall back to retrieving entries individually in the case of any error,
|
17
|
+
previously it was looking specifically for error number 241.
|
data/README
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/gempackagetask'
|
3
|
+
require 'rake/rdoctask'
|
4
|
+
require 'rake/testtask'
|
5
|
+
require 'lib/kinetic/link'
|
6
|
+
|
7
|
+
Rake::RDocTask.new do |rdoc|
|
8
|
+
files =['README', 'CHANGELOG', 'lib/**/*.rb']
|
9
|
+
rdoc.rdoc_files.add(files)
|
10
|
+
rdoc.main = "README"
|
11
|
+
rdoc.title = "Kinetic Link Ruby API"
|
12
|
+
rdoc.rdoc_dir = 'doc'
|
13
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
14
|
+
end
|
15
|
+
|
16
|
+
spec = Gem::Specification.new do |s|
|
17
|
+
s.name = 'klink-ruby-api'
|
18
|
+
s.summary = 'Ruby wrapper library for Kinetic Link.'
|
19
|
+
s.version = Kinetic::Link::VERSION
|
20
|
+
s.has_rdoc = true
|
21
|
+
s.extra_rdoc_files = ['README', 'CHANGELOG']
|
22
|
+
s.rdoc_options << '--line-numbers' << '--inline-source' << '--title' << "Kinetic Link Ruby API"
|
23
|
+
s.author = 'John Sundberg'
|
24
|
+
s.email = 'john.sundberg@kineticdata.com'
|
25
|
+
s.homepage = 'http://www.kineticdata.com'
|
26
|
+
s.files = %w(README Rakefile) + Dir.glob("{config,doc,lib,test}/**/*")
|
27
|
+
s.require_path = "lib"
|
28
|
+
s.rubyforge_project = 'N/A'
|
29
|
+
end
|
30
|
+
Rake::GemPackageTask.new(spec)do |p|
|
31
|
+
p.gem_spec = spec
|
32
|
+
end
|
33
|
+
|
34
|
+
Rake::TestTask.new do |t|
|
35
|
+
t.test_files = FileList['test/**/*.rb']
|
36
|
+
end
|