plezi 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/CHANGELOG.md +450 -0
  4. data/Gemfile +4 -0
  5. data/KNOWN_ISSUES.md +13 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +341 -0
  8. data/Rakefile +2 -0
  9. data/TODO.md +19 -0
  10. data/bin/plezi +301 -0
  11. data/lib/plezi.rb +125 -0
  12. data/lib/plezi/base/cache.rb +77 -0
  13. data/lib/plezi/base/connections.rb +33 -0
  14. data/lib/plezi/base/dsl.rb +177 -0
  15. data/lib/plezi/base/engine.rb +85 -0
  16. data/lib/plezi/base/events.rb +84 -0
  17. data/lib/plezi/base/io_reactor.rb +41 -0
  18. data/lib/plezi/base/logging.rb +62 -0
  19. data/lib/plezi/base/rack_app.rb +89 -0
  20. data/lib/plezi/base/services.rb +57 -0
  21. data/lib/plezi/base/timers.rb +71 -0
  22. data/lib/plezi/handlers/controller_magic.rb +383 -0
  23. data/lib/plezi/handlers/http_echo.rb +27 -0
  24. data/lib/plezi/handlers/http_host.rb +215 -0
  25. data/lib/plezi/handlers/http_router.rb +69 -0
  26. data/lib/plezi/handlers/magic_helpers.rb +43 -0
  27. data/lib/plezi/handlers/route.rb +272 -0
  28. data/lib/plezi/handlers/stubs.rb +143 -0
  29. data/lib/plezi/server/README.md +33 -0
  30. data/lib/plezi/server/helpers/http.rb +169 -0
  31. data/lib/plezi/server/helpers/mime_types.rb +999 -0
  32. data/lib/plezi/server/protocols/http_protocol.rb +318 -0
  33. data/lib/plezi/server/protocols/http_request.rb +133 -0
  34. data/lib/plezi/server/protocols/http_response.rb +294 -0
  35. data/lib/plezi/server/protocols/websocket.rb +208 -0
  36. data/lib/plezi/server/protocols/ws_response.rb +92 -0
  37. data/lib/plezi/server/services/basic_service.rb +224 -0
  38. data/lib/plezi/server/services/no_service.rb +196 -0
  39. data/lib/plezi/server/services/ssl_service.rb +193 -0
  40. data/lib/plezi/version.rb +3 -0
  41. data/plezi.gemspec +26 -0
  42. data/resources/404.erb +68 -0
  43. data/resources/404.haml +64 -0
  44. data/resources/404.html +67 -0
  45. data/resources/404.slim +63 -0
  46. data/resources/500.erb +68 -0
  47. data/resources/500.haml +63 -0
  48. data/resources/500.html +67 -0
  49. data/resources/500.slim +63 -0
  50. data/resources/Gemfile +85 -0
  51. data/resources/anorexic_gray.png +0 -0
  52. data/resources/anorexic_websockets.html +47 -0
  53. data/resources/code.rb +8 -0
  54. data/resources/config.ru +39 -0
  55. data/resources/controller.rb +139 -0
  56. data/resources/db_ac_config.rb +58 -0
  57. data/resources/db_dm_config.rb +51 -0
  58. data/resources/db_sequel_config.rb +42 -0
  59. data/resources/en.yml +204 -0
  60. data/resources/environment.rb +41 -0
  61. data/resources/haml_config.rb +6 -0
  62. data/resources/i18n_config.rb +14 -0
  63. data/resources/rakefile.rb +22 -0
  64. data/resources/redis_config.rb +35 -0
  65. data/resources/routes.rb +26 -0
  66. data/resources/welcome_page.html +72 -0
  67. data/websocket chatroom.md +639 -0
  68. metadata +141 -0
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: plezi
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.0
5
+ platform: ruby
6
+ authors:
7
+ - Boaz Segev
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-02-21 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.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Plezi is The Ruby Websocket and HTTP streaming Framework. Advance to
42
+ next step in Ruby evolution - a framework with an integrated server, ready for seamless
43
+ WebSockets and RESTful applications.
44
+ email:
45
+ - boaz@2be.co.il
46
+ executables:
47
+ - plezi
48
+ extensions: []
49
+ extra_rdoc_files: []
50
+ files:
51
+ - ".gitignore"
52
+ - CHANGELOG.md
53
+ - Gemfile
54
+ - KNOWN_ISSUES.md
55
+ - LICENSE.txt
56
+ - README.md
57
+ - Rakefile
58
+ - TODO.md
59
+ - bin/plezi
60
+ - lib/plezi.rb
61
+ - lib/plezi/base/cache.rb
62
+ - lib/plezi/base/connections.rb
63
+ - lib/plezi/base/dsl.rb
64
+ - lib/plezi/base/engine.rb
65
+ - lib/plezi/base/events.rb
66
+ - lib/plezi/base/io_reactor.rb
67
+ - lib/plezi/base/logging.rb
68
+ - lib/plezi/base/rack_app.rb
69
+ - lib/plezi/base/services.rb
70
+ - lib/plezi/base/timers.rb
71
+ - lib/plezi/handlers/controller_magic.rb
72
+ - lib/plezi/handlers/http_echo.rb
73
+ - lib/plezi/handlers/http_host.rb
74
+ - lib/plezi/handlers/http_router.rb
75
+ - lib/plezi/handlers/magic_helpers.rb
76
+ - lib/plezi/handlers/route.rb
77
+ - lib/plezi/handlers/stubs.rb
78
+ - lib/plezi/server/README.md
79
+ - lib/plezi/server/helpers/http.rb
80
+ - lib/plezi/server/helpers/mime_types.rb
81
+ - lib/plezi/server/protocols/http_protocol.rb
82
+ - lib/plezi/server/protocols/http_request.rb
83
+ - lib/plezi/server/protocols/http_response.rb
84
+ - lib/plezi/server/protocols/websocket.rb
85
+ - lib/plezi/server/protocols/ws_response.rb
86
+ - lib/plezi/server/services/basic_service.rb
87
+ - lib/plezi/server/services/no_service.rb
88
+ - lib/plezi/server/services/ssl_service.rb
89
+ - lib/plezi/version.rb
90
+ - plezi.gemspec
91
+ - resources/404.erb
92
+ - resources/404.haml
93
+ - resources/404.html
94
+ - resources/404.slim
95
+ - resources/500.erb
96
+ - resources/500.haml
97
+ - resources/500.html
98
+ - resources/500.slim
99
+ - resources/Gemfile
100
+ - resources/anorexic_gray.png
101
+ - resources/anorexic_websockets.html
102
+ - resources/code.rb
103
+ - resources/config.ru
104
+ - resources/controller.rb
105
+ - resources/db_ac_config.rb
106
+ - resources/db_dm_config.rb
107
+ - resources/db_sequel_config.rb
108
+ - resources/en.yml
109
+ - resources/environment.rb
110
+ - resources/haml_config.rb
111
+ - resources/i18n_config.rb
112
+ - resources/rakefile.rb
113
+ - resources/redis_config.rb
114
+ - resources/routes.rb
115
+ - resources/welcome_page.html
116
+ - websocket chatroom.md
117
+ homepage: http://boazsegev.github.io/plezi/
118
+ licenses:
119
+ - MIT
120
+ metadata: {}
121
+ post_install_message: Plezi is hungry - feed it your code!
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ requirements: []
136
+ rubyforge_project:
137
+ rubygems_version: 2.4.5
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: The Ruby Websocket Framework with RESTful and HTTP streaming support.
141
+ test_files: []