ballast 2.0.1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -2
  3. data/.rubocop.yml +3 -0
  4. data/CHANGELOG.md +4 -0
  5. data/README.md +2 -2
  6. data/ballast.gemspec +1 -1
  7. data/doc/Ballast/AjaxResponse.html +312 -264
  8. data/doc/Ballast/Concerns/AjaxHandling.html +39 -34
  9. data/doc/Ballast/Concerns/Common.html +231 -93
  10. data/doc/Ballast/Concerns/ErrorsHandling.html +15 -14
  11. data/doc/Ballast/Concerns/View.html +43 -36
  12. data/doc/Ballast/Concerns.html +2 -2
  13. data/doc/Ballast/Configuration.html +23 -20
  14. data/doc/Ballast/Emoji/Character.html +19 -16
  15. data/doc/Ballast/Emoji/Utils.html +87 -82
  16. data/doc/Ballast/Emoji.html +2 -2
  17. data/doc/Ballast/Errors/Base.html +19 -17
  18. data/doc/Ballast/Errors/Failure.html +2 -2
  19. data/doc/Ballast/Errors/InvalidDomain.html +2 -2
  20. data/doc/Ballast/Errors/ValidationFailure.html +2 -2
  21. data/doc/Ballast/Errors.html +3 -3
  22. data/doc/Ballast/Middlewares/DefaultHost.html +19 -17
  23. data/doc/Ballast/Middlewares.html +2 -2
  24. data/doc/Ballast/RequestDomainMatcher.html +118 -112
  25. data/doc/Ballast/Service/Response.html +216 -208
  26. data/doc/Ballast/Service.html +172 -178
  27. data/doc/Ballast/Version.html +10 -6
  28. data/doc/Ballast.html +15 -14
  29. data/doc/_index.html +2 -2
  30. data/doc/file.README.html +4 -4
  31. data/doc/index.html +4 -4
  32. data/doc/method_list.html +24 -18
  33. data/doc/top-level-namespace.html +2 -39
  34. data/lib/ballast/ajax_response.rb +6 -1
  35. data/lib/ballast/concerns/common.rb +10 -0
  36. data/lib/ballast/errors.rb +1 -1
  37. data/lib/ballast/version.rb +3 -3
  38. data/spec/ballast/concerns/common_spec.rb +26 -0
  39. metadata +5 -19
  40. data/tmp/saikuro/index_cyclo.html +0 -158
  41. data/tmp/saikuro/lib/ballast/concerns/ajax.rb_cyclo.html +0 -21
  42. data/tmp/saikuro/lib/ballast/concerns/common.rb_cyclo.html +0 -20
  43. data/tmp/saikuro/lib/ballast/concerns/errors_handling.rb_cyclo.html +0 -14
  44. data/tmp/saikuro/lib/ballast/concerns/view.rb_cyclo.html +0 -20
  45. data/tmp/saikuro/lib/ballast/configuration.rb_cyclo.html +0 -10
  46. data/tmp/saikuro/lib/ballast/context.rb_cyclo.html +0 -11
  47. data/tmp/saikuro/lib/ballast/errors.rb_cyclo.html +0 -22
  48. data/tmp/saikuro/lib/ballast/middlewares/default_host.rb_cyclo.html +0 -14
  49. data/tmp/saikuro/lib/ballast/operation.rb_cyclo.html +0 -19
  50. data/tmp/saikuro/lib/ballast/operations_chain.rb_cyclo.html +0 -12
  51. data/tmp/saikuro/lib/ballast/request_domain_matcher.rb_cyclo.html +0 -11
  52. data/tmp/saikuro/lib/ballast/version.rb_cyclo.html +0 -9
  53. data/tmp/saikuro/lib/ballast.rb_cyclo.html +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44cbb903c92544d7e56dd3c15038ac5ed48813dc
4
- data.tar.gz: ba030ab2fafa22d6bc21d7651cd90cdb7f459152
3
+ metadata.gz: b95abaeda1f34c9923ced7c2f5034b3801dc8dc8
4
+ data.tar.gz: adfff322a36dbf8eab9ea808b373978466569065
5
5
  SHA512:
6
- metadata.gz: 4215a544729e904c26230aaf9409fbb0c178fc38431b7767e7c1404bed47a25867710e71535b7ae09c179fdf8dca7021c8bc4d818381ee414ef0cebd6ddccdd4
7
- data.tar.gz: 44b338272e0824c823ddfc8c8cb6c94ea44cfd5f1ab4ff2c07d914385d75b5c11ac586f746efd905af02215ad62091dc9371b6d41ee4ff01c3eaf8e4bcfe7959
6
+ metadata.gz: 4aefda0dbd06e974a612b6e3532b0decf50b5ba03b690fe73aa63629b70bb93edfa36556f6d9bc7885a5ee190621c5be829a49c680938beca8b6cf286c72fa04
7
+ data.tar.gz: a774a94cd52be8f7bd0a9e38795fa0155308383dedd96b40cd80acf496901dcf3d13f61c0b1f418dd98f5e011dd1acbc23711bd76846de878f534145a32b7575
data/.gitignore CHANGED
@@ -1,5 +1,4 @@
1
1
  Gemfile.lock
2
- tester.rb
3
2
  coverage/
4
3
  pkg/
5
4
  .idea/
@@ -7,4 +6,4 @@ pkg/
7
6
  .bundle/
8
7
  /metrics
9
8
  /.metrics
10
- /tmp/metric_fu
9
+ /tmp
data/.rubocop.yml CHANGED
@@ -33,3 +33,6 @@ SpaceInsideHashLiteralBraces:
33
33
 
34
34
  StringLiterals:
35
35
  Enabled: false
36
+
37
+ TrivialAccessors:
38
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 2.1.0 / 2014-12-26
2
+
3
+ * Added `#perform_service` to `Ballast::Concerns::Common`.
4
+
1
5
  ### 2.0.1 / 2014-12-26
2
6
 
3
7
  * Added `transport` parameter to `Ballast::Service#as_ajax_response`.
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Coverage Status](https://coveralls.io/repos/ShogunPanda/ballast/badge.png)](https://coveralls.io/r/ShogunPanda/ballast)
8
8
  [![Bitdeli Trend](https://d2weczhvl823v0.cloudfront.net/ShogunPanda/ballast/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
9
9
 
10
- A collection of base utilities for Ruby on Rails.
10
+ A collection of base utilities for web frameworks.
11
11
 
12
12
  http://sw.cowtech.it/ballast
13
13
 
@@ -15,7 +15,7 @@ http://rdoc.info/gems/ballast
15
15
 
16
16
  # Description
17
17
 
18
- Ballast is a gem which tries to solve common issues which we all (or, at least, me) usually encounter when we develop with Ruby On Rails.
18
+ Ballast is a gem which tries to solve common issues which we all (or, at least, me) usually encounter when we develop with Ruby On Rails or other web frameworks.
19
19
 
20
20
  The first big issue is having fat controllers. To solve this, ballast enbraces the idea of the [interactor](https://github.com/collectiveidea/interactor) gem and it implements a service interface.
21
21
 
data/ballast.gemspec CHANGED
@@ -27,6 +27,6 @@ Gem::Specification.new do |gem|
27
27
  gem.add_dependency("actionpack", "~> 4.1")
28
28
  gem.add_dependency("brauser", "~> 4.0")
29
29
  gem.add_dependency("addressable", "~> 2.3")
30
- gem.add_dependency("em-synchrony", "~> 1.0.3")
30
+ gem.add_dependency("em-synchrony", "~> 1.0")
31
31
  gem.add_dependency("gemoji", "~> 2.1")
32
32
  end