technicalpickles-has_markup 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ :minor: 1
3
+ :patch: 2
4
+ :major: 0
@@ -29,7 +29,7 @@ module HasMarkup
29
29
  begin
30
30
  record.generate_html_from_markdown(value)
31
31
  rescue BlueCloth::FormatError => e
32
- errors.add column, "has #{e}"
32
+ record.errors.add column, "has #{e}"
33
33
  end
34
34
  end
35
35
  end
@@ -29,7 +29,7 @@ module HasMarkup
29
29
  begin
30
30
  record.generate_html_from_markdown(value)
31
31
  rescue e
32
- errors.add column, "has #{e}"
32
+ record.errors.add column, "has #{e}"
33
33
  end
34
34
  end
35
35
  end
@@ -0,0 +1 @@
1
+ require 'has_markup/shoulda'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: technicalpickles-has_markup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Nichols
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-13 00:00:00 -07:00
12
+ date: 2009-01-21 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,6 +22,7 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
+ - VERSION.yml
25
26
  - lib/has_markup
26
27
  - lib/has_markup/active_record.rb
27
28
  - lib/has_markup/markdown.rb
@@ -36,11 +37,13 @@ files:
36
37
  - test/schema.rb
37
38
  - test/test.log
38
39
  - test/test_helper.rb
39
- has_rdoc: false
40
+ - shoulda_macros/has_markup_macros.rb
41
+ has_rdoc: true
40
42
  homepage: http://github.com/technicalpickles/has_markup
41
43
  post_install_message:
42
- rdoc_options: []
43
-
44
+ rdoc_options:
45
+ - --inline-source
46
+ - --charset=UTF-8
44
47
  require_paths:
45
48
  - lib
46
49
  required_ruby_version: !ruby/object:Gem::Requirement