mustdown 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e80d6f69a115672a8062b2f4e86a588900f9a3a
4
- data.tar.gz: 5b5d64d7de245c1b942358cf369321a4324c7228
3
+ metadata.gz: e7837652ed3128338afcbbd2592702ab2a0bbdc9
4
+ data.tar.gz: fcb27e358cbcaf464c8facacbd826502410c5cd6
5
5
  SHA512:
6
- metadata.gz: ee83d0d7e5dd0cd89d9b311897938052be51fdf88428ea7ce0894c3e88b1ab6a7793e91b084b834c8a72d44a125d578ef518cad8a11d3a4896df97832bce782e
7
- data.tar.gz: f3ae8ba2e41e692a08b4b9d680725bc82202b582ac8c1ed06124fe5ac5ad03507ba98926624aef13489f2f4667879cee0a3b82aa8671effe434c31eee8d2415a
6
+ metadata.gz: b907e308ddda049cf36478ef482537369f1000704ed4c97bcabd0efafeb6e70e4fa87e60b1afe7d2e15b78e529117f3d76ca23617ccdcfed52c90d02e8d85e69
7
+ data.tar.gz: 309858da1330ec83b5739f0be51ca7b87f4aa80392d88e93c1e80f97895784c8031986eadfa09e22f75c3561d91f053ef583f54650a4f20e6c8217ada83ef9d1
data/Rakefile CHANGED
@@ -1,9 +1,36 @@
1
- #!/usr/bin/env rake
2
- begin
3
- require 'bundler/setup'
4
- rescue LoadError
5
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ #
5
+ # Bundler related tasks
6
+ #
7
+
8
+ require 'bundler/gem_tasks'
9
+
10
+ #
11
+ # RSpec related tasks
12
+ #
13
+
14
+ require 'rspec/core/rake_task'
15
+
16
+ RSpec::Core::RakeTask.new(:spec)
17
+
18
+ default_task = :spec
19
+
20
+ #
21
+ # Appraisal related tasks
22
+ #
23
+
24
+ require 'appraisal'
25
+
26
+ unless ENV['APPRAISAL_INITIALIZED'] || ENV['TRAVIS']
27
+ default_task = :appraisal
6
28
  end
29
+
30
+ #
31
+ # RDOC related tasks
32
+ #
33
+
7
34
  begin
8
35
  require 'rdoc/task'
9
36
  rescue LoadError
@@ -20,10 +47,8 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
47
  rdoc.rdoc_files.include('lib/**/*.rb')
21
48
  end
22
49
 
23
- require 'rspec/core/rake_task'
24
-
25
- RSpec::Core::RakeTask.new(:spec)
26
-
27
- task :default => :spec
50
+ #
51
+ # Default task
52
+ #
28
53
 
29
- Bundler::GemHelper.install_tasks
54
+ task default: default_task
@@ -8,7 +8,7 @@ module Mustdown
8
8
  # Register MustdownHelper as a Rails helper
9
9
  initializer 'mustdown.action_controller' do |app|
10
10
  ActiveSupport.on_load :action_controller do
11
- helper Mustdown::MustdownHelper
11
+ ::ActionController::Base.include Mustdown::MustdownHelper
12
12
  end
13
13
  end
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module Mustdown
2
- VERSION = '1.0.0'
2
+ VERSION = '2.0.0'
3
3
  end
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mustdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon COURTOIS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-15 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rails
14
+ name: redcarpet
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.1
19
+ version: '3.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.1.1
26
+ version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: redcarpet
28
+ name: handlebars
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.2'
33
+ version: '0.7'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.2'
40
+ version: '0.7'
41
41
  - !ruby/object:Gem::Dependency
42
- name: handlebars
42
+ name: appraisal
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.7'
48
- type: :runtime
47
+ version: '2.1'
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.7'
54
+ version: '2.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: capybara
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.12'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: coveralls
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -67,33 +81,103 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0.8'
69
83
  - !ruby/object:Gem::Dependency
70
- name: sqlite3
84
+ name: guard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.14'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.14'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '4.7'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '4.7'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '12.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '12.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rb-fchange
71
127
  requirement: !ruby/object:Gem::Requirement
72
128
  requirements:
73
- - - ">="
129
+ - - "~>"
74
130
  - !ruby/object:Gem::Version
75
- version: '0'
131
+ version: 0.0.6
76
132
  type: :development
77
133
  prerelease: false
78
134
  version_requirements: !ruby/object:Gem::Requirement
79
135
  requirements:
80
- - - ">="
136
+ - - "~>"
81
137
  - !ruby/object:Gem::Version
82
- version: '0'
138
+ version: 0.0.6
139
+ - !ruby/object:Gem::Dependency
140
+ name: rb-fsevent
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.9'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.9'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rb-inotify
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.9'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '0.9'
83
167
  - !ruby/object:Gem::Dependency
84
168
  name: rspec-rails
85
169
  requirement: !ruby/object:Gem::Requirement
86
170
  requirements:
87
- - - ">="
171
+ - - "~>"
88
172
  - !ruby/object:Gem::Version
89
- version: '0'
173
+ version: '3.5'
90
174
  type: :development
91
175
  prerelease: false
92
176
  version_requirements: !ruby/object:Gem::Requirement
93
177
  requirements:
94
- - - ">="
178
+ - - "~>"
95
179
  - !ruby/object:Gem::Version
96
- version: '0'
180
+ version: '3.5'
97
181
  description: Rails helpers to use Markdown and Mustache all together
98
182
  email:
99
183
  - scourtois_github@cubyx.fr
@@ -130,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
214
  version: '0'
131
215
  requirements: []
132
216
  rubyforge_project:
133
- rubygems_version: 2.4.5.1
217
+ rubygems_version: 2.6.8
134
218
  signing_key:
135
219
  specification_version: 4
136
220
  summary: Rails helpers to use Markdown and Mustache all together