spiderfw 0.6.26 → 0.6.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/CHANGELOG +4 -0
  2. data/VERSION +1 -1
  3. data/apps/core/forms/_init.rb +1 -0
  4. data/apps/core/forms/public/date_time.js +0 -1
  5. data/apps/core/forms/public/html_area.js +1 -1
  6. data/apps/core/forms/public/text_area.js +2 -2
  7. data/apps/core/forms/widgets/form/form.rb +40 -38
  8. data/apps/core/forms/widgets/inputs/checkbox_list/checkbox_list.rb +71 -0
  9. data/apps/core/forms/widgets/inputs/checkbox_list/checkbox_list.shtml +5 -0
  10. data/apps/core/forms/widgets/inputs/date_time/date_time.rb +1 -1
  11. data/apps/core/forms/widgets/inputs/search_select/search_select.shtml +2 -2
  12. data/apps/messenger/backends/sms/mobyt.rb +72 -0
  13. data/apps/messenger/config/options.rb +6 -1
  14. data/apps/messenger/controllers/mixins/messenger_helper.rb +6 -4
  15. data/apps/messenger/lib/backends/mobyt.rb +43 -4
  16. data/apps/messenger/test/features/mobyt.feature +29 -0
  17. data/apps/messenger/test/features/step_definitions/mobyt_steps.rb +59 -0
  18. data/lib/spiderfw/app.rb +0 -2
  19. data/lib/spiderfw/cmd/commands/model.rb +10 -6
  20. data/lib/spiderfw/config/configuration.rb +1 -4
  21. data/lib/spiderfw/config/options/spider.rb +4 -3
  22. data/lib/spiderfw/controller/http_controller.rb +5 -1
  23. data/lib/spiderfw/http/adapters/rack.rb +5 -1
  24. data/lib/spiderfw/model/base_model.rb +5 -5
  25. data/lib/spiderfw/model/identity_mapper.rb +4 -2
  26. data/lib/spiderfw/model/mappers/db_mapper.rb +5 -2
  27. data/lib/spiderfw/model/mappers/mapper.rb +15 -8
  28. data/lib/spiderfw/model/storage/db/adapters/mysql.rb +48 -44
  29. data/lib/spiderfw/model/storage/db/connectors/mysql.rb +16 -0
  30. data/lib/spiderfw/model/storage/db/connectors/mysql2.rb +9 -0
  31. data/lib/spiderfw/setup/app_manager.rb +0 -5
  32. data/lib/spiderfw/spider.rb +34 -5
  33. data/lib/spiderfw/templates/layout.rb +6 -6
  34. data/lib/spiderfw/templates/resources/sass.rb +1 -2
  35. data/lib/spiderfw/templates/template.rb +5 -1
  36. metadata +161 -248
  37. data/apps/core/components/public/js/jquery/plugins/jquery.ui.nestedSortable.js +0 -356
  38. data/apps/messenger/test/features/sms_mobyt.feature +0 -24
  39. data/apps/messenger/test/features/step_definitions/sms_mobyt.rb +0 -21
  40. data/blueprints/.DS_Store +0 -0
  41. data/blueprints/home/.DS_Store +0 -0
  42. data/blueprints/install/.DS_Store +0 -0
  43. data/data/keys/spider.rsa +0 -27
  44. data/data/keys/spider.rsa.pub +0 -1
metadata CHANGED
@@ -1,287 +1,210 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: spiderfw
3
- version: !ruby/object:Gem::Version
4
- hash: 51
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.6.27
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 6
9
- - 26
10
- version: 0.6.26
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Ivan Pirlik
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-04-24 00:00:00 +02:00
19
- default_executable: spider
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-07-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: cmdparse
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70280977114080 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">"
28
- - !ruby/object:Gem::Version
29
- hash: 15
30
- segments:
31
- - 2
32
- - 0
33
- - 0
18
+ requirements:
19
+ - - ! '>'
20
+ - !ruby/object:Gem::Version
34
21
  version: 2.0.0
35
22
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: fast_gettext
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70280977114080
25
+ - !ruby/object:Gem::Dependency
26
+ name: fast_gettext
27
+ requirement: &70280977113580 !ruby/object:Gem::Requirement
41
28
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 17
46
- segments:
47
- - 0
48
- - 5
49
- - 13
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
50
32
  version: 0.5.13
51
33
  type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: hpricot
55
34
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70280977113580
36
+ - !ruby/object:Gem::Dependency
37
+ name: hpricot
38
+ requirement: &70280977113100 !ruby/object:Gem::Requirement
57
39
  none: false
58
- requirements:
59
- - - ">"
60
- - !ruby/object:Gem::Version
61
- hash: 27
62
- segments:
63
- - 0
64
- - 8
65
- version: "0.8"
40
+ requirements:
41
+ - - ! '>'
42
+ - !ruby/object:Gem::Version
43
+ version: '0.8'
66
44
  type: :runtime
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: json_pure
70
45
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70280977113100
47
+ - !ruby/object:Gem::Dependency
48
+ name: json_pure
49
+ requirement: &70280977112620 !ruby/object:Gem::Requirement
72
50
  none: false
73
- requirements:
74
- - - ">"
75
- - !ruby/object:Gem::Version
76
- hash: 13
77
- segments:
78
- - 1
79
- - 1
80
- version: "1.1"
51
+ requirements:
52
+ - - ! '>'
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
81
55
  type: :runtime
82
- version_requirements: *id004
83
- - !ruby/object:Gem::Dependency
84
- name: uuidtools
85
56
  prerelease: false
86
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70280977112620
58
+ - !ruby/object:Gem::Dependency
59
+ name: uuidtools
60
+ requirement: &70280977112140 !ruby/object:Gem::Requirement
87
61
  none: false
88
- requirements:
89
- - - ">"
90
- - !ruby/object:Gem::Version
91
- hash: 1
92
- segments:
93
- - 2
94
- - 1
95
- version: "2.1"
62
+ requirements:
63
+ - - ! '>'
64
+ - !ruby/object:Gem::Version
65
+ version: '2.1'
96
66
  type: :runtime
97
- version_requirements: *id005
98
- - !ruby/object:Gem::Dependency
99
- name: rufus-scheduler
100
67
  prerelease: false
101
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70280977112140
69
+ - !ruby/object:Gem::Dependency
70
+ name: rufus-scheduler
71
+ requirement: &70280977111660 !ruby/object:Gem::Requirement
102
72
  none: false
103
- requirements:
104
- - - ">"
105
- - !ruby/object:Gem::Version
106
- hash: 15
107
- segments:
108
- - 1
109
- - 0
110
- version: "1.0"
73
+ requirements:
74
+ - - ! '>'
75
+ - !ruby/object:Gem::Version
76
+ version: '1.0'
111
77
  type: :runtime
112
- version_requirements: *id006
113
- - !ruby/object:Gem::Dependency
114
- name: mime-types
115
78
  prerelease: false
116
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *70280977111660
80
+ - !ruby/object:Gem::Dependency
81
+ name: mime-types
82
+ requirement: &70280977111180 !ruby/object:Gem::Requirement
117
83
  none: false
118
- requirements:
119
- - - ">"
120
- - !ruby/object:Gem::Version
121
- hash: 15
122
- segments:
123
- - 1
124
- - 0
125
- version: "1.0"
84
+ requirements:
85
+ - - ! '>'
86
+ - !ruby/object:Gem::Version
87
+ version: '1.0'
126
88
  type: :runtime
127
- version_requirements: *id007
128
- - !ruby/object:Gem::Dependency
129
- name: locale
130
89
  prerelease: false
131
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *70280977111180
91
+ - !ruby/object:Gem::Dependency
92
+ name: locale
93
+ requirement: &70280977110700 !ruby/object:Gem::Requirement
132
94
  none: false
133
- requirements:
134
- - - ">"
135
- - !ruby/object:Gem::Version
136
- hash: 3
137
- segments:
138
- - 2
139
- - 0
140
- version: "2.0"
95
+ requirements:
96
+ - - ! '>'
97
+ - !ruby/object:Gem::Version
98
+ version: '2.0'
141
99
  type: :runtime
142
- version_requirements: *id008
143
- - !ruby/object:Gem::Dependency
144
- name: builder
145
100
  prerelease: false
146
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *70280977110700
102
+ - !ruby/object:Gem::Dependency
103
+ name: builder
104
+ requirement: &70280977110220 !ruby/object:Gem::Requirement
147
105
  none: false
148
- requirements:
149
- - - ">"
150
- - !ruby/object:Gem::Version
151
- hash: 1
152
- segments:
153
- - 2
154
- - 1
155
- version: "2.1"
106
+ requirements:
107
+ - - ! '>'
108
+ - !ruby/object:Gem::Version
109
+ version: '2.1'
156
110
  type: :runtime
157
- version_requirements: *id009
158
- - !ruby/object:Gem::Dependency
159
- name: macaddr
160
111
  prerelease: false
161
- requirement: &id010 !ruby/object:Gem::Requirement
112
+ version_requirements: *70280977110220
113
+ - !ruby/object:Gem::Dependency
114
+ name: macaddr
115
+ requirement: &70280977109740 !ruby/object:Gem::Requirement
162
116
  none: false
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- hash: 23
167
- segments:
168
- - 1
169
- - 0
170
- - 0
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
171
120
  version: 1.0.0
172
121
  type: :runtime
173
- version_requirements: *id010
174
- - !ruby/object:Gem::Dependency
175
- name: bundler
176
122
  prerelease: false
177
- requirement: &id011 !ruby/object:Gem::Requirement
123
+ version_requirements: *70280977109740
124
+ - !ruby/object:Gem::Dependency
125
+ name: bundler
126
+ requirement: &70280977150560 !ruby/object:Gem::Requirement
178
127
  none: false
179
- requirements:
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- hash: 3
183
- segments:
184
- - 0
185
- version: "0"
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
186
132
  type: :runtime
187
- version_requirements: *id011
188
- - !ruby/object:Gem::Dependency
189
- name: mail
190
133
  prerelease: false
191
- requirement: &id012 !ruby/object:Gem::Requirement
134
+ version_requirements: *70280977150560
135
+ - !ruby/object:Gem::Dependency
136
+ name: mail
137
+ requirement: &70280977150100 !ruby/object:Gem::Requirement
192
138
  none: false
193
- requirements:
194
- - - ">="
195
- - !ruby/object:Gem::Version
196
- hash: 3
197
- segments:
198
- - 0
199
- version: "0"
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
200
143
  type: :runtime
201
- version_requirements: *id012
202
- - !ruby/object:Gem::Dependency
203
- name: backports
204
144
  prerelease: false
205
- requirement: &id013 !ruby/object:Gem::Requirement
145
+ version_requirements: *70280977150100
146
+ - !ruby/object:Gem::Dependency
147
+ name: backports
148
+ requirement: &70280977149680 !ruby/object:Gem::Requirement
206
149
  none: false
207
- requirements:
208
- - - ">="
209
- - !ruby/object:Gem::Version
210
- hash: 3
211
- segments:
212
- - 0
213
- version: "0"
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
214
154
  type: :runtime
215
- version_requirements: *id013
216
- - !ruby/object:Gem::Dependency
217
- name: rack
218
155
  prerelease: false
219
- requirement: &id014 !ruby/object:Gem::Requirement
156
+ version_requirements: *70280977149680
157
+ - !ruby/object:Gem::Dependency
158
+ name: rack
159
+ requirement: &70280977149260 !ruby/object:Gem::Requirement
220
160
  none: false
221
- requirements:
222
- - - ">="
223
- - !ruby/object:Gem::Version
224
- hash: 3
225
- segments:
226
- - 0
227
- version: "0"
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
228
165
  type: :runtime
229
- version_requirements: *id014
230
- - !ruby/object:Gem::Dependency
231
- name: rake
232
166
  prerelease: false
233
- requirement: &id015 !ruby/object:Gem::Requirement
167
+ version_requirements: *70280977149260
168
+ - !ruby/object:Gem::Dependency
169
+ name: rake
170
+ requirement: &70280977148740 !ruby/object:Gem::Requirement
234
171
  none: false
235
- requirements:
236
- - - ">"
237
- - !ruby/object:Gem::Version
238
- hash: 5
239
- segments:
240
- - 0
241
- - 7
242
- - 3
172
+ requirements:
173
+ - - ! '>'
174
+ - !ruby/object:Gem::Version
243
175
  version: 0.7.3
244
176
  type: :development
245
- version_requirements: *id015
246
- - !ruby/object:Gem::Dependency
247
- name: gettext
248
177
  prerelease: false
249
- requirement: &id016 !ruby/object:Gem::Requirement
178
+ version_requirements: *70280977148740
179
+ - !ruby/object:Gem::Dependency
180
+ name: gettext
181
+ requirement: &70280977148220 !ruby/object:Gem::Requirement
250
182
  none: false
251
- requirements:
252
- - - ">="
253
- - !ruby/object:Gem::Version
254
- hash: 11
255
- segments:
256
- - 2
257
- - 1
258
- - 0
183
+ requirements:
184
+ - - ! '>='
185
+ - !ruby/object:Gem::Version
259
186
  version: 2.1.0
260
187
  type: :development
261
- version_requirements: *id016
262
- - !ruby/object:Gem::Dependency
263
- name: fssm
264
188
  prerelease: false
265
- requirement: &id017 !ruby/object:Gem::Requirement
189
+ version_requirements: *70280977148220
190
+ - !ruby/object:Gem::Dependency
191
+ name: fssm
192
+ requirement: &70280977147840 !ruby/object:Gem::Requirement
266
193
  none: false
267
- requirements:
268
- - - ">="
269
- - !ruby/object:Gem::Version
270
- hash: 3
271
- segments:
272
- - 0
273
- version: "0"
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
274
198
  type: :development
275
- version_requirements: *id017
199
+ prerelease: false
200
+ version_requirements: *70280977147840
276
201
  description: Spider is yet another Ruby framework.
277
202
  email: abmajor7@gmail.com
278
- executables:
203
+ executables:
279
204
  - spider
280
205
  extensions: []
281
-
282
206
  extra_rdoc_files: []
283
-
284
- files:
207
+ files:
285
208
  - README.rdoc
286
209
  - VERSION
287
210
  - CHANGELOG
@@ -618,7 +541,6 @@ files:
618
541
  - apps/core/components/public/js/jquery/plugins/jquery.form.js
619
542
  - apps/core/components/public/js/jquery/plugins/jquery.json.js
620
543
  - apps/core/components/public/js/jquery/plugins/jquery.query-2.1.6.js
621
- - apps/core/components/public/js/jquery/plugins/jquery.ui.nestedSortable.js
622
544
  - apps/core/components/public/js/jquery/plugins/jquery.url.js
623
545
  - apps/core/components/public/js/jquery/plugins/treeview/changelog.txt
624
546
  - apps/core/components/public/js/jquery/plugins/treeview/images/ajax-loader.gif
@@ -978,6 +900,8 @@ files:
978
900
  - apps/core/forms/widgets/form/form.shtml
979
901
  - apps/core/forms/widgets/inputs/checkbox/checkbox.rb
980
902
  - apps/core/forms/widgets/inputs/checkbox/checkbox.shtml
903
+ - apps/core/forms/widgets/inputs/checkbox_list/checkbox_list.rb
904
+ - apps/core/forms/widgets/inputs/checkbox_list/checkbox_list.shtml
981
905
  - apps/core/forms/widgets/inputs/date_time/date_time.rb
982
906
  - apps/core/forms/widgets/inputs/date_time/date_time.shtml
983
907
  - apps/core/forms/widgets/inputs/file_input/file_input.rb
@@ -1068,6 +992,7 @@ files:
1068
992
  - apps/messenger/backends/email/sendmail.rb
1069
993
  - apps/messenger/backends/email/smtp.rb
1070
994
  - apps/messenger/backends/email/test.rb
995
+ - apps/messenger/backends/sms/mobyt.rb
1071
996
  - apps/messenger/backends/sms/smstools.rb
1072
997
  - apps/messenger/backends/sms/test.rb
1073
998
  - apps/messenger/config/options.rb
@@ -1090,11 +1015,11 @@ files:
1090
1015
  - apps/messenger/public/app_icon.png
1091
1016
  - apps/messenger/test/features/attachments.feature
1092
1017
  - apps/messenger/test/features/messenger_helper.feature
1018
+ - apps/messenger/test/features/mobyt.feature
1093
1019
  - apps/messenger/test/features/sending_email.feature
1094
- - apps/messenger/test/features/sms_mobyt.feature
1095
1020
  - apps/messenger/test/features/step_definitions/common_steps.rb
1096
1021
  - apps/messenger/test/features/step_definitions/email_steps.rb
1097
- - apps/messenger/test/features/step_definitions/sms_mobyt.rb
1022
+ - apps/messenger/test/features/step_definitions/mobyt_steps.rb
1098
1023
  - apps/messenger/test/features/support/env.rb
1099
1024
  - apps/messenger/test/files/test_file1.txt
1100
1025
  - apps/messenger/test/lib/controllers/mail_test_controller.rb
@@ -1148,7 +1073,6 @@ files:
1148
1073
  - apps/worker/models/job.rb
1149
1074
  - apps/worker/worker.rb
1150
1075
  - bin/spider
1151
- - blueprints/.DS_Store
1152
1076
  - blueprints/app/.dirs
1153
1077
  - blueprints/app/__APP__.appspec
1154
1078
  - blueprints/app/_init.rb
@@ -1161,7 +1085,6 @@ files:
1161
1085
  - blueprints/app/widgets/.gitignore
1162
1086
  - blueprints/bin/spider
1163
1087
  - blueprints/home/.dirs
1164
- - blueprints/home/.DS_Store
1165
1088
  - blueprints/home/.gitignore
1166
1089
  - blueprints/home/apps/.gitignore
1167
1090
  - blueprints/home/config/config.yml
@@ -1174,10 +1097,7 @@ files:
1174
1097
  - blueprints/home/var/cache/.gitignore
1175
1098
  - blueprints/home/var/log/.gitignore
1176
1099
  - blueprints/home/var/sessions/.gitignore
1177
- - blueprints/install/.DS_Store
1178
1100
  - blueprints/install/config.ru
1179
- - data/keys/spider.rsa
1180
- - data/keys/spider.rsa.pub
1181
1101
  - data/locale/it/LC_MESSAGES/spider.mo
1182
1102
  - data/locale/it/LC_MESSAGES/spider_auth.mo
1183
1103
  - data/locale/it/LC_MESSAGES/spider_components.mo
@@ -1308,6 +1228,8 @@ files:
1308
1228
  - lib/spiderfw/model/storage/db/adapters/sqlite.rb
1309
1229
  - lib/spiderfw/model/storage/db/connectors/jdbc.rb
1310
1230
  - lib/spiderfw/model/storage/db/connectors/jdbc_oracle.rb
1231
+ - lib/spiderfw/model/storage/db/connectors/mysql.rb
1232
+ - lib/spiderfw/model/storage/db/connectors/mysql2.rb
1311
1233
  - lib/spiderfw/model/storage/db/connectors/oci8.rb
1312
1234
  - lib/spiderfw/model/storage/db/connectors/odbc.rb
1313
1235
  - lib/spiderfw/model/storage/db/db.rb
@@ -1420,39 +1342,30 @@ files:
1420
1342
  - public/css/error_page.css
1421
1343
  - public/js/error_page.js
1422
1344
  - templates/email/error.erb
1423
- has_rdoc: true
1424
1345
  homepage: http://github.com/me/spider
1425
1346
  licenses: []
1426
-
1427
1347
  post_install_message:
1428
1348
  rdoc_options: []
1429
-
1430
- require_paths:
1349
+ require_paths:
1431
1350
  - lib
1432
- required_ruby_version: !ruby/object:Gem::Requirement
1351
+ required_ruby_version: !ruby/object:Gem::Requirement
1433
1352
  none: false
1434
- requirements:
1435
- - - ">="
1436
- - !ruby/object:Gem::Version
1437
- hash: 3
1438
- segments:
1439
- - 0
1440
- version: "0"
1441
- required_rubygems_version: !ruby/object:Gem::Requirement
1353
+ requirements:
1354
+ - - ! '>='
1355
+ - !ruby/object:Gem::Version
1356
+ version: '0'
1357
+ required_rubygems_version: !ruby/object:Gem::Requirement
1442
1358
  none: false
1443
- requirements:
1444
- - - ">="
1445
- - !ruby/object:Gem::Version
1446
- hash: 3
1447
- segments:
1448
- - 0
1449
- version: "0"
1450
- requirements:
1451
- - "Optional dependencies: ripl, ripl-irb, ripl-multi_line, json, openssl, sqlite3, mongrel, ruby-oci8 >2.0, mysql, yui-compressor, cldr"
1359
+ requirements:
1360
+ - - ! '>='
1361
+ - !ruby/object:Gem::Version
1362
+ version: '0'
1363
+ requirements:
1364
+ - ! 'Optional dependencies: ripl, ripl-irb, ripl-multi_line, json, openssl, sqlite3,
1365
+ mongrel, ruby-oci8 >2.0, mysql, yui-compressor, cldr'
1452
1366
  rubyforge_project:
1453
- rubygems_version: 1.6.2
1367
+ rubygems_version: 1.8.11
1454
1368
  signing_key:
1455
1369
  specification_version: 3
1456
1370
  summary: A (web) framework
1457
1371
  test_files: []
1458
-