ballast 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis-gemfile +15 -0
  4. data/.travis.yml +7 -0
  5. data/.yardopts +1 -0
  6. data/CHANGELOG.md +4 -0
  7. data/Gemfile +21 -0
  8. data/README.md +40 -0
  9. data/Rakefile +28 -0
  10. data/ballast.gemspec +35 -0
  11. data/doc/Ballast/Concerns/Ajax.html +806 -0
  12. data/doc/Ballast/Concerns/Common.html +900 -0
  13. data/doc/Ballast/Concerns/ErrorsHandling.html +283 -0
  14. data/doc/Ballast/Concerns/View.html +664 -0
  15. data/doc/Ballast/Concerns.html +127 -0
  16. data/doc/Ballast/Context.html +417 -0
  17. data/doc/Ballast/Errors/BaseError.html +326 -0
  18. data/doc/Ballast/Errors/InvalidDomain.html +157 -0
  19. data/doc/Ballast/Errors/PerformError.html +157 -0
  20. data/doc/Ballast/Errors/ValidationError.html +157 -0
  21. data/doc/Ballast/Errors.html +125 -0
  22. data/doc/Ballast/Operation.html +1304 -0
  23. data/doc/Ballast/OperationsChain.html +585 -0
  24. data/doc/Ballast/Version.html +189 -0
  25. data/doc/Ballast.html +130 -0
  26. data/doc/_index.html +267 -0
  27. data/doc/class_list.html +54 -0
  28. data/doc/css/common.css +1 -0
  29. data/doc/css/full_list.css +57 -0
  30. data/doc/css/style.css +338 -0
  31. data/doc/file.README.html +115 -0
  32. data/doc/file_list.html +56 -0
  33. data/doc/frames.html +26 -0
  34. data/doc/index.html +115 -0
  35. data/doc/js/app.js +219 -0
  36. data/doc/js/full_list.js +178 -0
  37. data/doc/js/jquery.js +4 -0
  38. data/doc/method_list.html +269 -0
  39. data/doc/top-level-namespace.html +112 -0
  40. data/lib/ballast/concerns/ajax.rb +116 -0
  41. data/lib/ballast/concerns/common.rb +97 -0
  42. data/lib/ballast/concerns/errors_handling.rb +49 -0
  43. data/lib/ballast/concerns/view.rb +63 -0
  44. data/lib/ballast/context.rb +38 -0
  45. data/lib/ballast/errors.rb +34 -0
  46. data/lib/ballast/operation.rb +136 -0
  47. data/lib/ballast/operations_chain.rb +38 -0
  48. data/lib/ballast/version.rb +24 -0
  49. data/lib/ballast.rb +24 -0
  50. data/spec/ballast/concerns/ajax_spec.rb +124 -0
  51. data/spec/ballast/concerns/common_spec.rb +100 -0
  52. data/spec/ballast/concerns/errors_handling_spec.rb +63 -0
  53. data/spec/ballast/concerns/view_spec.rb +107 -0
  54. data/spec/ballast/context_spec.rb +23 -0
  55. data/spec/ballast/errors_spec.rb +16 -0
  56. data/spec/ballast/operation_spec.rb +175 -0
  57. data/spec/ballast/operations_chain_spec.rb +33 -0
  58. data/spec/coverage_helper.rb +19 -0
  59. data/spec/spec_helper.rb +19 -0
  60. metadata +225 -0
@@ -0,0 +1,19 @@
1
+ #
2
+ # This file is part of the ballast gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
3
+ # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
4
+ #
5
+
6
+ require "rubygems"
7
+ require "spork"
8
+ require "rspec"
9
+ require "bundler/setup"
10
+ require "ballast"
11
+
12
+ Spork.prefork do
13
+ end
14
+
15
+ RSpec.configure do |config|
16
+ config.expect_with(:rspec) do |c|
17
+ c.syntax = :expect
18
+ end
19
+ end
metadata ADDED
@@ -0,0 +1,225 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ballast
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Shogun
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-12-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: actionpack
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rack
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.5.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 1.5.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: lazier
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 3.3.10
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 3.3.10
55
+ - !ruby/object:Gem::Dependency
56
+ name: brauser
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 3.2.4
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 3.2.4
69
+ - !ruby/object:Gem::Dependency
70
+ name: interactor
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 2.1.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.1.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: addressable
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 2.3.5
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 2.3.5
97
+ - !ruby/object:Gem::Dependency
98
+ name: rack-fiber_pool
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: 0.9.3
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.9.3
111
+ - !ruby/object:Gem::Dependency
112
+ name: em-synchrony
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: 1.0.3
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: 1.0.3
125
+ description: A collection of base utilities for Ruby on Rails.
126
+ email:
127
+ - shogun@cowtech.it
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - .gitignore
133
+ - .travis-gemfile
134
+ - .travis.yml
135
+ - .yardopts
136
+ - CHANGELOG.md
137
+ - Gemfile
138
+ - README.md
139
+ - Rakefile
140
+ - ballast.gemspec
141
+ - doc/Ballast.html
142
+ - doc/Ballast/Concerns.html
143
+ - doc/Ballast/Concerns/Ajax.html
144
+ - doc/Ballast/Concerns/Common.html
145
+ - doc/Ballast/Concerns/ErrorsHandling.html
146
+ - doc/Ballast/Concerns/View.html
147
+ - doc/Ballast/Context.html
148
+ - doc/Ballast/Errors.html
149
+ - doc/Ballast/Errors/BaseError.html
150
+ - doc/Ballast/Errors/InvalidDomain.html
151
+ - doc/Ballast/Errors/PerformError.html
152
+ - doc/Ballast/Errors/ValidationError.html
153
+ - doc/Ballast/Operation.html
154
+ - doc/Ballast/OperationsChain.html
155
+ - doc/Ballast/Version.html
156
+ - doc/_index.html
157
+ - doc/class_list.html
158
+ - doc/css/common.css
159
+ - doc/css/full_list.css
160
+ - doc/css/style.css
161
+ - doc/file.README.html
162
+ - doc/file_list.html
163
+ - doc/frames.html
164
+ - doc/index.html
165
+ - doc/js/app.js
166
+ - doc/js/full_list.js
167
+ - doc/js/jquery.js
168
+ - doc/method_list.html
169
+ - doc/top-level-namespace.html
170
+ - lib/ballast.rb
171
+ - lib/ballast/concerns/ajax.rb
172
+ - lib/ballast/concerns/common.rb
173
+ - lib/ballast/concerns/errors_handling.rb
174
+ - lib/ballast/concerns/view.rb
175
+ - lib/ballast/context.rb
176
+ - lib/ballast/errors.rb
177
+ - lib/ballast/operation.rb
178
+ - lib/ballast/operations_chain.rb
179
+ - lib/ballast/version.rb
180
+ - spec/ballast/concerns/ajax_spec.rb
181
+ - spec/ballast/concerns/common_spec.rb
182
+ - spec/ballast/concerns/errors_handling_spec.rb
183
+ - spec/ballast/concerns/view_spec.rb
184
+ - spec/ballast/context_spec.rb
185
+ - spec/ballast/errors_spec.rb
186
+ - spec/ballast/operation_spec.rb
187
+ - spec/ballast/operations_chain_spec.rb
188
+ - spec/coverage_helper.rb
189
+ - spec/spec_helper.rb
190
+ homepage: http://github.com/ShogunPanda/ballast
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: '2.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: ballast
210
+ rubygems_version: 2.0.6
211
+ signing_key:
212
+ specification_version: 4
213
+ summary: A collection of base utilities for Ruby on Rails.
214
+ test_files:
215
+ - spec/ballast/concerns/ajax_spec.rb
216
+ - spec/ballast/concerns/common_spec.rb
217
+ - spec/ballast/concerns/errors_handling_spec.rb
218
+ - spec/ballast/concerns/view_spec.rb
219
+ - spec/ballast/context_spec.rb
220
+ - spec/ballast/errors_spec.rb
221
+ - spec/ballast/operation_spec.rb
222
+ - spec/ballast/operations_chain_spec.rb
223
+ - spec/coverage_helper.rb
224
+ - spec/spec_helper.rb
225
+ has_rdoc: