bang-bang 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/.gitignore +2 -0
  2. data/.rvmrc +1 -0
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +97 -0
  5. data/README.markdown +42 -0
  6. data/Rakefile +2 -0
  7. data/bang-bang.gemspec +38 -0
  8. data/lib/bang-bang/controller.rb +126 -0
  9. data/lib/bang-bang/env_methods.rb +13 -0
  10. data/lib/bang-bang/plugins/directory_first_sort.rb +14 -0
  11. data/lib/bang-bang/plugins.rb +29 -0
  12. data/lib/bang-bang/service.rb +176 -0
  13. data/lib/bang-bang/version.rb +3 -0
  14. data/lib/bang-bang/views.rb +81 -0
  15. data/lib/bang-bang.rb +130 -0
  16. data/spec/bang-bang/controller_spec.rb +36 -0
  17. data/spec/bang-bang/service_spec.rb +35 -0
  18. data/spec/bang-bang/views_spec.rb +46 -0
  19. data/spec/fixture-app/app.rb +30 -0
  20. data/spec/fixture-app/services/authentication/app/controllers/authentication.rb +6 -0
  21. data/spec/fixture-app/services/authentication/app/presenters/index.html.ms.rb +5 -0
  22. data/spec/fixture-app/services/authentication/app/templates/index.html.ms +4 -0
  23. data/spec/fixture-app/services/authentication/init.rb +1 -0
  24. data/spec/fixture-app/services/authentication/public/javascripts/foo.js +2 -0
  25. data/spec/spec_helper.rb +45 -0
  26. data/spec/spec_helpers/example_group.rb +47 -0
  27. data/spec/spec_suite.rb +3 -0
  28. data/vendor/superhash/InstalledFiles +1 -0
  29. data/vendor/superhash/README +5 -0
  30. data/vendor/superhash/RELEASE-NOTES +9 -0
  31. data/vendor/superhash/config.save +12 -0
  32. data/vendor/superhash/examples/attributed-node.rb +83 -0
  33. data/vendor/superhash/examples/class-superhash.rb +26 -0
  34. data/vendor/superhash/examples/state-object.rb +95 -0
  35. data/vendor/superhash/install.rb +1015 -0
  36. data/vendor/superhash/lib/superhash.rb +454 -0
  37. data/vendor/superhash/test/test.rb +124 -0
  38. metadata +235 -0
metadata ADDED
@@ -0,0 +1,235 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bang-bang
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.1.6
6
+ platform: ruby
7
+ authors:
8
+ - Brian Takita
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-07-23 00:00:00 -07:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: activesupport
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 2.0.0
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: honkster-addressable
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 2.2.3
36
+ type: :runtime
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: mustache
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: "0"
47
+ type: :runtime
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: named-routes
51
+ prerelease: false
52
+ requirement: &id004 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: 0.2.7
58
+ type: :runtime
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
61
+ name: sinatra
62
+ prerelease: false
63
+ requirement: &id005 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.2.0
69
+ type: :runtime
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
72
+ name: yajl-ruby
73
+ prerelease: false
74
+ requirement: &id006 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 0.8.1
80
+ type: :runtime
81
+ version_requirements: *id006
82
+ - !ruby/object:Gem::Dependency
83
+ name: capybara
84
+ prerelease: false
85
+ requirement: &id007 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: 0.4.0
91
+ type: :development
92
+ version_requirements: *id007
93
+ - !ruby/object:Gem::Dependency
94
+ name: i18n
95
+ prerelease: false
96
+ requirement: &id008 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: 0.5.0
102
+ type: :development
103
+ version_requirements: *id008
104
+ - !ruby/object:Gem::Dependency
105
+ name: rack-test
106
+ prerelease: false
107
+ requirement: &id009 !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 0.5.6
113
+ type: :development
114
+ version_requirements: *id009
115
+ - !ruby/object:Gem::Dependency
116
+ name: rr
117
+ prerelease: false
118
+ requirement: &id010 !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: 1.0.2
124
+ type: :development
125
+ version_requirements: *id010
126
+ - !ruby/object:Gem::Dependency
127
+ name: rspec
128
+ prerelease: false
129
+ requirement: &id011 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: 2.2.0
135
+ type: :development
136
+ version_requirements: *id011
137
+ - !ruby/object:Gem::Dependency
138
+ name: ruby-debug19
139
+ prerelease: false
140
+ requirement: &id012 !ruby/object:Gem::Requirement
141
+ none: false
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: 0.11.6
146
+ type: :development
147
+ version_requirements: *id012
148
+ - !ruby/object:Gem::Dependency
149
+ name: webmock
150
+ prerelease: false
151
+ requirement: &id013 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: 1.6.2
157
+ type: :development
158
+ version_requirements: *id013
159
+ description: A lightweight Sinatra web MVC stack
160
+ email:
161
+ - btakita@truecar.com
162
+ executables: []
163
+
164
+ extensions: []
165
+
166
+ extra_rdoc_files: []
167
+
168
+ files:
169
+ - .gitignore
170
+ - .rvmrc
171
+ - Gemfile
172
+ - Gemfile.lock
173
+ - README.markdown
174
+ - Rakefile
175
+ - bang-bang.gemspec
176
+ - lib/bang-bang.rb
177
+ - lib/bang-bang/controller.rb
178
+ - lib/bang-bang/env_methods.rb
179
+ - lib/bang-bang/plugins.rb
180
+ - lib/bang-bang/plugins/directory_first_sort.rb
181
+ - lib/bang-bang/service.rb
182
+ - lib/bang-bang/version.rb
183
+ - lib/bang-bang/views.rb
184
+ - spec/bang-bang/controller_spec.rb
185
+ - spec/bang-bang/service_spec.rb
186
+ - spec/bang-bang/views_spec.rb
187
+ - spec/fixture-app/app.rb
188
+ - spec/fixture-app/services/authentication/app/controllers/authentication.rb
189
+ - spec/fixture-app/services/authentication/app/presenters/index.html.ms.rb
190
+ - spec/fixture-app/services/authentication/app/templates/index.html.ms
191
+ - spec/fixture-app/services/authentication/init.rb
192
+ - spec/fixture-app/services/authentication/public/javascripts/foo.js
193
+ - spec/spec_helper.rb
194
+ - spec/spec_helpers/example_group.rb
195
+ - spec/spec_suite.rb
196
+ - vendor/superhash/InstalledFiles
197
+ - vendor/superhash/README
198
+ - vendor/superhash/RELEASE-NOTES
199
+ - vendor/superhash/config.save
200
+ - vendor/superhash/examples/attributed-node.rb
201
+ - vendor/superhash/examples/class-superhash.rb
202
+ - vendor/superhash/examples/state-object.rb
203
+ - vendor/superhash/install.rb
204
+ - vendor/superhash/lib/superhash.rb
205
+ - vendor/superhash/test/test.rb
206
+ has_rdoc: true
207
+ homepage: https://github.com/TrueCar/bang-bang
208
+ licenses: []
209
+
210
+ post_install_message:
211
+ rdoc_options: []
212
+
213
+ require_paths:
214
+ - lib
215
+ required_ruby_version: !ruby/object:Gem::Requirement
216
+ none: false
217
+ requirements:
218
+ - - ">="
219
+ - !ruby/object:Gem::Version
220
+ version: "0"
221
+ required_rubygems_version: !ruby/object:Gem::Requirement
222
+ none: false
223
+ requirements:
224
+ - - ">="
225
+ - !ruby/object:Gem::Version
226
+ version: 1.3.6
227
+ requirements: []
228
+
229
+ rubyforge_project:
230
+ rubygems_version: 1.5.2
231
+ signing_key:
232
+ specification_version: 3
233
+ summary: A lightweight Sinatra web MVC stack
234
+ test_files: []
235
+