markitup-rails 0.2.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/lib/markitup-rails.rb +5 -7
  2. metadata +82 -86
  3. data/.gitignore +0 -2
  4. data/README.md +0 -81
  5. data/lib/markitup-rails/engine.rb +0 -6
  6. data/lib/markitup-rails/railtie.rb +0 -6
  7. data/lib/markitup-rails/version.rb +0 -5
  8. data/markitup-rails.gemspec +0 -21
  9. data/vendor/assets/images/markitup/bg-container.png +0 -0
  10. data/vendor/assets/images/markitup/bg-editor-bbcode.png +0 -0
  11. data/vendor/assets/images/markitup/bg-editor-dotclear.png +0 -0
  12. data/vendor/assets/images/markitup/bg-editor-html.png +0 -0
  13. data/vendor/assets/images/markitup/bg-editor-json.png +0 -0
  14. data/vendor/assets/images/markitup/bg-editor-markdown.png +0 -0
  15. data/vendor/assets/images/markitup/bg-editor-textile.png +0 -0
  16. data/vendor/assets/images/markitup/bg-editor-wiki.png +0 -0
  17. data/vendor/assets/images/markitup/bg-editor-xml.png +0 -0
  18. data/vendor/assets/images/markitup/bg-editor.png +0 -0
  19. data/vendor/assets/images/markitup/bold.png +0 -0
  20. data/vendor/assets/images/markitup/clean.png +0 -0
  21. data/vendor/assets/images/markitup/code.png +0 -0
  22. data/vendor/assets/images/markitup/css.png +0 -0
  23. data/vendor/assets/images/markitup/disconnect.png +0 -0
  24. data/vendor/assets/images/markitup/h1.png +0 -0
  25. data/vendor/assets/images/markitup/h2.png +0 -0
  26. data/vendor/assets/images/markitup/h3.png +0 -0
  27. data/vendor/assets/images/markitup/h4.png +0 -0
  28. data/vendor/assets/images/markitup/h5.png +0 -0
  29. data/vendor/assets/images/markitup/h6.png +0 -0
  30. data/vendor/assets/images/markitup/handle.png +0 -0
  31. data/vendor/assets/images/markitup/image.png +0 -0
  32. data/vendor/assets/images/markitup/italic.png +0 -0
  33. data/vendor/assets/images/markitup/link.png +0 -0
  34. data/vendor/assets/images/markitup/list-bullet.png +0 -0
  35. data/vendor/assets/images/markitup/list-item.png +0 -0
  36. data/vendor/assets/images/markitup/list-numeric.png +0 -0
  37. data/vendor/assets/images/markitup/menu.png +0 -0
  38. data/vendor/assets/images/markitup/page_white_code.png +0 -0
  39. data/vendor/assets/images/markitup/paragraph.png +0 -0
  40. data/vendor/assets/images/markitup/picture.png +0 -0
  41. data/vendor/assets/images/markitup/preview.png +0 -0
  42. data/vendor/assets/images/markitup/quotes.png +0 -0
  43. data/vendor/assets/images/markitup/stroke.png +0 -0
  44. data/vendor/assets/images/markitup/submenu.png +0 -0
  45. data/vendor/assets/images/markitup/tag.png +0 -0
  46. data/vendor/assets/images/markitup/text_align_center.png +0 -0
  47. data/vendor/assets/images/markitup/text_align_justify.png +0 -0
  48. data/vendor/assets/images/markitup/text_align_left.png +0 -0
  49. data/vendor/assets/images/markitup/text_align_right.png +0 -0
  50. data/vendor/assets/images/markitup/text_indent.png +0 -0
  51. data/vendor/assets/images/markitup/text_letterspacing.png +0 -0
  52. data/vendor/assets/images/markitup/text_linespacing.png +0 -0
  53. data/vendor/assets/images/markitup/text_lowercase.png +0 -0
  54. data/vendor/assets/images/markitup/text_padding_bottom.png +0 -0
  55. data/vendor/assets/images/markitup/text_padding_left.png +0 -0
  56. data/vendor/assets/images/markitup/text_padding_right.png +0 -0
  57. data/vendor/assets/images/markitup/text_padding_top.png +0 -0
  58. data/vendor/assets/images/markitup/text_uppercase.png +0 -0
  59. data/vendor/assets/images/markitup/url.png +0 -0
  60. data/vendor/assets/javascripts/markitup-css.js +0 -52
  61. data/vendor/assets/javascripts/markitup-html.js +0 -39
  62. data/vendor/assets/javascripts/markitup-markdown.js +0 -52
  63. data/vendor/assets/javascripts/markitup-textile.js +0 -40
  64. data/vendor/assets/javascripts/markitup.js +0 -593
  65. data/vendor/assets/javascripts/marmarkitup-texy.js +0 -51
  66. data/vendor/assets/javascripts/marmarkitup-wiki.js +0 -37
  67. data/vendor/assets/stylesheets/markitup-css.css.erb +0 -72
  68. data/vendor/assets/stylesheets/markitup-html.css.erb +0 -59
  69. data/vendor/assets/stylesheets/markitup-markdown.css.erb +0 -54
  70. data/vendor/assets/stylesheets/markitup-textile.css.erb +0 -61
  71. data/vendor/assets/stylesheets/markitup.css.erb +0 -149
  72. data/vendor/assets/stylesheets/marmarkitup-texy.css.erb +0 -51
  73. data/vendor/assets/stylesheets/marmarkitup-wiki.css.erb +0 -57
@@ -1,9 +1,7 @@
1
- module Blueprint
1
+ require "markitup/rails/configuration"
2
+ require "markitup/rails/engine"
3
+
4
+ module Markitup
2
5
  module Rails
3
- if ::Rails.version < "3.1"
4
- require 'markitup-rails/railtie'
5
- else
6
- require 'markitup-rails/engine'
7
- end
8
6
  end
9
- end
7
+ end
metadata CHANGED
@@ -1,40 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markitup-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Uri Gorelik
9
+ - Phil Cohen
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2012-05-23 00:00:00.000000000 Z
13
+ date: 2013-01-18 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
- name: railties
16
+ name: rails
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
- - - ~>
20
+ - - ! '>='
20
21
  - !ruby/object:Gem::Version
21
- version: '3.0'
22
+ version: '3.1'
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
25
26
  none: false
26
27
  requirements:
27
- - - ~>
28
+ - - ! '>='
28
29
  - !ruby/object:Gem::Version
29
- version: '3.0'
30
+ version: '3.1'
30
31
  - !ruby/object:Gem::Dependency
31
32
  name: bundler
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: 1.2.0
39
+ type: :development
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: 1.2.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: cane
32
49
  requirement: !ruby/object:Gem::Requirement
33
50
  none: false
34
51
  requirements:
35
52
  - - ~>
36
53
  - !ruby/object:Gem::Version
37
- version: 1.0.0
54
+ version: 2.5.0
38
55
  type: :development
39
56
  prerelease: false
40
57
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,15 +59,63 @@ dependencies:
42
59
  requirements:
43
60
  - - ~>
44
61
  - !ruby/object:Gem::Version
45
- version: 1.0.0
62
+ version: 2.5.0
46
63
  - !ruby/object:Gem::Dependency
47
- name: rails
64
+ name: minitest
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ~>
69
+ - !ruby/object:Gem::Version
70
+ version: 4.3.0
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ version: 4.3.0
79
+ - !ruby/object:Gem::Dependency
80
+ name: minitest-rails
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: 0.3.0
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 0.3.0
95
+ - !ruby/object:Gem::Dependency
96
+ name: rake
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: 10.0.0
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 10.0.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
48
113
  requirement: !ruby/object:Gem::Requirement
49
114
  none: false
50
115
  requirements:
51
116
  - - ~>
52
117
  - !ruby/object:Gem::Version
53
- version: '3.0'
118
+ version: 0.7.1
54
119
  type: :development
55
120
  prerelease: false
56
121
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,85 +123,16 @@ dependencies:
58
123
  requirements:
59
124
  - - ~>
60
125
  - !ruby/object:Gem::Version
61
- version: '3.0'
62
- description: Sets up the asset pipeline.
63
- email: uri@ndstorefront.com
126
+ version: 0.7.1
127
+ description: The markItUp! universal markup editor, bundled for Rails 3.1+ Asset Pipeline.
128
+ email:
129
+ - uri@ndstorefront.com
130
+ - github@phlippers.net
64
131
  executables: []
65
132
  extensions: []
66
133
  extra_rdoc_files: []
67
134
  files:
68
- - .gitignore
69
- - README.md
70
135
  - lib/markitup-rails.rb
71
- - lib/markitup-rails/engine.rb
72
- - lib/markitup-rails/railtie.rb
73
- - lib/markitup-rails/version.rb
74
- - markitup-rails.gemspec
75
- - vendor/assets/images/markitup/bg-container.png
76
- - vendor/assets/images/markitup/bg-editor-bbcode.png
77
- - vendor/assets/images/markitup/bg-editor-dotclear.png
78
- - vendor/assets/images/markitup/bg-editor-html.png
79
- - vendor/assets/images/markitup/bg-editor-json.png
80
- - vendor/assets/images/markitup/bg-editor-markdown.png
81
- - vendor/assets/images/markitup/bg-editor-textile.png
82
- - vendor/assets/images/markitup/bg-editor-wiki.png
83
- - vendor/assets/images/markitup/bg-editor-xml.png
84
- - vendor/assets/images/markitup/bg-editor.png
85
- - vendor/assets/images/markitup/bold.png
86
- - vendor/assets/images/markitup/clean.png
87
- - vendor/assets/images/markitup/code.png
88
- - vendor/assets/images/markitup/css.png
89
- - vendor/assets/images/markitup/disconnect.png
90
- - vendor/assets/images/markitup/h1.png
91
- - vendor/assets/images/markitup/h2.png
92
- - vendor/assets/images/markitup/h3.png
93
- - vendor/assets/images/markitup/h4.png
94
- - vendor/assets/images/markitup/h5.png
95
- - vendor/assets/images/markitup/h6.png
96
- - vendor/assets/images/markitup/handle.png
97
- - vendor/assets/images/markitup/image.png
98
- - vendor/assets/images/markitup/italic.png
99
- - vendor/assets/images/markitup/link.png
100
- - vendor/assets/images/markitup/list-bullet.png
101
- - vendor/assets/images/markitup/list-item.png
102
- - vendor/assets/images/markitup/list-numeric.png
103
- - vendor/assets/images/markitup/menu.png
104
- - vendor/assets/images/markitup/page_white_code.png
105
- - vendor/assets/images/markitup/paragraph.png
106
- - vendor/assets/images/markitup/picture.png
107
- - vendor/assets/images/markitup/preview.png
108
- - vendor/assets/images/markitup/quotes.png
109
- - vendor/assets/images/markitup/stroke.png
110
- - vendor/assets/images/markitup/submenu.png
111
- - vendor/assets/images/markitup/tag.png
112
- - vendor/assets/images/markitup/text_align_center.png
113
- - vendor/assets/images/markitup/text_align_justify.png
114
- - vendor/assets/images/markitup/text_align_left.png
115
- - vendor/assets/images/markitup/text_align_right.png
116
- - vendor/assets/images/markitup/text_indent.png
117
- - vendor/assets/images/markitup/text_letterspacing.png
118
- - vendor/assets/images/markitup/text_linespacing.png
119
- - vendor/assets/images/markitup/text_lowercase.png
120
- - vendor/assets/images/markitup/text_padding_bottom.png
121
- - vendor/assets/images/markitup/text_padding_left.png
122
- - vendor/assets/images/markitup/text_padding_right.png
123
- - vendor/assets/images/markitup/text_padding_top.png
124
- - vendor/assets/images/markitup/text_uppercase.png
125
- - vendor/assets/images/markitup/url.png
126
- - vendor/assets/javascripts/markitup-css.js
127
- - vendor/assets/javascripts/markitup-html.js
128
- - vendor/assets/javascripts/markitup-markdown.js
129
- - vendor/assets/javascripts/markitup-textile.js
130
- - vendor/assets/javascripts/markitup.js
131
- - vendor/assets/javascripts/marmarkitup-texy.js
132
- - vendor/assets/javascripts/marmarkitup-wiki.js
133
- - vendor/assets/stylesheets/markitup-css.css.erb
134
- - vendor/assets/stylesheets/markitup-html.css.erb
135
- - vendor/assets/stylesheets/markitup-markdown.css.erb
136
- - vendor/assets/stylesheets/markitup-textile.css.erb
137
- - vendor/assets/stylesheets/markitup.css.erb
138
- - vendor/assets/stylesheets/marmarkitup-texy.css.erb
139
- - vendor/assets/stylesheets/marmarkitup-wiki.css.erb
140
136
  homepage: https://github.com/HealthyWeb/markitup-rails
141
137
  licenses: []
142
138
  post_install_message:
@@ -160,5 +156,5 @@ rubyforge_project:
160
156
  rubygems_version: 1.8.24
161
157
  signing_key:
162
158
  specification_version: 3
163
- summary: MarkItUp for rails.
159
+ summary: The markItUp! universal markup editor, bundled for Rails 3.1+ Asset Pipeline.
164
160
  test_files: []
data/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- .DS_Store
2
- *.gem
data/README.md DELETED
@@ -1,81 +0,0 @@
1
- markitup-rails
2
- ========================
3
-
4
- This is a gem that contains the vendor assets for [markitup](http://markitup.jaysalvat.com/home/).
5
-
6
- ## Support
7
-
8
- Should support rails 3.0 and higher.
9
-
10
- ### Supported markup languages:
11
-
12
- * `html`
13
- * `textile`
14
- * `markdown`
15
- * `wiki`
16
- * `texty`
17
- * `css`
18
-
19
- ## Usage
20
-
21
- ### Installing the Gem
22
-
23
- Require `markitup-rails` in your `Gemfile`.
24
-
25
- gem 'markitup-rails'
26
-
27
- Install the gem via `bundle` command.
28
-
29
-
30
- ### Using it in your application
31
-
32
- Add to `application.css`
33
-
34
- *= require markitup
35
- *= require markitup-[markup lang]
36
-
37
- Example
38
-
39
- *= require markitup
40
- *= require markitup-textile
41
-
42
- And in `application.js`
43
-
44
- //= require markitup
45
- //= require markitup-[markup lang]
46
-
47
- Example
48
-
49
- //= require markitup
50
- //= require markitup-textile
51
-
52
-
53
- ### Using markitup
54
-
55
- Include in either `application.js` or another file that will be included in the pipelin:
56
-
57
- // To target all text areas
58
- $(document).ready(function() {
59
- $("textarea").markItUp(mySettings);
60
- });
61
-
62
- //----- OR
63
-
64
- // To target a specific ID
65
- $(document).ready(function() {
66
- $("textarea#my_id").markItUp(mySettings);
67
- });
68
-
69
- //----- OR
70
-
71
- // To target a specific class
72
- $(document).ready(function() {
73
- $("textarea.markitup").markItUp(mySettings);
74
- });
75
-
76
-
77
- See the [markitup documentation](http://markitup.jaysalvat.com/documentation/) for more info.
78
-
79
- ----
80
-
81
- *Based on the [blueprint-rails gem](https://github.com/bai/blueprint-rails)*
@@ -1,6 +0,0 @@
1
- module Markitup
2
- module Rails
3
- class Engine < ::Rails::Engine
4
- end
5
- end
6
- end
@@ -1,6 +0,0 @@
1
- module Markitup
2
- module Rails
3
- class Railtie < ::Rails::Railtie
4
- end
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module Markitup
2
- module Rails
3
- VERSION = "0.2.2"
4
- end
5
- end
@@ -1,21 +0,0 @@
1
- require './lib/markitup-rails/version'
2
-
3
- Gem::Specification.new do |s|
4
- s.name = 'markitup-rails'
5
- s.version = Markitup::Rails::VERSION
6
- s.date = '2012-05-23'
7
- s.summary = "MarkItUp for rails."
8
- s.description = "Sets up the asset pipeline."
9
- s.authors = ["Uri Gorelik"]
10
- s.email = 'uri@ndstorefront.com'
11
- s.files = ["lib/markitup-rails.rb"]
12
- s.homepage =
13
- 'https://github.com/HealthyWeb/markitup-rails'
14
-
15
- s.files = `git ls-files`.split("\n")
16
- s.platform = Gem::Platform::RUBY
17
- s.require_path = 'lib'
18
- s.add_dependency "railties", "~> 3.0"
19
- s.add_development_dependency "bundler", "~> 1.0.0"
20
- s.add_development_dependency "rails", "~> 3.0"
21
- end