regex_data 0.1.1 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 890534c876f4af519fd203bfc3ebfd78932c4f4f
4
- data.tar.gz: 915b4546d3ab941e3d0ae2faeefcf5e515e22168
3
+ metadata.gz: 37a3dd61be49b0cf884923723751a03aea44edcf
4
+ data.tar.gz: 231b9be03e9b51472dde1e624bf249bdd3d0b512
5
5
  SHA512:
6
- metadata.gz: 78446b57d42e203e68b51d9dfdde53f4280dc1bf03da7cf8e0d8e9bd92d2435987337cfae840c4c756746b1c78daf4e0eba9ec7fbd582b3299bca598198dd31d
7
- data.tar.gz: 23dde8af04d1f1087184a5b321f8f7228501e5b8ab6b48daf350cac3a4a1ed67561f174ab1a1fe64d51de3263202a4273c115c98a6195bd2e932ff7c6d806847
6
+ metadata.gz: 57863beb54808ad5ea28d622fb7dffa4f5c6009a13015b739ab739c8faff725ade2809bc672c9459871a51063913fed5327c98a05e1cffe105b1eead83d68657
7
+ data.tar.gz: '097f606920b63afa1546c50baab05a1e59695df66c5c059ad8eea9122b19d3576aae9e2d0d5612fc243c460d5264d28503202d47a9313cf3fcf3d3eac077579b'
data/README.md CHANGED
@@ -32,23 +32,23 @@ Methods:
32
32
  + Remove all empty line: `remove_empty_line`
33
33
  ```
34
34
  str =" aaa aaa aa a a a "
35
- puts Regex::remove_extra_space(str)
35
+ puts RegexData::remove_extra_space(str)
36
36
  #=> aaa aaa aa a a a
37
37
 
38
38
  email = "abc-def@insta.com"
39
- puts Regex::email?(email)
39
+ puts RegexData::email?(email)
40
40
  #=> true
41
41
 
42
42
  html = "<span>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</span>"
43
- puts Regex::remove_html_tag(html)
43
+ puts RegexData::remove_html_tag(html)
44
44
  #=> Lorem Ipsum is simply dummy text of the printing and typesetting industry.
45
45
 
46
46
  date = "21.12.1995"
47
- puts Regex::date?(date)
47
+ puts RegexData::date?(date)
48
48
  #=> true
49
49
 
50
50
  str = "Lorem Ipsum is simply dummy text of the printing and typesetting industry"
51
- puts Regex::ban_word( str, "is", "text", "and")
51
+ puts RegexData::ban_word( str, "is", "text", "and")
52
52
  #=> Lorem Ipsum **** simply dummy **** of the printing **** typesetting industry
53
53
 
54
54
  ```
@@ -1,22 +1,22 @@
1
- # require "regex_data"
1
+ require "regex_data"
2
2
 
3
- # class FilterkData
4
- # def check
5
- # str = " asd as asd asd asd as d asd "
6
- # puts Regex::remove_extra_space(str)
3
+ class FilterkData
4
+ def check
5
+ str = " asd as asd asd asd as d asd "
6
+ puts RegexData::remove_extra_space(str)
7
7
 
8
- # email = "abc-def@insta.com"
9
- # puts Regex::email?(email)
8
+ email = "abc-def@insta.com"
9
+ puts RegexData::email?(email)
10
10
 
11
- # html = "<span>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</span>"
12
- # puts Regex::remove_html_tag(html)
11
+ html = "<span>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</span>"
12
+ puts RegexData::remove_html_tag(html)
13
13
 
14
- # date = "21.12.1995"
15
- # puts Regex::date?(date)
14
+ date = "21.12.1995"
15
+ puts RegexData::date?(date)
16
16
 
17
- # str = "Lorem Ipsum is simply dummy text of the printing and typesetting industry"
18
- # puts Regex::ban_word( str, "is", "text", "and")
19
- # end
20
- # end
17
+ str = "Lorem Ipsum is simply dummy text of the printing and typesetting industry"
18
+ puts RegexData::ban_word( str, "is", "text", "and")
19
+ end
20
+ end
21
21
 
22
- # FilterkData.new.check
22
+ FilterkData.new.check
@@ -1,3 +1,3 @@
1
1
  module RegexData
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
Binary file
Binary file
data/regex_data.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Filter data or check format data}
13
13
  spec.description = %q{Filter and check format data}
14
- spec.homepage = "https://github.com/at-hoangnguyen3/Regex"
14
+ spec.homepage = "https://github.com/at-hoangnguyen3/Regex_Data"
15
15
  spec.license = "MIT"
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regex_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - at-hoangnguyen3
@@ -57,8 +57,10 @@ files:
57
57
  - lib/regex_data/test.rb
58
58
  - lib/regex_data/version.rb
59
59
  - regex_data-0.1.0.gem
60
+ - regex_data-0.1.1.gem
61
+ - regex_data-0.1.2.gem
60
62
  - regex_data.gemspec
61
- homepage: https://github.com/at-hoangnguyen3/Regex
63
+ homepage: https://github.com/at-hoangnguyen3/Regex_Data
62
64
  licenses:
63
65
  - MIT
64
66
  metadata: {}