arxiv-references 0.1.7.3 → 0.1.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7dda69be6319db4eea42cb2f38cd3ea68172c074
4
- data.tar.gz: 172e16f5e8cc24b8e2f6c2aa200098b65d129a18
3
+ metadata.gz: 1565bf69f1cd06eb52a452b3e4f518b8c80962e3
4
+ data.tar.gz: a7ee2b0cc1ce970bc3837f7a637baa64aa381bc1
5
5
  SHA512:
6
- metadata.gz: 0999d69f40230a792b620997819836429975cd95687c880d26454c014017d22a43c574c5dc3819cdc6c810bf9482f0de5b8a5c9767e518e066a4d9bfb3b602b9
7
- data.tar.gz: 33001b173cc8b0879c286ae275d1e9d67229d33df8568e942c04c3285a8094fc2b8bb829d9557e0a9cefba86ab12c84a94a73a3112faf1ac9afb82466a3a92d2
6
+ metadata.gz: 0d3edf4f92b6ce080a4c2b2240765c965e6e2f2344f2864469934ef5663799e42750a2c5d75117f58a6e8a7d025378064bb2a19ed715ff4195e880b6baf4f059
7
+ data.tar.gz: 98600b69e73d4e6a850b5cdcd1b9ea2804d3a6c4fd9e5df5cfffd12c2cb9f5ec3b07404b72a1f08d4ec67ab4079548ab97fba31cbd334c09cbfa88979e19419e
@@ -85,10 +85,14 @@ class P3
85
85
  map{|i|
86
86
  i.text.gsub(/\n\n+/,"\n").gsub(/ +/,' ').gsub(/-\n +/,'')
87
87
  }
88
+
88
89
  ref_page.shift
89
- ref_page.
90
+
91
+ ref_page = ref_page.
90
92
  join(' ').
91
- gsub(REFERENCE_REGEXP,"\n\\1").
93
+ gsub(REFERENCE_REGEXP,"\n\\1")
94
+
95
+ ref_page = ref_page.
92
96
  split(/\n *\n/).
93
97
  map{|i| i.gsub("\n",'')}.
94
98
  select{|i| i.length > 15}
@@ -1,5 +1,5 @@
1
1
  module Arxiv
2
2
  module References
3
- VERSION = "0.1.7.3"
3
+ VERSION = "0.1.7.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arxiv-references
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7.3
4
+ version: 0.1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Nishimura