mab-cj 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING +19 -0
  3. data/Gemfile +14 -0
  4. data/README.md +224 -0
  5. data/Rakefile +16 -0
  6. data/lib/mab.rb +6 -0
  7. data/lib/mab/builder.rb +45 -0
  8. data/lib/mab/indentation.rb +33 -0
  9. data/lib/mab/kernel_method.rb +6 -0
  10. data/lib/mab/mixin.rb +262 -0
  11. data/lib/mab/rails.rb +20 -0
  12. data/lib/mab/tilt.rb +42 -0
  13. data/lib/mab/version.rb +4 -0
  14. data/mab.gemspec +20 -0
  15. data/test/helper.rb +4 -0
  16. data/test/rails/Rakefile +7 -0
  17. data/test/rails/app/assets/images/rails.png +0 -0
  18. data/test/rails/app/assets/javascripts/application.js +15 -0
  19. data/test/rails/app/assets/stylesheets/application.css +13 -0
  20. data/test/rails/app/controllers/application_controller.rb +17 -0
  21. data/test/rails/app/helpers/application_helper.rb +2 -0
  22. data/test/rails/app/views/application/content_for.html.mab +6 -0
  23. data/test/rails/app/views/application/normal.html.mab +2 -0
  24. data/test/rails/app/views/application/variables.html.mab +2 -0
  25. data/test/rails/app/views/layouts/application.html.mab +15 -0
  26. data/test/rails/config.ru +4 -0
  27. data/test/rails/config/application.rb +54 -0
  28. data/test/rails/config/boot.rb +6 -0
  29. data/test/rails/config/environment.rb +5 -0
  30. data/test/rails/config/environments/development.rb +27 -0
  31. data/test/rails/config/environments/production.rb +67 -0
  32. data/test/rails/config/environments/test.rb +29 -0
  33. data/test/rails/config/initializers/backtrace_silencers.rb +7 -0
  34. data/test/rails/config/initializers/inflections.rb +15 -0
  35. data/test/rails/config/initializers/mime_types.rb +5 -0
  36. data/test/rails/config/initializers/secret_token.rb +7 -0
  37. data/test/rails/config/initializers/session_store.rb +8 -0
  38. data/test/rails/config/initializers/wrap_parameters.rb +14 -0
  39. data/test/rails/config/locales/en.yml +5 -0
  40. data/test/rails/config/routes.rb +3 -0
  41. data/test/rails/script/rails +6 -0
  42. data/test/rails/test/helper.rb +7 -0
  43. data/test/rails/test/test_mab.rb +40 -0
  44. data/test/test_mab_builder.rb +56 -0
  45. data/test/test_mab_indentation.rb +66 -0
  46. data/test/test_mab_kernel_method.rb +10 -0
  47. data/test/test_mab_mixin.rb +250 -0
  48. metadata +118 -0
metadata ADDED
@@ -0,0 +1,118 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mab-cj
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
5
+ platform: ruby
6
+ authors:
7
+ - Magnus Holm
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-08-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description:
42
+ email:
43
+ - judofyr@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - test/rails/config/application.rb
49
+ - test/rails/config/initializers/backtrace_silencers.rb
50
+ - test/rails/config/initializers/session_store.rb
51
+ - test/rails/config/initializers/wrap_parameters.rb
52
+ - test/rails/config/initializers/secret_token.rb
53
+ - test/rails/config/initializers/mime_types.rb
54
+ - test/rails/config/initializers/inflections.rb
55
+ - test/rails/config/locales/en.yml
56
+ - test/rails/config/environment.rb
57
+ - test/rails/config/routes.rb
58
+ - test/rails/config/boot.rb
59
+ - test/rails/config/environments/test.rb
60
+ - test/rails/config/environments/production.rb
61
+ - test/rails/config/environments/development.rb
62
+ - test/rails/test/test_mab.rb
63
+ - test/rails/test/helper.rb
64
+ - test/rails/app/views/application/normal.html.mab
65
+ - test/rails/app/views/application/variables.html.mab
66
+ - test/rails/app/views/application/content_for.html.mab
67
+ - test/rails/app/views/layouts/application.html.mab
68
+ - test/rails/app/controllers/application_controller.rb
69
+ - test/rails/app/assets/stylesheets/application.css
70
+ - test/rails/app/assets/images/rails.png
71
+ - test/rails/app/assets/javascripts/application.js
72
+ - test/rails/app/helpers/application_helper.rb
73
+ - test/rails/config.ru
74
+ - test/rails/Rakefile
75
+ - test/rails/script/rails
76
+ - test/test_mab_mixin.rb
77
+ - test/test_mab_indentation.rb
78
+ - test/helper.rb
79
+ - test/test_mab_kernel_method.rb
80
+ - test/test_mab_builder.rb
81
+ - Gemfile
82
+ - lib/mab/kernel_method.rb
83
+ - lib/mab/builder.rb
84
+ - lib/mab/version.rb
85
+ - lib/mab/mixin.rb
86
+ - lib/mab/tilt.rb
87
+ - lib/mab/rails.rb
88
+ - lib/mab/indentation.rb
89
+ - lib/mab.rb
90
+ - mab.gemspec
91
+ - Rakefile
92
+ - README.md
93
+ - COPYING
94
+ homepage:
95
+ licenses: []
96
+ metadata: {}
97
+ post_install_message:
98
+ rdoc_options: []
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ requirements: []
112
+ rubyforge_project:
113
+ rubygems_version: 2.0.14
114
+ signing_key:
115
+ specification_version: 4
116
+ summary: Markup as Ruby
117
+ test_files: []
118
+ has_rdoc: