apiway 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +1 -0
  5. data/Rakefile +0 -0
  6. data/bin/apiway +13 -0
  7. data/lib/apiway/application.rb +53 -0
  8. data/lib/apiway/client.rb +171 -0
  9. data/lib/apiway/commands.rb +62 -0
  10. data/lib/apiway/controller.rb +124 -0
  11. data/lib/apiway/diff.rb +84 -0
  12. data/lib/apiway/errors.rb +62 -0
  13. data/lib/apiway/events.rb +23 -0
  14. data/lib/apiway/extensions.rb +29 -0
  15. data/lib/apiway/generator.rb +111 -0
  16. data/lib/apiway/logger.rb +41 -0
  17. data/lib/apiway/model.rb +58 -0
  18. data/lib/apiway/path.rb +7 -0
  19. data/lib/apiway/resource.rb +110 -0
  20. data/lib/apiway/version.rb +5 -0
  21. data/lib/apiway.rb +17 -0
  22. data/lib/generator/application/.gitignore +1 -0
  23. data/lib/generator/application/Gemfile +9 -0
  24. data/lib/generator/application/Procfile +1 -0
  25. data/lib/generator/application/README.md +0 -0
  26. data/lib/generator/application/Rakefile +3 -0
  27. data/lib/generator/application/app/base/.keep +0 -0
  28. data/lib/generator/application/app/base/base.rb +5 -0
  29. data/lib/generator/application/app/base/client.rb +21 -0
  30. data/lib/generator/application/app/base/routes.rb +11 -0
  31. data/lib/generator/application/app/controllers/.keep +0 -0
  32. data/lib/generator/application/app/controllers/application.rb +5 -0
  33. data/lib/generator/application/app/models/.keep +0 -0
  34. data/lib/generator/application/app/resources/.keep +0 -0
  35. data/lib/generator/application/app/resources/application.rb +5 -0
  36. data/lib/generator/application/config/application.rb +13 -0
  37. data/lib/generator/application/config/database.yml +17 -0
  38. data/lib/generator/application/config/environments/development.rb +9 -0
  39. data/lib/generator/application/config/environments/production.rb +9 -0
  40. data/lib/generator/application/config/environments/test.rb +10 -0
  41. data/lib/generator/application/config.ru +3 -0
  42. data/lib/generator/application/db/migrate/.keep +0 -0
  43. data/lib/generator/application/lib/.keep +0 -0
  44. data/lib/generator/application/public/.keep +0 -0
  45. data/lib/generator/templates/controller.tpl +22 -0
  46. data/lib/generator/templates/model.tpl +5 -0
  47. data/lib/generator/templates/resource.tpl +29 -0
  48. metadata +174 -0
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: apiway
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - 4urbanoff
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-09-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thin
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
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.3'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sinatra
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.4'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sinatra-websocket
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.3'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '0.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sinatra-activerecord
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '2.0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '2.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sinatra-contrib
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '1.4'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '1.4'
97
+ description: Server side for Apiway framework
98
+ email: 4urbanoff@gmail.com
99
+ executables:
100
+ - apiway
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - lib/apiway/application.rb
105
+ - lib/apiway/client.rb
106
+ - lib/apiway/commands.rb
107
+ - lib/apiway/controller.rb
108
+ - lib/apiway/diff.rb
109
+ - lib/apiway/errors.rb
110
+ - lib/apiway/events.rb
111
+ - lib/apiway/extensions.rb
112
+ - lib/apiway/generator.rb
113
+ - lib/apiway/logger.rb
114
+ - lib/apiway/model.rb
115
+ - lib/apiway/path.rb
116
+ - lib/apiway/resource.rb
117
+ - lib/apiway/version.rb
118
+ - lib/apiway.rb
119
+ - lib/generator/application/app/base/base.rb
120
+ - lib/generator/application/app/base/client.rb
121
+ - lib/generator/application/app/base/routes.rb
122
+ - lib/generator/application/app/controllers/application.rb
123
+ - lib/generator/application/app/resources/application.rb
124
+ - lib/generator/application/config/application.rb
125
+ - lib/generator/application/config/database.yml
126
+ - lib/generator/application/config/environments/development.rb
127
+ - lib/generator/application/config/environments/production.rb
128
+ - lib/generator/application/config/environments/test.rb
129
+ - lib/generator/application/config.ru
130
+ - lib/generator/application/Gemfile
131
+ - lib/generator/application/Procfile
132
+ - lib/generator/application/Rakefile
133
+ - lib/generator/application/README.md
134
+ - lib/generator/templates/controller.tpl
135
+ - lib/generator/templates/model.tpl
136
+ - lib/generator/templates/resource.tpl
137
+ - lib/generator/application/.gitignore
138
+ - lib/generator/application/app/base/.keep
139
+ - lib/generator/application/app/controllers/.keep
140
+ - lib/generator/application/app/models/.keep
141
+ - lib/generator/application/app/resources/.keep
142
+ - lib/generator/application/db/migrate/.keep
143
+ - lib/generator/application/lib/.keep
144
+ - lib/generator/application/public/.keep
145
+ - bin/apiway
146
+ - LICENSE.txt
147
+ - Rakefile
148
+ - Gemfile
149
+ - README.md
150
+ homepage: https://github.com/4urbanoff/rb.apiway
151
+ licenses:
152
+ - MIT
153
+ metadata: {}
154
+ post_install_message:
155
+ rdoc_options: []
156
+ require_paths:
157
+ - lib
158
+ required_ruby_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - '>='
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - '>='
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ requirements: []
169
+ rubyforge_project:
170
+ rubygems_version: 2.0.14
171
+ signing_key:
172
+ specification_version: 4
173
+ summary: Framework for developing async API for web applications
174
+ test_files: []