shortcodes 0.0.2 → 0.0.3

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: d8f82b3f07bc8293d42800d6f2f476810aa10d44
4
+ data.tar.gz: 49688b4b0501a90fca1f0c270d19eafd092e1b25
5
+ SHA512:
6
+ metadata.gz: 7b4de3826b7eaa68bff95453a3c243faff5e74d138243e75e70f81a38a6caeb6dd601dfb1673e0202e84b8dac8fb38f3e87494832dcfda6f558a05bf0efbe5d2
7
+ data.tar.gz: 8beac9f1b0e6bc2f6225eeb581a721ccda606403c11a00d117de9a9501becbcf3c3196f2946ae9419fbfc670def62ee2600697a242f6dd24c5282e363888eab8
@@ -1,3 +1,3 @@
1
1
  module Shortcodes
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -9,7 +9,7 @@ module Shortcodes
9
9
  end
10
10
 
11
11
  def youtube_id
12
- match = url.match(/(v=|youtu.be\/)(\w+)/)
12
+ match = url.match(/(v=|youtu.be\/)([a-zA-Z0-9_-]{11}+)/)
13
13
 
14
14
  match ? match[2] : nil
15
15
  end
metadata CHANGED
@@ -1,68 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shortcodes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Amiel Martin
8
+ - Nathan Carnes
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-14 00:00:00.000000000 Z
12
+ date: 2013-08-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
16
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
17
  requirements:
19
- - - ! '>='
18
+ - - '>='
20
19
  - !ruby/object:Gem::Version
21
20
  version: '0'
22
21
  type: :runtime
23
22
  prerelease: false
24
23
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
- - - ! '>='
25
+ - - '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: '0'
30
28
  - !ruby/object:Gem::Dependency
31
29
  name: sanitize
32
30
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
31
  requirements:
35
- - - ! '>='
32
+ - - '>='
36
33
  - !ruby/object:Gem::Version
37
34
  version: '0'
38
35
  type: :runtime
39
36
  prerelease: false
40
37
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
38
  requirements:
43
- - - ! '>='
39
+ - - '>='
44
40
  - !ruby/object:Gem::Version
45
41
  version: '0'
46
42
  - !ruby/object:Gem::Dependency
47
43
  name: activesupport
48
44
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
45
  requirements:
51
- - - ! '>='
46
+ - - '>='
52
47
  - !ruby/object:Gem::Version
53
48
  version: '0'
54
49
  type: :runtime
55
50
  prerelease: false
56
51
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
52
  requirements:
59
- - - ! '>='
53
+ - - '>='
60
54
  - !ruby/object:Gem::Version
61
55
  version: '0'
62
56
  - !ruby/object:Gem::Dependency
63
57
  name: bundler
64
58
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
59
  requirements:
67
60
  - - ~>
68
61
  - !ruby/object:Gem::Version
@@ -70,7 +63,6 @@ dependencies:
70
63
  type: :development
71
64
  prerelease: false
72
65
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
66
  requirements:
75
67
  - - ~>
76
68
  - !ruby/object:Gem::Version
@@ -78,22 +70,21 @@ dependencies:
78
70
  - !ruby/object:Gem::Dependency
79
71
  name: rake
80
72
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
73
  requirements:
83
- - - ! '>='
74
+ - - '>='
84
75
  - !ruby/object:Gem::Version
85
76
  version: '0'
86
77
  type: :development
87
78
  prerelease: false
88
79
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
80
  requirements:
91
- - - ! '>='
81
+ - - '>='
92
82
  - !ruby/object:Gem::Version
93
83
  version: '0'
94
84
  description: Wordpress style shortcodes for your Ruby CMS
95
85
  email:
96
86
  - amiel@carnesmedia.com
87
+ - nathan@carnesmedia.com
97
88
  executables: []
98
89
  extensions: []
99
90
  extra_rdoc_files: []
@@ -111,34 +102,26 @@ files:
111
102
  homepage: https://github.com/carnesmedia/shortcodes
112
103
  licenses:
113
104
  - MIT
105
+ metadata: {}
114
106
  post_install_message:
115
107
  rdoc_options: []
116
108
  require_paths:
117
109
  - lib
118
110
  required_ruby_version: !ruby/object:Gem::Requirement
119
- none: false
120
111
  requirements:
121
- - - ! '>='
112
+ - - '>='
122
113
  - !ruby/object:Gem::Version
123
114
  version: '0'
124
- segments:
125
- - 0
126
- hash: -1395089944212936832
127
115
  required_rubygems_version: !ruby/object:Gem::Requirement
128
- none: false
129
116
  requirements:
130
- - - ! '>='
117
+ - - '>='
131
118
  - !ruby/object:Gem::Version
132
119
  version: '0'
133
- segments:
134
- - 0
135
- hash: -1395089944212936832
136
120
  requirements: []
137
121
  rubyforge_project:
138
- rubygems_version: 1.8.25
122
+ rubygems_version: 2.0.3
139
123
  signing_key:
140
- specification_version: 3
124
+ specification_version: 4
141
125
  summary: Shortcodes is a simple ruby gem that will parse your cms content for wordpress
142
126
  style shortcodes.
143
127
  test_files: []
144
- has_rdoc: