dbAccessor 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/.autotest +2 -0
  3. data/.gitignore +22 -0
  4. data/.rspec +2 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +29 -0
  8. data/Rakefile +2 -0
  9. data/dbAccessor.gemspec +34 -0
  10. data/lib/dbAccessor/base.rb +100 -0
  11. data/lib/dbAccessor/dbConnector.rb +14 -0
  12. data/lib/dbAccessor/deleter/deleter.rb +73 -0
  13. data/lib/dbAccessor/reader/reader.rb +81 -0
  14. data/lib/dbAccessor/updater/updater.rb +83 -0
  15. data/lib/dbAccessor/version.rb +3 -0
  16. data/lib/dbAccessor/writer/writer.rb +70 -0
  17. data/lib/dbAccessor.rb +20 -0
  18. data/spec/deleter_spec.rb +90 -0
  19. data/spec/feed/dbTest/migration/add_deleted_to_utilisateur.rb +1 -0
  20. data/spec/feed/dbTest/migration/create_table_actions.rb +6 -0
  21. data/spec/feed/dbTest/migration/create_table_applications.rb +21 -0
  22. data/spec/feed/dbTest/migration/create_table_items.rb +4 -0
  23. data/spec/feed/dbTest/migration/create_table_users.rb +22 -0
  24. data/spec/feed/dbTest/migration/create_table_utilisateurs.rb +4 -0
  25. data/spec/feed/dbTest/model/action.rb +8 -0
  26. data/spec/feed/dbTest/model/application.rb +10 -0
  27. data/spec/feed/dbTest/model/item.rb +8 -0
  28. data/spec/feed/dbTest/model/user.rb +9 -0
  29. data/spec/feed/dbTest/model/utilisateur.rb +8 -0
  30. data/spec/feed/resources/do_migration.rb +5 -0
  31. data/spec/feed/resources/environment.rb +3 -0
  32. data/spec/feed/resources/populate.rb +28 -0
  33. data/spec/fixtures/env.rb +1 -0
  34. data/spec/reader_spec.rb +85 -0
  35. data/spec/spec_helper.rb +2 -0
  36. data/spec/updater_spec.rb +96 -0
  37. data/spec/writer_spec.rb +72 -0
  38. metadata +288 -0
metadata ADDED
@@ -0,0 +1,288 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dbAccessor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
5
+ platform: ruby
6
+ authors:
7
+ - fabira
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-05-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: autotest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.4'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 4.4.6
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '4.4'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 4.4.6
47
+ - !ruby/object:Gem::Dependency
48
+ name: uuid
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.3'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.3.7
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '2.3'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 2.3.7
67
+ - !ruby/object:Gem::Dependency
68
+ name: autotest-fsevent
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '0.2'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 0.2.9
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '0.2'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 0.2.9
87
+ - !ruby/object:Gem::Dependency
88
+ name: autotest-growl
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '0.2'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 0.2.16
97
+ type: :development
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.2'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 0.2.16
107
+ - !ruby/object:Gem::Dependency
108
+ name: ZenTest
109
+ requirement: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '4.10'
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 4.10.0
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '4.10'
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: 4.10.0
127
+ - !ruby/object:Gem::Dependency
128
+ name: rspec
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: '2.6'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - "~>"
139
+ - !ruby/object:Gem::Version
140
+ version: '2.6'
141
+ - !ruby/object:Gem::Dependency
142
+ name: activerecord
143
+ requirement: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - "~>"
146
+ - !ruby/object:Gem::Version
147
+ version: '4.1'
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: 4.1.1
151
+ type: :development
152
+ prerelease: false
153
+ version_requirements: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - "~>"
156
+ - !ruby/object:Gem::Version
157
+ version: '4.1'
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: 4.1.1
161
+ - !ruby/object:Gem::Dependency
162
+ name: rake
163
+ requirement: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '10.3'
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: 10.3.2
171
+ type: :development
172
+ prerelease: false
173
+ version_requirements: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - "~>"
176
+ - !ruby/object:Gem::Version
177
+ version: '10.3'
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: 10.3.2
181
+ - !ruby/object:Gem::Dependency
182
+ name: pg
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '0.17'
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: 0.17.1
191
+ type: :development
192
+ prerelease: false
193
+ version_requirements: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - "~>"
196
+ - !ruby/object:Gem::Version
197
+ version: '0.17'
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: 0.17.1
201
+ description: '"Module d''acces a la base de donnees "'
202
+ email:
203
+ - fabira90@gmail.com
204
+ executables: []
205
+ extensions: []
206
+ extra_rdoc_files: []
207
+ files:
208
+ - ".autotest"
209
+ - ".gitignore"
210
+ - ".rspec"
211
+ - Gemfile
212
+ - LICENSE.txt
213
+ - README.md
214
+ - Rakefile
215
+ - dbAccessor.gemspec
216
+ - lib/dbAccessor.rb
217
+ - lib/dbAccessor/base.rb
218
+ - lib/dbAccessor/dbConnector.rb
219
+ - lib/dbAccessor/deleter/deleter.rb
220
+ - lib/dbAccessor/reader/reader.rb
221
+ - lib/dbAccessor/updater/updater.rb
222
+ - lib/dbAccessor/version.rb
223
+ - lib/dbAccessor/writer/writer.rb
224
+ - spec/deleter_spec.rb
225
+ - spec/feed/dbTest/migration/add_deleted_to_utilisateur.rb
226
+ - spec/feed/dbTest/migration/create_table_actions.rb
227
+ - spec/feed/dbTest/migration/create_table_applications.rb
228
+ - spec/feed/dbTest/migration/create_table_items.rb
229
+ - spec/feed/dbTest/migration/create_table_users.rb
230
+ - spec/feed/dbTest/migration/create_table_utilisateurs.rb
231
+ - spec/feed/dbTest/model/action.rb
232
+ - spec/feed/dbTest/model/application.rb
233
+ - spec/feed/dbTest/model/item.rb
234
+ - spec/feed/dbTest/model/user.rb
235
+ - spec/feed/dbTest/model/utilisateur.rb
236
+ - spec/feed/resources/do_migration.rb
237
+ - spec/feed/resources/environment.rb
238
+ - spec/feed/resources/populate.rb
239
+ - spec/fixtures/env.rb
240
+ - spec/reader_spec.rb
241
+ - spec/spec_helper.rb
242
+ - spec/updater_spec.rb
243
+ - spec/writer_spec.rb
244
+ homepage: ''
245
+ licenses:
246
+ - MIT
247
+ metadata: {}
248
+ post_install_message:
249
+ rdoc_options: []
250
+ require_paths:
251
+ - lib
252
+ required_ruby_version: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '2.0'
257
+ required_rubygems_version: !ruby/object:Gem::Requirement
258
+ requirements:
259
+ - - ">="
260
+ - !ruby/object:Gem::Version
261
+ version: '0'
262
+ requirements: []
263
+ rubyforge_project:
264
+ rubygems_version: 2.2.2
265
+ signing_key:
266
+ specification_version: 4
267
+ summary: '"Module dbAccessor"'
268
+ test_files:
269
+ - spec/deleter_spec.rb
270
+ - spec/feed/dbTest/migration/add_deleted_to_utilisateur.rb
271
+ - spec/feed/dbTest/migration/create_table_actions.rb
272
+ - spec/feed/dbTest/migration/create_table_applications.rb
273
+ - spec/feed/dbTest/migration/create_table_items.rb
274
+ - spec/feed/dbTest/migration/create_table_users.rb
275
+ - spec/feed/dbTest/migration/create_table_utilisateurs.rb
276
+ - spec/feed/dbTest/model/action.rb
277
+ - spec/feed/dbTest/model/application.rb
278
+ - spec/feed/dbTest/model/item.rb
279
+ - spec/feed/dbTest/model/user.rb
280
+ - spec/feed/dbTest/model/utilisateur.rb
281
+ - spec/feed/resources/do_migration.rb
282
+ - spec/feed/resources/environment.rb
283
+ - spec/feed/resources/populate.rb
284
+ - spec/fixtures/env.rb
285
+ - spec/reader_spec.rb
286
+ - spec/spec_helper.rb
287
+ - spec/updater_spec.rb
288
+ - spec/writer_spec.rb