skeptick 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +584 -0
  5. data/Rakefile +10 -0
  6. data/foo.rb +1 -0
  7. data/lib/skeptick.rb +2 -0
  8. data/lib/skeptick/chain.rb +55 -0
  9. data/lib/skeptick/chain/dsl_context.rb +21 -0
  10. data/lib/skeptick/command.rb +46 -0
  11. data/lib/skeptick/convert.rb +109 -0
  12. data/lib/skeptick/convert/dsl_context.rb +27 -0
  13. data/lib/skeptick/core.rb +46 -0
  14. data/lib/skeptick/error.rb +4 -0
  15. data/lib/skeptick/helper.rb +26 -0
  16. data/lib/skeptick/image.rb +69 -0
  17. data/lib/skeptick/image/dsl_context.rb +29 -0
  18. data/lib/skeptick/railtie.rb +8 -0
  19. data/lib/skeptick/sugar.rb +8 -0
  20. data/lib/skeptick/sugar/composition.rb +55 -0
  21. data/lib/skeptick/sugar/debugging.rb +12 -0
  22. data/lib/skeptick/sugar/drawing.rb +32 -0
  23. data/lib/skeptick/sugar/edges.rb +70 -0
  24. data/lib/skeptick/sugar/formatting.rb +12 -0
  25. data/lib/skeptick/sugar/geometry.rb +38 -0
  26. data/lib/skeptick/sugar/resizing.rb +16 -0
  27. data/lib/skeptick/sugar/sequence_manipulation.rb +43 -0
  28. data/lib/skeptick/version.rb +3 -0
  29. data/logo.png +0 -0
  30. data/logo.rb +45 -0
  31. data/refresh_preview.scpt +2 -0
  32. data/skeptick.gemspec +21 -0
  33. data/test/chain_test.rb +94 -0
  34. data/test/convert_test.rb +177 -0
  35. data/test/image_test.rb +145 -0
  36. data/test/sugar/composition_test.rb +273 -0
  37. data/test/sugar/debugging_test.rb +24 -0
  38. data/test/sugar/drawing_test.rb +86 -0
  39. data/test/sugar/edges_test.rb +99 -0
  40. data/test/sugar/formatting_test.rb +19 -0
  41. data/test/sugar/geometry_test.rb +92 -0
  42. data/test/sugar/resizing_test.rb +25 -0
  43. data/test/sugar/sequence_manipulation_test.rb +98 -0
  44. data/test/test_helper.rb +11 -0
  45. metadata +117 -0
@@ -0,0 +1,11 @@
1
+ require 'bundler/setup'
2
+ require 'skeptick/core'
3
+ require 'minitest/autorun'
4
+
5
+ class Skeptick::TestCase < MiniTest::Unit::TestCase
6
+ # Override this MiniTest method due to a diff issue with values like 0x123
7
+ # https://github.com/seattlerb/minitest/issues/235
8
+ def mu_pp_for_diff(obj)
9
+ mu_pp(obj).gsub(/\\n/, "\n")
10
+ end
11
+ end
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: skeptick
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Maxim Chernyak
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-02-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: posix-spawn
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.3.6
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.3.6
30
+ description: Thin ImageMagick DSL with smart command composition
31
+ email:
32
+ - max@bitsonnet.com
33
+ executables: []
34
+ extensions: []
35
+ extra_rdoc_files: []
36
+ files:
37
+ - .gitignore
38
+ - Gemfile
39
+ - LICENSE.txt
40
+ - README.md
41
+ - Rakefile
42
+ - foo.rb
43
+ - lib/skeptick.rb
44
+ - lib/skeptick/chain.rb
45
+ - lib/skeptick/chain/dsl_context.rb
46
+ - lib/skeptick/command.rb
47
+ - lib/skeptick/convert.rb
48
+ - lib/skeptick/convert/dsl_context.rb
49
+ - lib/skeptick/core.rb
50
+ - lib/skeptick/error.rb
51
+ - lib/skeptick/helper.rb
52
+ - lib/skeptick/image.rb
53
+ - lib/skeptick/image/dsl_context.rb
54
+ - lib/skeptick/railtie.rb
55
+ - lib/skeptick/sugar.rb
56
+ - lib/skeptick/sugar/composition.rb
57
+ - lib/skeptick/sugar/debugging.rb
58
+ - lib/skeptick/sugar/drawing.rb
59
+ - lib/skeptick/sugar/edges.rb
60
+ - lib/skeptick/sugar/formatting.rb
61
+ - lib/skeptick/sugar/geometry.rb
62
+ - lib/skeptick/sugar/resizing.rb
63
+ - lib/skeptick/sugar/sequence_manipulation.rb
64
+ - lib/skeptick/version.rb
65
+ - logo.png
66
+ - logo.rb
67
+ - refresh_preview.scpt
68
+ - skeptick.gemspec
69
+ - test/chain_test.rb
70
+ - test/convert_test.rb
71
+ - test/image_test.rb
72
+ - test/sugar/composition_test.rb
73
+ - test/sugar/debugging_test.rb
74
+ - test/sugar/drawing_test.rb
75
+ - test/sugar/edges_test.rb
76
+ - test/sugar/formatting_test.rb
77
+ - test/sugar/geometry_test.rb
78
+ - test/sugar/resizing_test.rb
79
+ - test/sugar/sequence_manipulation_test.rb
80
+ - test/test_helper.rb
81
+ homepage: https://github.com/maxim/skeptick
82
+ licenses: []
83
+ post_install_message:
84
+ rdoc_options: []
85
+ require_paths:
86
+ - lib
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ requirements: []
100
+ rubyforge_project:
101
+ rubygems_version: 1.8.25
102
+ signing_key:
103
+ specification_version: 3
104
+ summary: Skeptick doesn't believe in Magick
105
+ test_files:
106
+ - test/chain_test.rb
107
+ - test/convert_test.rb
108
+ - test/image_test.rb
109
+ - test/sugar/composition_test.rb
110
+ - test/sugar/debugging_test.rb
111
+ - test/sugar/drawing_test.rb
112
+ - test/sugar/edges_test.rb
113
+ - test/sugar/formatting_test.rb
114
+ - test/sugar/geometry_test.rb
115
+ - test/sugar/resizing_test.rb
116
+ - test/sugar/sequence_manipulation_test.rb
117
+ - test/test_helper.rb