infrataster 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +133 -0
  6. data/Rakefile +1 -0
  7. data/example/.gitignore +4 -0
  8. data/example/.rspec +2 -0
  9. data/example/Berksfile +2 -0
  10. data/example/Gemfile +8 -0
  11. data/example/README.md +13 -0
  12. data/example/Vagrantfile +81 -0
  13. data/example/cookbooks/app/recipes/default.rb +36 -0
  14. data/example/cookbooks/db/files/default/my.cnf +127 -0
  15. data/example/cookbooks/db/recipes/default.rb +14 -0
  16. data/example/cookbooks/proxy/metadata.rb +1 -0
  17. data/example/cookbooks/proxy/recipes/default.rb +26 -0
  18. data/example/cookbooks/proxy/templates/default/app.erb +13 -0
  19. data/example/cookbooks/proxy/templates/default/static.erb +14 -0
  20. data/example/sinatra_app/.gitignore +1 -0
  21. data/example/sinatra_app/Gemfile +5 -0
  22. data/example/sinatra_app/app.rb +6 -0
  23. data/example/sinatra_app/config.ru +2 -0
  24. data/example/spec/spec_helper.rb +31 -0
  25. data/example/spec/web_spec.rb +64 -0
  26. data/infrataster.gemspec +30 -0
  27. data/lib/infrataster/browsermob_proxy.rb +31 -0
  28. data/lib/infrataster/contexts/base_context.rb +14 -0
  29. data/lib/infrataster/contexts/capybara_context.rb +56 -0
  30. data/lib/infrataster/contexts/http_context.rb +20 -0
  31. data/lib/infrataster/contexts/mysql_query_context.rb +26 -0
  32. data/lib/infrataster/contexts.rb +36 -0
  33. data/lib/infrataster/helpers/rspec_helper.rb +15 -0
  34. data/lib/infrataster/helpers/type_helper.rb +24 -0
  35. data/lib/infrataster/helpers.rb +4 -0
  36. data/lib/infrataster/rspec.rb +17 -0
  37. data/lib/infrataster/server.rb +125 -0
  38. data/lib/infrataster/types/base_type.rb +15 -0
  39. data/lib/infrataster/types/capybara_type.rb +21 -0
  40. data/lib/infrataster/types/http_type.rb +24 -0
  41. data/lib/infrataster/types/mysql_query_type.rb +21 -0
  42. data/lib/infrataster/types/server_type.rb +25 -0
  43. data/lib/infrataster/types.rb +5 -0
  44. data/lib/infrataster/version.rb +3 -0
  45. data/lib/infrataster.rb +12 -0
  46. metadata +214 -0
metadata ADDED
@@ -0,0 +1,214 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: infrataster
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ryota Arai
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-04-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: net-ssh
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: net-ssh-gateway
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: mysql2
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: capybara
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: selenium-webdriver
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: browsermob-proxy
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: bundler
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.5'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.5'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description:
140
+ email:
141
+ - ryota.arai@gmail.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - Gemfile
148
+ - LICENSE.txt
149
+ - README.md
150
+ - Rakefile
151
+ - example/.gitignore
152
+ - example/.rspec
153
+ - example/Berksfile
154
+ - example/Gemfile
155
+ - example/README.md
156
+ - example/Vagrantfile
157
+ - example/cookbooks/app/recipes/default.rb
158
+ - example/cookbooks/db/files/default/my.cnf
159
+ - example/cookbooks/db/recipes/default.rb
160
+ - example/cookbooks/proxy/metadata.rb
161
+ - example/cookbooks/proxy/recipes/default.rb
162
+ - example/cookbooks/proxy/templates/default/app.erb
163
+ - example/cookbooks/proxy/templates/default/static.erb
164
+ - example/sinatra_app/.gitignore
165
+ - example/sinatra_app/Gemfile
166
+ - example/sinatra_app/app.rb
167
+ - example/sinatra_app/config.ru
168
+ - example/spec/spec_helper.rb
169
+ - example/spec/web_spec.rb
170
+ - infrataster.gemspec
171
+ - lib/infrataster.rb
172
+ - lib/infrataster/browsermob_proxy.rb
173
+ - lib/infrataster/contexts.rb
174
+ - lib/infrataster/contexts/base_context.rb
175
+ - lib/infrataster/contexts/capybara_context.rb
176
+ - lib/infrataster/contexts/http_context.rb
177
+ - lib/infrataster/contexts/mysql_query_context.rb
178
+ - lib/infrataster/helpers.rb
179
+ - lib/infrataster/helpers/rspec_helper.rb
180
+ - lib/infrataster/helpers/type_helper.rb
181
+ - lib/infrataster/rspec.rb
182
+ - lib/infrataster/server.rb
183
+ - lib/infrataster/types.rb
184
+ - lib/infrataster/types/base_type.rb
185
+ - lib/infrataster/types/capybara_type.rb
186
+ - lib/infrataster/types/http_type.rb
187
+ - lib/infrataster/types/mysql_query_type.rb
188
+ - lib/infrataster/types/server_type.rb
189
+ - lib/infrataster/version.rb
190
+ homepage: https://github.com/ryotarai/infrataster
191
+ licenses:
192
+ - MIT
193
+ metadata: {}
194
+ post_install_message:
195
+ rdoc_options: []
196
+ require_paths:
197
+ - lib
198
+ required_ruby_version: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ required_rubygems_version: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ requirements: []
209
+ rubyforge_project:
210
+ rubygems_version: 2.2.2
211
+ signing_key:
212
+ specification_version: 4
213
+ summary: Infrastructure Behavior Testing Framework
214
+ test_files: []