mdmagick-rails 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,28 @@
1
- Copyright (c) 2012 bokmann
1
+
2
+ MIT License
3
+
4
+ Copyright (c) 2012 Fernando Guillen Suarez
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ "Software"), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
+
25
+ Copyright (c) 2013 seankay
2
26
 
3
27
  MIT License
4
28
 
@@ -19,4 +43,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
43
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
44
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
45
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,20 +1,37 @@
1
+ #MDMagick-Rails
2
+ [MDMagick](https://github.com/fguillen/MDMagick) for Rails.
3
+
1
4
  ## Installation
2
5
 
3
- Add this to your Gemfile:
6
+ Add this line to your application's Gemfile:
7
+
8
+ gem 'mdmagick-rails'
9
+
10
+ And then execute:
11
+
12
+ $ bundle
13
+
14
+ Or install it yourself as:
4
15
 
5
- ```ruby
6
- gem "mdmagic-rails"
7
- ```
16
+ $ gem install mdmagick-rails
8
17
 
9
- and run `bundle install`.
10
18
 
11
19
  ## Usage
12
20
 
13
21
  In your `application.css`, include the css file:
14
22
 
15
- ```css
16
- /*
17
- *= require mdmagic/mdmagic
18
- *= require mdmagic/style
19
- */
20
- ```
23
+ *= require mdmagick
24
+
25
+ In your `application.js`, include the css file:
26
+
27
+ //= require mdmagick
28
+
29
+ See [MDMagick](https://github.com/fguillen/MDMagick) for more info.
30
+
31
+ ## Contributing
32
+
33
+ 1. Fork it
34
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
35
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
36
+ 4. Push to the branch (`git push origin my-new-feature`)
37
+ 5. Create new Pull Request
@@ -1,5 +1,5 @@
1
1
  module MDMagick
2
2
  module Rails
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -0,0 +1,3 @@
1
+ //
2
+ //= require mdmagick
3
+ //
@@ -4681,3 +4681,161 @@ Compiled mdmagick/style.css (19ms) (pid 2512)
4681
4681
  Served asset /mdmagick/style.css - 200 OK (58ms)
4682
4682
  Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:05:59 -0400
4683
4683
  Served asset /mdmagick/style.css - 200 OK (0ms)
4684
+ Started GET "/assets/icomoon.eot" for 127.0.0.1 at 2013-05-18 10:27:28 -0400
4685
+ Served asset /icomoon.eot - 200 OK (8ms)
4686
+ Started GET "/assets/icomoon.ttf" for 127.0.0.1 at 2013-05-18 10:27:28 -0400
4687
+ Served asset /icomoon.ttf - 200 OK (9ms)
4688
+ Started GET "/assets/icomoon.woff" for 127.0.0.1 at 2013-05-18 10:27:28 -0400
4689
+ Served asset /icomoon.woff - 200 OK (8ms)
4690
+ Started GET "/assets/icomoon.svg" for 127.0.0.1 at 2013-05-18 10:27:28 -0400
4691
+ Served asset /icomoon.svg - 200 OK (8ms)
4692
+ Started GET "/assets/mdmagick/a-tools.js" for 127.0.0.1 at 2013-05-18 10:27:28 -0400
4693
+ Compiled mdmagick/a-tools.js (1ms) (pid 4214)
4694
+ Served asset /mdmagick/a-tools.js - 200 OK (20ms)
4695
+ Started GET "/assets/mdmagick/showdown.js" for 127.0.0.1 at 2013-05-18 10:27:28 -0400
4696
+ Compiled mdmagick/showdown.js (1ms) (pid 4214)
4697
+ Served asset /mdmagick/showdown.js - 200 OK (40ms)
4698
+ Started GET "/assets/mdmagick.js" for 127.0.0.1 at 2013-05-18 10:27:28 -0400
4699
+ Compiled mdmagick.js (7ms) (pid 4214)
4700
+ Served asset /mdmagick.js - 200 OK (22ms)
4701
+ Started GET "/assets/mdmagick.js" for 127.0.0.1 at 2013-05-18 10:27:29 -0400
4702
+ Served asset /mdmagick.js - 200 OK (0ms)
4703
+ Started GET "/assets/mdmagick/a-tools.js" for 127.0.0.1 at 2013-05-18 10:27:29 -0400
4704
+ Served asset /mdmagick/a-tools.js - 200 OK (0ms)
4705
+ Started GET "/assets/mdmagick/showdown.js" for 127.0.0.1 at 2013-05-18 10:27:29 -0400
4706
+ Served asset /mdmagick/showdown.js - 200 OK (0ms)
4707
+ Started GET "/assets/mdmagick/lte-ie7.js" for 127.0.0.1 at 2013-05-18 10:27:29 -0400
4708
+ Compiled mdmagick/lte-ie7.js (0ms) (pid 4214)
4709
+ Served asset /mdmagick/lte-ie7.js - 200 OK (14ms)
4710
+ Started GET "/assets/mdmagick.css" for 127.0.0.1 at 2013-05-18 10:27:29 -0400
4711
+ Compiled mdmagick/style.css (2ms) (pid 4214)
4712
+ Compiled mdmagick.css (13ms) (pid 4214)
4713
+ Served asset /mdmagick.css - 200 OK (75ms)
4714
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:27:29 -0400
4715
+ Served asset /mdmagick/style.css - 200 OK (10ms)
4716
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:27:29 -0400
4717
+ Served asset /mdmagick/style.css - 200 OK (0ms)
4718
+ Started GET "/assets/icomoon.eot" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4719
+ Served asset /icomoon.eot - 200 OK (8ms)
4720
+ Started GET "/assets/icomoon.ttf" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4721
+ Served asset /icomoon.ttf - 200 OK (8ms)
4722
+ Started GET "/assets/icomoon.woff" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4723
+ Served asset /icomoon.woff - 200 OK (28ms)
4724
+ Started GET "/assets/icomoon.svg" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4725
+ Served asset /icomoon.svg - 200 OK (7ms)
4726
+ Started GET "/assets/mdmagick/a-tools.js" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4727
+ Compiled mdmagick/a-tools.js (0ms) (pid 4432)
4728
+ Served asset /mdmagick/a-tools.js - 200 OK (13ms)
4729
+ Started GET "/assets/mdmagick/showdown.js" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4730
+ Compiled mdmagick/showdown.js (1ms) (pid 4432)
4731
+ Served asset /mdmagick/showdown.js - 200 OK (15ms)
4732
+ Started GET "/assets/mdmagick.js" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4733
+ Compiled mdmagick.js (7ms) (pid 4432)
4734
+ Served asset /mdmagick.js - 200 OK (45ms)
4735
+ Started GET "/assets/mdmagick.js" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4736
+ Served asset /mdmagick.js - 200 OK (0ms)
4737
+ Started GET "/assets/mdmagick/a-tools.js" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4738
+ Served asset /mdmagick/a-tools.js - 200 OK (0ms)
4739
+ Started GET "/assets/mdmagick/showdown.js" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4740
+ Served asset /mdmagick/showdown.js - 200 OK (0ms)
4741
+ Started GET "/assets/mdmagick/lte-ie7.js" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4742
+ Compiled mdmagick/lte-ie7.js (0ms) (pid 4432)
4743
+ Served asset /mdmagick/lte-ie7.js - 200 OK (12ms)
4744
+ Started GET "/assets/mdmagick.css" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4745
+ Compiled mdmagick/style.css (2ms) (pid 4432)
4746
+ Compiled mdmagick.css (10ms) (pid 4432)
4747
+ Served asset /mdmagick.css - 200 OK (22ms)
4748
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4749
+ Served asset /mdmagick/style.css - 200 OK (6ms)
4750
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:31:05 -0400
4751
+ Served asset /mdmagick/style.css - 200 OK (0ms)
4752
+ Started GET "/assets/icomoon.eot" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4753
+ Served asset /icomoon.eot - 200 OK (10ms)
4754
+ Started GET "/assets/icomoon.ttf" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4755
+ Served asset /icomoon.ttf - 200 OK (11ms)
4756
+ Started GET "/assets/icomoon.woff" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4757
+ Served asset /icomoon.woff - 200 OK (34ms)
4758
+ Started GET "/assets/icomoon.svg" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4759
+ Served asset /icomoon.svg - 200 OK (9ms)
4760
+ Started GET "/assets/mdmagick/a-tools.js" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4761
+ Compiled mdmagick/a-tools.js (1ms) (pid 4661)
4762
+ Served asset /mdmagick/a-tools.js - 200 OK (16ms)
4763
+ Started GET "/assets/mdmagick/showdown.js" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4764
+ Compiled mdmagick/showdown.js (1ms) (pid 4661)
4765
+ Served asset /mdmagick/showdown.js - 200 OK (17ms)
4766
+ Started GET "/assets/mdmagick.js" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4767
+ Compiled mdmagick.js (7ms) (pid 4661)
4768
+ Served asset /mdmagick.js - 200 OK (47ms)
4769
+ Started GET "/assets/mdmagick.js" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4770
+ Served asset /mdmagick.js - 200 OK (0ms)
4771
+ Started GET "/assets/mdmagick/a-tools.js" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4772
+ Served asset /mdmagick/a-tools.js - 200 OK (0ms)
4773
+ Started GET "/assets/mdmagick/showdown.js" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4774
+ Served asset /mdmagick/showdown.js - 200 OK (0ms)
4775
+ Started GET "/assets/mdmagick/lte-ie7.js" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4776
+ Compiled mdmagick/lte-ie7.js (0ms) (pid 4661)
4777
+ Served asset /mdmagick/lte-ie7.js - 200 OK (12ms)
4778
+ Started GET "/assets/mdmagick.css" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4779
+ Compiled mdmagick/style.css (2ms) (pid 4661)
4780
+ Compiled mdmagick.css (11ms) (pid 4661)
4781
+ Served asset /mdmagick.css - 200 OK (25ms)
4782
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4783
+ Served asset /mdmagick/style.css - 200 OK (7ms)
4784
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:35:15 -0400
4785
+ Served asset /mdmagick/style.css - 200 OK (0ms)
4786
+ Started GET "/assets/icomoon.eot" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4787
+ Served asset /icomoon.eot - 200 OK (7ms)
4788
+ Started GET "/assets/icomoon.ttf" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4789
+ Served asset /icomoon.ttf - 200 OK (7ms)
4790
+ Started GET "/assets/icomoon.woff" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4791
+ Served asset /icomoon.woff - 200 OK (28ms)
4792
+ Started GET "/assets/icomoon.svg" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4793
+ Served asset /icomoon.svg - 200 OK (7ms)
4794
+ Started GET "/assets/mdmagick.js" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4795
+ Compiled mdmagick/a-tools.js (0ms) (pid 4694)
4796
+ Compiled mdmagick/showdown.js (1ms) (pid 4694)
4797
+ Compiled mdmagick.js (20ms) (pid 4694)
4798
+ Served asset /mdmagick.js - 200 OK (36ms)
4799
+ Started GET "/assets/mdmagick/a-tools.js" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4800
+ Served asset /mdmagick/a-tools.js - 200 OK (11ms)
4801
+ Started GET "/assets/mdmagick/showdown.js" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4802
+ Served asset /mdmagick/showdown.js - 200 OK (36ms)
4803
+ Started GET "/assets/mdmagick/lte-ie7.js" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4804
+ Compiled mdmagick/lte-ie7.js (0ms) (pid 4694)
4805
+ Served asset /mdmagick/lte-ie7.js - 200 OK (15ms)
4806
+ Started GET "/assets/mdmagick.css" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4807
+ Compiled mdmagick/style.css (2ms) (pid 4694)
4808
+ Compiled mdmagick.css (12ms) (pid 4694)
4809
+ Served asset /mdmagick.css - 200 OK (28ms)
4810
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4811
+ Served asset /mdmagick/style.css - 200 OK (8ms)
4812
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:35:45 -0400
4813
+ Served asset /mdmagick/style.css - 200 OK (0ms)
4814
+ Started GET "/assets/icomoon.eot" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4815
+ Served asset /icomoon.eot - 200 OK (8ms)
4816
+ Started GET "/assets/icomoon.ttf" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4817
+ Served asset /icomoon.ttf - 200 OK (8ms)
4818
+ Started GET "/assets/icomoon.woff" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4819
+ Served asset /icomoon.woff - 200 OK (29ms)
4820
+ Started GET "/assets/icomoon.svg" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4821
+ Served asset /icomoon.svg - 200 OK (9ms)
4822
+ Started GET "/assets/mdmagick.js" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4823
+ Compiled mdmagick/a-tools.js (0ms) (pid 4751)
4824
+ Compiled mdmagick/showdown.js (1ms) (pid 4751)
4825
+ Compiled mdmagick.js (19ms) (pid 4751)
4826
+ Served asset /mdmagick.js - 200 OK (37ms)
4827
+ Started GET "/assets/mdmagick/a-tools.js" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4828
+ Served asset /mdmagick/a-tools.js - 200 OK (9ms)
4829
+ Started GET "/assets/mdmagick/showdown.js" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4830
+ Served asset /mdmagick/showdown.js - 200 OK (30ms)
4831
+ Started GET "/assets/mdmagick/lte-ie7.js" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4832
+ Compiled mdmagick/lte-ie7.js (0ms) (pid 4751)
4833
+ Served asset /mdmagick/lte-ie7.js - 200 OK (14ms)
4834
+ Started GET "/assets/mdmagick.css" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4835
+ Compiled mdmagick/style.css (2ms) (pid 4751)
4836
+ Compiled mdmagick.css (11ms) (pid 4751)
4837
+ Served asset /mdmagick.css - 200 OK (24ms)
4838
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4839
+ Served asset /mdmagick/style.css - 200 OK (7ms)
4840
+ Started GET "/assets/mdmagick/style.css" for 127.0.0.1 at 2013-05-18 10:36:35 -0400
4841
+ Served asset /mdmagick/style.css - 200 OK (0ms)
@@ -25,15 +25,6 @@ class MDMagickRailsTest < ActionDispatch::IntegrationTest
25
25
  assert_mdmagick(response)
26
26
  end
27
27
 
28
- test "javascripts" do
29
- get "/assets/mdmagick/a-tools.js"
30
- assert_response :success
31
- get "/assets/mdmagick/showdown.js"
32
- assert_response :success
33
- get "/assets/mdmagick.js"
34
- assert_response :success
35
- end
36
-
37
28
  test "stylesheets contain asset pipeline references to fonts" do
38
29
  get "/assets/mdmagick/style.css"
39
30
  assert_match "/assets/icomoon.eot", response.body
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdmagick-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -49,22 +49,6 @@ dependencies:
49
49
  - - ! '>='
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
- - !ruby/object:Gem::Dependency
53
- name: tzinfo
54
- requirement: !ruby/object:Gem::Requirement
55
- none: false
56
- requirements:
57
- - - ! '>='
58
- - !ruby/object:Gem::Version
59
- version: '0'
60
- type: :development
61
- prerelease: false
62
- version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ! '>='
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
52
  - !ruby/object:Gem::Dependency
69
53
  name: sass-rails
70
54
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +66,7 @@ dependencies:
82
66
  - !ruby/object:Gem::Version
83
67
  version: '0'
84
68
  - !ruby/object:Gem::Dependency
85
- name: pry
69
+ name: tzinfo
86
70
  requirement: !ruby/object:Gem::Requirement
87
71
  none: false
88
72
  requirements:
@@ -121,6 +105,7 @@ files:
121
105
  - LICENSE
122
106
  - Rakefile
123
107
  - README.md
108
+ - test/dummy/app/assets/javascripts/application.js
124
109
  - test/dummy/app/assets/stylesheets/sass-import.css.sass
125
110
  - test/dummy/app/assets/stylesheets/scss-import.css.scss
126
111
  - test/dummy/app/assets/stylesheets/sprockets-require.css
@@ -133,7 +118,7 @@ files:
133
118
  - test/dummy/log/test.log
134
119
  - test/mdmagick_rails_test.rb
135
120
  - test/test_helper.rb
136
- homepage: https://github.com/seankay/mdmagic-rails
121
+ homepage: https://github.com/seankay/mdmagick-rails
137
122
  licenses:
138
123
  - MIT
139
124
  post_install_message:
@@ -159,6 +144,7 @@ signing_key:
159
144
  specification_version: 3
160
145
  summary: Gemified MDMagic
161
146
  test_files:
147
+ - test/dummy/app/assets/javascripts/application.js
162
148
  - test/dummy/app/assets/stylesheets/sass-import.css.sass
163
149
  - test/dummy/app/assets/stylesheets/scss-import.css.scss
164
150
  - test/dummy/app/assets/stylesheets/sprockets-require.css