fix 0.0.1.pre → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.coveralls.yml +1 -0
  3. data/.travis.yml +4 -2
  4. data/README.md +81 -49
  5. data/Rakefile +17 -0
  6. data/VERSION.semver +1 -1
  7. data/example/duck/README.md +9 -0
  8. data/example/duck/app.rb +3 -0
  9. data/example/duck/lib.rb +14 -0
  10. data/example/duck/spec.rb +31 -0
  11. data/example/duck/test.rb +6 -0
  12. data/fix.gemspec +10 -6
  13. data/lib/fix.rb +3 -17
  14. data/lib/fix/dsl.rb +10 -0
  15. data/lib/fix/expectation.rb +48 -0
  16. data/lib/fix/expectation_high.rb +26 -0
  17. data/lib/fix/expectation_low.rb +44 -0
  18. data/lib/fix/expectation_medium.rb +29 -0
  19. data/lib/fix/expectation_set.rb +8 -0
  20. data/lib/fix/helper/it_helper.rb +12 -0
  21. data/lib/fix/helper/its_helper.rb +12 -0
  22. data/lib/fix/helper/let_accessor_helper.rb +11 -0
  23. data/lib/fix/helper/let_reader_helper.rb +9 -0
  24. data/lib/fix/helper/let_writer_helper.rb +13 -0
  25. data/lib/fix/helper/on_helper.rb +12 -0
  26. data/lib/fix/helper/requirement_helper.rb +44 -0
  27. data/lib/fix/it.rb +14 -0
  28. data/lib/fix/its.rb +14 -0
  29. data/lib/fix/on.rb +20 -0
  30. data/lib/fix/spec.rb +16 -10
  31. data/lib/fix/subject.rb +43 -10
  32. data/lib/fix/test.rb +114 -0
  33. data/lib/fix/version.rb +9 -0
  34. data/spec/TODO +0 -0
  35. data/spec/spec_helper.rb +2 -4
  36. data/spec/support.rb +3 -0
  37. data/spec/support/coverage.rb +3 -0
  38. data/spec/support/env.rb +4 -0
  39. data/spec/support/presenter.rb +0 -0
  40. metadata +85 -22
  41. data/.ruby-version +0 -1
  42. data/bin/fix +0 -58
  43. data/lib/fix/base_matcher.rb +0 -38
  44. data/lib/fix/call.rb +0 -16
  45. data/lib/fix/constant.rb +0 -37
  46. data/lib/fix/expectation_target.rb +0 -41
  47. data/lib/fix/helper.rb +0 -34
  48. data/lib/fix/scope.rb +0 -20
  49. data/logo.png +0 -0
  50. data/logo.svg +0 -19
  51. data/spec/subject_spec.rb +0 -5
data/logo.png DELETED
Binary file
data/logo.svg DELETED
@@ -1,19 +0,0 @@
1
- <?xml version="1.0"?>
2
- <svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
3
- <g>
4
- <title>Fix logo</title>
5
-
6
- <g>
7
- <rect fill="none" height="202" width="202" y="-1" x="-1"/>
8
- <g display="none" overflow="visible" y="0" x="0" height="100%" width="100%">
9
- <rect fill="url(#gridpattern)" stroke-width="0" y="0" x="0" height="100%" width="100%"/>
10
- </g>
11
- </g>
12
- </g>
13
-
14
- <g stroke="null">
15
- <path stroke="#000" d="m96.921051,4.165738c44.131577,-1.082873 51.315796,-2.165746 73.894745,25.988952c22.578949,28.154697 26.684204,62.806637 21.552628,85.546963c-5.131577,22.740334 -16.421051,50.895027 -30.789474,61.723763c-14.368423,10.82872 -40.026314,20.5746 -66.710526,17.325958c-26.684212,-3.248596 -50.289474,-11.911591 -66.710527,-29.237549c-16.421054,-17.325989 -23.605265,-41.149185 -24.63158,-66.05526c-1.026316,-24.906082 12.31579,-66.055256 20.526316,-75.801113c8.210526,-9.745856 28.736843,-18.40884 72.86842,-19.491714z" stroke-opacity="null" stroke-width="0" fill="#007f00"/>
16
- <path stroke="#000" d="m70.236847,22.03306c31.815788,-5.414331 74.921051,-4.331459 74.407867,-4.331459c0.513184,0 -57.473694,12.453007 -74.407867,22.740316c-16.934246,10.287292 -55.421058,56.309395 -55.934246,56.309395c0.513188,0 2.565821,-32.486191 9.750031,-47.646412c7.184212,-15.160221 14.368423,-21.657475 46.184216,-27.07184z" stroke-opacity="null" stroke-width="0" fill="#00bf00"/>
17
- <path stroke="#000" d="m20.459461,117.86631c5.645834,-19.490639 47.209522,-50.895027 67.735844,-63.889503c20.526314,-12.994469 49.263161,-25.447508 65.684212,-23.823198c17.960281,6.49732 24.631577,35.193361 26.684204,55.226511c2.052643,20.03315 -2.052628,57.391182 -18.473679,75.258614c-16.421051,17.867401 -33.868423,23.281784 -53.881615,22.198914c-20.013123,-1.082916 -51.315727,-11.370209 -63.118389,-18.950302c-11.802601,-7.580124 -30.276347,-26.53038 -24.630577,-46.021034z" stroke-opacity="null" stroke-width="0" fill="#00bf00"/>
18
- </g>
19
- </svg>
data/spec/subject_spec.rb DELETED
@@ -1,5 +0,0 @@
1
- require_relative 'spec_helper'
2
-
3
- constant :Fix, :Subject do
4
- subject.should equal Fix::Subject
5
- end