gdocs_features 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +5 -0
- data/VERSION +1 -1
- data/gdocs_features.gemspec +2 -1
- data/lib/google_feature.rb +4 -2
- data/pkg/gdocs_features-0.2.0.gem +0 -0
- metadata +3 -2
data/README
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/gdocs_features.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{gdocs_features}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Josh Chisholm"]
|
@@ -42,6 +42,7 @@ Gem::Specification.new do |s|
|
|
42
42
|
"lib/remote_features/cli/main.rb",
|
43
43
|
"lib/remote_features/dialogue.rb",
|
44
44
|
"pkg/gdocs_features-0.1.0.gem",
|
45
|
+
"pkg/gdocs_features-0.2.0.gem",
|
45
46
|
"spec/cli_spec.rb",
|
46
47
|
"spec/dialogue_spec.rb",
|
47
48
|
"spec/feature_diff_spec.rb",
|
data/lib/google_feature.rb
CHANGED
@@ -32,8 +32,10 @@ class GoogleFeature < Feature
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def remove_html(html_body)
|
35
|
-
text = Nokogiri::HTML(html_body).at('body').
|
36
|
-
text.gsub("
|
35
|
+
text = Nokogiri::HTML(html_body).at('body').inner_text
|
36
|
+
text.gsub!("\xc2\xa0", "")
|
37
|
+
text.gsub!("\n{2,}", "\n")
|
38
|
+
text
|
37
39
|
end
|
38
40
|
|
39
41
|
def underscore(camel_cased_word)
|
Binary file
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 3
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.3.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Josh Chisholm
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- lib/remote_features/cli/main.rb
|
52
52
|
- lib/remote_features/dialogue.rb
|
53
53
|
- pkg/gdocs_features-0.1.0.gem
|
54
|
+
- pkg/gdocs_features-0.2.0.gem
|
54
55
|
- spec/cli_spec.rb
|
55
56
|
- spec/dialogue_spec.rb
|
56
57
|
- spec/feature_diff_spec.rb
|