acts_as_markup 2.0.0 → 2.0.1

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: 778ad84d7bb69f670dae7fca6c26bb7f46a0ec3d
4
- data.tar.gz: b2a753f8d6421580971b70c28071862e2a9a6339
3
+ metadata.gz: a6c12e166ecd865f98ae4537382a9d84fb95435d
4
+ data.tar.gz: cab43c70c36231d85e515bc18404be9618951349
5
5
  SHA512:
6
- metadata.gz: 421b23a4b776e76dae4fc1f7a979893480af6e4dbfb70db7b9944798291e5ff514f49bec3239c7b6fe5dbee4a6194e08806360c2a75358721414087496dae80a
7
- data.tar.gz: ddc8fd7c6724d5bb5135f133cf5e327a7c89bac102cab6875c9e0aafd3111f4c93c5569621094780eb1c14c8a7751cb9924caa3382dd0f67bfc42f1cb02d82bd
6
+ metadata.gz: 48e1037dfc0d433f8744208a003470ec9e40eb75c8ca5e5e85d85ebc37b190ec2f04a69ef32ff450ec0b2bb9e2644091252f1d826d4e69a0c5457ab3eef447e9
7
+ data.tar.gz: b76022b380e4608b2c1e0d5be3518eea8186a7e3232f4c1197e018a40b4e45b0506d04ee66877dafe746ce522b991f730241873b3f9868e83139fcb53db7ee17
@@ -0,0 +1,3 @@
1
+ unless String.public_method_defined?(:to_html)
2
+ String.send :alias_method, :to_html, :to_s
3
+ end
@@ -10,7 +10,7 @@ module ActsAsMarkup
10
10
 
11
11
  initializer 'acts_as_markup.extend_active_record', :after => 'acts_as_markup.set_config' do |app|
12
12
  ActiveSupport.on_load(:active_record) do
13
- require 'acts_as_markup/exts/object'
13
+ require 'acts_as_markup/exts/string'
14
14
  require 'acts_as_markup/stringlike'
15
15
  require 'acts_as_markup/active_record_extension'
16
16
  self.send :include, ActsAsMarkup::ActiveRecordExtension
@@ -1,3 +1,3 @@
1
1
  module ActsAsMarkup
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
@@ -13,7 +13,7 @@ if ActiveSupport::VERSION::MAJOR >= 4
13
13
  else
14
14
  require 'test/unit'
15
15
  end
16
- gem 'sqlite3-ruby'
16
+ gem 'sqlite3'
17
17
  require 'shoulda'
18
18
  require 'active_support'
19
19
  require 'active_support/test_case'
@@ -22,7 +22,7 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
22
22
  $LOAD_PATH.unshift(File.dirname(__FILE__))
23
23
 
24
24
  require 'acts_as_markup'
25
- require 'acts_as_markup/exts/object'
25
+ require 'acts_as_markup/exts/string'
26
26
  require 'acts_as_markup/stringlike'
27
27
  require 'acts_as_markup/active_record_extension'
28
28
  require 'active_record'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_markup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Landau
@@ -29,7 +29,7 @@ cert_chain:
29
29
  QHjym4e4y/FmXBJjpO/TtRoYd8a5YTCaOsML7M/nb/XrArvE3l5JaNEXkhH/nGs7
30
30
  wR9huisTMlESX3ReGKU=
31
31
  -----END CERTIFICATE-----
32
- date: 2014-09-03 00:00:00.000000000 Z
32
+ date: 2014-09-05 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: activesupport
@@ -88,7 +88,7 @@ dependencies:
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  - !ruby/object:Gem::Dependency
91
- name: sqlite3-ruby
91
+ name: sqlite3
92
92
  requirement: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
@@ -161,16 +161,16 @@ dependencies:
161
161
  name: rdoc
162
162
  requirement: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ">="
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: '4.0'
167
167
  type: :development
168
168
  prerelease: false
169
169
  version_requirements: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ">="
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: '4.0'
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: bluecloth
176
176
  requirement: !ruby/object:Gem::Requirement
@@ -245,11 +245,11 @@ files:
245
245
  - lib/acts_as_markup/active_record_extension.rb
246
246
  - lib/acts_as_markup/exts/bluecloth.rb
247
247
  - lib/acts_as_markup/exts/maruku.rb
248
- - lib/acts_as_markup/exts/object.rb
249
248
  - lib/acts_as_markup/exts/peg_markdown.rb
250
249
  - lib/acts_as_markup/exts/rdiscount.rb
251
250
  - lib/acts_as_markup/exts/rdoc.rb
252
251
  - lib/acts_as_markup/exts/redcarpet.rb
252
+ - lib/acts_as_markup/exts/string.rb
253
253
  - lib/acts_as_markup/railtie.rb
254
254
  - lib/acts_as_markup/stringlike.rb
255
255
  - lib/acts_as_markup/version.rb
@@ -278,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
278
278
  version: '0'
279
279
  requirements: []
280
280
  rubyforge_project:
281
- rubygems_version: 2.2.0
281
+ rubygems_version: 2.2.2
282
282
  signing_key:
283
283
  specification_version: 4
284
284
  summary: Represent ActiveRecord Markdown, Textile, RDoc columns as Markdown, Textile,
@@ -1 +0,0 @@
1
- Object.send :alias_method, :to_html, :to_s