sterile 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b0b5683d7e6b1288d13ae6d324cae8b88899ac0e
4
+ data.tar.gz: 971ee96c2c6cec81e82c044cba65bb12569880d8
5
+ SHA512:
6
+ metadata.gz: 04607f2fd7a9ed4f433c8aef4f5437fb691c62acfbb67ca42d758d4699b6042c36284efecacf6f8e3f7f648a9d51152107ec2608dbdd265dc3db6928365e3833
7
+ data.tar.gz: ca3ac6882004ad4c9646aab748298a3ec8f77ca5a05770452213242c0b590e7786f84d8eb8ec3624987ccca03f3e72b3758466cdff8a7c1d6a1ab389308c95c3
data/.ruby-gemset ADDED
@@ -0,0 +1,2 @@
1
+ sterile
2
+
data/.ruby-version ADDED
@@ -0,0 +1,2 @@
1
+ 2.3.0
2
+
data/Gemfile CHANGED
@@ -1,10 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
  gemspec
3
3
 
4
- group :test do
5
- gem "minitest"
6
- gem "purdytest"
7
- gem "autotest"
8
- gem "awesome_print"
9
- gem "rake", "0.8.7"
10
- end
data/Gemfile.lock CHANGED
@@ -1,27 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sterile (1.0.3)
4
+ sterile (1.0.4)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
- ZenTest (4.5.0)
10
- autotest (4.4.6)
11
- ZenTest (>= 4.4.1)
12
- awesome_print (0.4.0)
13
- minitest (2.2.2)
14
- purdytest (1.0.0)
15
- minitest (~> 2.2)
16
- rake (0.8.7)
17
9
 
18
10
  PLATFORMS
19
11
  ruby
20
12
 
21
13
  DEPENDENCIES
22
- autotest
23
- awesome_print
24
- minitest
25
- purdytest
26
- rake (= 0.8.7)
27
14
  sterile!
15
+
16
+ BUNDLED WITH
17
+ 1.13.1
data/lib/sterile/tags.rb CHANGED
@@ -55,7 +55,7 @@ module Sterile
55
55
  def gsub_tags(string, &block)
56
56
  raise "No block given" unless block_given?
57
57
 
58
- string.gsub!(/(<[^>]*>)|([^<]+)/) do |match|
58
+ string.gsub(/(<[^>]*>)|([^<]+)/) do |match|
59
59
  $2 ? yield($2) : $1
60
60
  end
61
61
  end
@@ -76,3 +76,4 @@ module Sterile
76
76
  end # class << self
77
77
 
78
78
  end # module Sterile
79
+
@@ -1,5 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module Sterile
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  end
6
+
metadata CHANGED
@@ -1,33 +1,27 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sterile
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.0.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.4
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - Patrick Hogan
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
-
13
- date: 2011-07-05 00:00:00 -05:00
14
- default_executable:
11
+ date: 2016-09-15 00:00:00.000000000 Z
15
12
  dependencies: []
16
-
17
- description: Sterilize your strings! Transliterate, generate slugs, smart format, strip tags, encode/decode entities and more.
18
- email:
13
+ description: Sterilize your strings! Transliterate, generate slugs, smart format,
14
+ strip tags, encode/decode entities and more.
15
+ email:
19
16
  - pbhogan@gmail.com
20
17
  executables: []
21
-
22
18
  extensions: []
23
-
24
19
  extra_rdoc_files: []
25
-
26
- files:
27
- - .autotest
28
- - .gitignore
29
- - .rvmrc
30
- - .yaropts
20
+ files:
21
+ - ".gitignore"
22
+ - ".ruby-gemset"
23
+ - ".ruby-version"
24
+ - ".yaropts"
31
25
  - Gemfile
32
26
  - Gemfile.lock
33
27
  - README.markdown
@@ -45,39 +39,28 @@ files:
45
39
  - lib/sterile/utilities.rb
46
40
  - lib/sterile/version.rb
47
41
  - sterile.gemspec
48
- has_rdoc: true
49
42
  homepage: https://github.com/pbhogan/sterile
50
43
  licenses: []
51
-
44
+ metadata: {}
52
45
  post_install_message:
53
46
  rdoc_options: []
54
-
55
- require_paths:
47
+ require_paths:
56
48
  - lib
57
- required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
49
+ required_ruby_version: !ruby/object:Gem::Requirement
50
+ requirements:
60
51
  - - ">="
61
- - !ruby/object:Gem::Version
62
- hash: -2175326715417753409
63
- segments:
64
- - 0
65
- version: "0"
66
- required_rubygems_version: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
69
56
  - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: -2175326715417753409
72
- segments:
73
- - 0
74
- version: "0"
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
75
59
  requirements: []
76
-
77
60
  rubyforge_project: sterile
78
- rubygems_version: 1.6.2
61
+ rubygems_version: 2.5.1
79
62
  signing_key:
80
- specification_version: 3
81
- summary: Sterilize your strings! Transliterate, generate slugs, smart format, strip tags, encode/decode entities and more.
63
+ specification_version: 4
64
+ summary: Sterilize your strings! Transliterate, generate slugs, smart format, strip
65
+ tags, encode/decode entities and more.
82
66
  test_files: []
83
-
data/.autotest DELETED
@@ -1,5 +0,0 @@
1
- require 'autotest/restart'
2
-
3
- Autotest.add_hook :initialize do |at|
4
- at.testlib = 'sterile'
5
- end
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm 1.9.2@sterile --create