regxlib 0.1.4 → 0.1.5

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: 3d7ca0535703135cb3758bd0bc6b65d5aedbc999
4
- data.tar.gz: b53d64090de584955fcf327f0d89471a1d10926e
3
+ metadata.gz: 96e05ebaa94e8b83c3cfd82ba2cb7dcecd90a1e6
4
+ data.tar.gz: 117470dea62c599170d67f33e47e912aaabbe56c
5
5
  SHA512:
6
- metadata.gz: 7280b86b8ed8227c6b99df2d689c17eed389d72de964240a1080778409d154dc81a8499731e10b612fa4cbe752b7d729f7c2f1f0f16b20946f737202b6e2599e
7
- data.tar.gz: 703f09acb37e477d5a667d3176646ac27aa057e62ada6422b7ffab35a53989ba8c4398db5e522c4558e5462a88c262ebde4119338d15b1e9810e4b63505cefea
6
+ metadata.gz: d2cc420c8f5d56f9d8ff7c2a390c8ab19fc1196d8a96e7d2fa7b85c0ca8e9967d3e724d36d152c9e7f9056c7c0ea48ae4794ef83642d455e247bd1dc2b85c04b
7
+ data.tar.gz: 64d3dd542382ab16b9713b4b59742501497538461ebf91151b79c15a5df2714568807adac2479425edcebdce7e4125fd312b9a24a04762f628855a470b8311b0
data/Gemfile.lock CHANGED
@@ -1,35 +1,35 @@
1
- PATH
2
- remote: .
3
- specs:
4
- regxlib (0.1.1)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- diff-lcs (1.3)
10
- rake (10.5.0)
11
- rspec (3.8.0)
12
- rspec-core (~> 3.8.0)
13
- rspec-expectations (~> 3.8.0)
14
- rspec-mocks (~> 3.8.0)
15
- rspec-core (3.8.0)
16
- rspec-support (~> 3.8.0)
17
- rspec-expectations (3.8.2)
18
- diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.8.0)
20
- rspec-mocks (3.8.0)
21
- diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.8.0)
23
- rspec-support (3.8.0)
24
-
25
- PLATFORMS
26
- x86-mingw32
27
-
28
- DEPENDENCIES
29
- bundler (~> 2.0)
30
- rake (~> 10.0)
31
- regxlib!
32
- rspec (~> 3.0)
33
-
34
- BUNDLED WITH
35
- 2.0.1
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ regxlib (0.1.5)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.5.0)
11
+ rspec (3.8.0)
12
+ rspec-core (~> 3.8.0)
13
+ rspec-expectations (~> 3.8.0)
14
+ rspec-mocks (~> 3.8.0)
15
+ rspec-core (3.8.0)
16
+ rspec-support (~> 3.8.0)
17
+ rspec-expectations (3.8.2)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.8.0)
20
+ rspec-mocks (3.8.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-support (3.8.0)
24
+
25
+ PLATFORMS
26
+ x86-mingw32
27
+
28
+ DEPENDENCIES
29
+ bundler (~> 2.0)
30
+ rake (~> 10.0)
31
+ regxlib!
32
+ rspec (~> 3.0)
33
+
34
+ BUNDLED WITH
35
+ 2.0.1
data/README.md CHANGED
@@ -26,8 +26,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
26
26
  * [Regxlib::Email.edu](/docs/regex_library/email/regxlib_email_edu.md)
27
27
  * [Regxlib::Email.co_uk_com](/docs/regex_library/email/regxlib_email_co_uk_com.md)
28
28
  * [Regxlib::Email.com](/docs/regex_library/email/regxlib_email_com.md)
29
- * [Regxlib::Email.co_uk](/docs/regex_library/email/regxlib_email_co_uk.md)
30
-
31
- ### String
32
- * [Regxlib::String.char_nospace](/docs/regex_library/string/regxlib_string_char_nospace.md)
33
- * [Regxlib::String.num_nospace](/docs/regex_library/string/regxlib_string_num_nospace.md)
29
+ * [Regxlib::Email.co_uk](/docs/regex_library/email/regxlib_email_co_uk.md)
data/lib/regxlib.rb CHANGED
@@ -66,18 +66,4 @@ module Regxlib
66
66
  end
67
67
  # [END] Regxlib::Email ##############
68
68
 
69
- # [START] Regxlib::String ##############
70
-
71
- # Regxlib::String.char_nospace
72
- def self.char_nospace
73
- /\A[a-zA-Z]+\z/i
74
- end
75
-
76
- # Regxlib::String.num_nospace
77
- def self.num_nospace
78
- /\A[0123456789]+\z/i
79
- end
80
-
81
- # [END] Regxlib::String ##############
82
-
83
69
  end
@@ -1,3 +1,3 @@
1
1
  module Regxlib
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regxlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Speight
@@ -75,8 +75,6 @@ files:
75
75
  - docs/regex_library/email/regxlib_email_edu.md
76
76
  - docs/regex_library/email/regxlib_email_org.md
77
77
  - docs/regex_library/email/regxlib_email_standard.md
78
- - docs/regex_library/string/regxlib_string_char_nospace.md
79
- - docs/regex_library/string/regxlib_string_num_nospace.md
80
78
  - docs/regex_library/username/regxlib_username_standard.md
81
79
  - docs/regex_library/username/regxlib_username_standard_nonum.md
82
80
  - docs/regex_library/username/regxlib_username_strict.md
@@ -1,13 +0,0 @@
1
- ## Regxlib::String.char_nospace
2
-
3
- Regular expression to check for a string of characters (a-z) with no spaces.
4
-
5
- Regex Pattern: /\A[a-zA-Z]+\z/i
6
-
7
- | Example | Result |
8
- |-|-|
9
- | example | Pass |
10
- | Example | Pass |
11
- | example two | Fail |
12
- | example3 | Fail |
13
- | example_ | Fail |
@@ -1,12 +0,0 @@
1
- ## Regxlib::String.num_nospace
2
-
3
- Regular expression to check for a string of numbers with no spaces.
4
-
5
- Regex Pattern: /\A[0123456789]+\z/i
6
-
7
- | Example | Result |
8
- |-|-|
9
- | 123 | Pass |
10
- | 234 567 | Fail |
11
- | example3 | Fail |
12
- | 1122_33 | Fail |