sbf-dm-serializer 1.3.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +38 -0
- data/.rspec +5 -0
- data/.rubocop.yml +468 -0
- data/Gemfile +80 -0
- data/LICENSE +20 -0
- data/README.rdoc +64 -0
- data/Rakefile +4 -0
- data/benchmarks/to_json.rb +137 -0
- data/benchmarks/to_xml.rb +89 -0
- data/dm-serializer.gemspec +24 -0
- data/lib/dm-serializer/common.rb +27 -0
- data/lib/dm-serializer/to_csv.rb +71 -0
- data/lib/dm-serializer/to_json.rb +99 -0
- data/lib/dm-serializer/to_xml.rb +123 -0
- data/lib/dm-serializer/to_yaml.rb +157 -0
- data/lib/dm-serializer/version.rb +5 -0
- data/lib/dm-serializer/xml/libxml.rb +44 -0
- data/lib/dm-serializer/xml/nokogiri.rb +44 -0
- data/lib/dm-serializer/xml/rexml.rb +36 -0
- data/lib/dm-serializer/xml.rb +56 -0
- data/lib/dm-serializer.rb +14 -0
- data/spec/fixtures/cow.rb +11 -0
- data/spec/fixtures/planet.rb +46 -0
- data/spec/fixtures/quan_tum_cat.rb +15 -0
- data/spec/fixtures/vehicle.rb +14 -0
- data/spec/lib/serialization_method_shared_spec.rb +287 -0
- data/spec/public/serializer_spec.rb +7 -0
- data/spec/public/to_csv_spec.rb +71 -0
- data/spec/public/to_json_spec.rb +75 -0
- data/spec/public/to_xml_spec.rb +108 -0
- data/spec/public/to_yaml_spec.rb +59 -0
- data/spec/rcov.opts +6 -0
- data/spec/spec_helper.rb +26 -0
- data/tasks/spec.rake +21 -0
- data/tasks/yard.rake +9 -0
- data/tasks/yardstick.rake +19 -0
- metadata +139 -0
metadata
ADDED
@@ -0,0 +1,139 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sbf-dm-serializer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.3.0.beta
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Guy van den Berg
|
8
|
+
- Dan Kubb
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2024-10-04 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sbf-dm-core
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 1.3.0.beta
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 1.3.0.beta
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: fastercsv
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 1.5.4
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 1.5.4
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: multi_json
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 1.3.2
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 1.3.2
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rexml
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.2'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.2'
|
70
|
+
description: dm-serializer allows DataMapper models and collections to be serialized
|
71
|
+
to a variety of formats (currently JSON, XML, YAML and CSV)
|
72
|
+
email:
|
73
|
+
- dan.kubb@gmail.com
|
74
|
+
executables: []
|
75
|
+
extensions: []
|
76
|
+
extra_rdoc_files:
|
77
|
+
- LICENSE
|
78
|
+
- README.rdoc
|
79
|
+
files:
|
80
|
+
- ".gitignore"
|
81
|
+
- ".rspec"
|
82
|
+
- ".rubocop.yml"
|
83
|
+
- Gemfile
|
84
|
+
- LICENSE
|
85
|
+
- README.rdoc
|
86
|
+
- Rakefile
|
87
|
+
- benchmarks/to_json.rb
|
88
|
+
- benchmarks/to_xml.rb
|
89
|
+
- dm-serializer.gemspec
|
90
|
+
- lib/dm-serializer.rb
|
91
|
+
- lib/dm-serializer/common.rb
|
92
|
+
- lib/dm-serializer/to_csv.rb
|
93
|
+
- lib/dm-serializer/to_json.rb
|
94
|
+
- lib/dm-serializer/to_xml.rb
|
95
|
+
- lib/dm-serializer/to_yaml.rb
|
96
|
+
- lib/dm-serializer/version.rb
|
97
|
+
- lib/dm-serializer/xml.rb
|
98
|
+
- lib/dm-serializer/xml/libxml.rb
|
99
|
+
- lib/dm-serializer/xml/nokogiri.rb
|
100
|
+
- lib/dm-serializer/xml/rexml.rb
|
101
|
+
- spec/fixtures/cow.rb
|
102
|
+
- spec/fixtures/planet.rb
|
103
|
+
- spec/fixtures/quan_tum_cat.rb
|
104
|
+
- spec/fixtures/vehicle.rb
|
105
|
+
- spec/lib/serialization_method_shared_spec.rb
|
106
|
+
- spec/public/serializer_spec.rb
|
107
|
+
- spec/public/to_csv_spec.rb
|
108
|
+
- spec/public/to_json_spec.rb
|
109
|
+
- spec/public/to_xml_spec.rb
|
110
|
+
- spec/public/to_yaml_spec.rb
|
111
|
+
- spec/rcov.opts
|
112
|
+
- spec/spec_helper.rb
|
113
|
+
- tasks/spec.rake
|
114
|
+
- tasks/yard.rake
|
115
|
+
- tasks/yardstick.rake
|
116
|
+
homepage: https://datamapper.org
|
117
|
+
licenses:
|
118
|
+
- Nonstandard
|
119
|
+
metadata: {}
|
120
|
+
post_install_message:
|
121
|
+
rdoc_options: []
|
122
|
+
require_paths:
|
123
|
+
- lib
|
124
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '2.7'
|
129
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 1.3.1
|
134
|
+
requirements: []
|
135
|
+
rubygems_version: 3.4.10
|
136
|
+
signing_key:
|
137
|
+
specification_version: 4
|
138
|
+
summary: DataMapper plugin for serializing Resources and Collections
|
139
|
+
test_files: []
|