starscope 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,7 +1,15 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- v0.1.8 (trunk)
4
+ v0.1.9 (trunk)
5
+ -------------------
6
+
7
+ Bug Fixes:
8
+ * Work around what appears to be a bug in time comparison in certain Ruby
9
+ version by casting times to ints before comparing them. Fixes cases where
10
+ files were being rescanned even when they hadn't changed.
11
+
12
+ v0.1.8 (2014-02-22)
5
13
  -------------------
6
14
 
7
15
  Bug Fixes:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- starscope (0.1.8)
4
+ starscope (0.1.9)
5
5
  oj (~> 2.5)
6
6
  parser (~> 2.1)
7
7
  ruby-progressbar (~> 1.4)
data/README.md CHANGED
@@ -37,3 +37,9 @@ or
37
37
  ```
38
38
  $ starscope -e cscope
39
39
  ```
40
+
41
+ Other Uses
42
+ ----------
43
+
44
+ StarScope is a supported backend for
45
+ [CodeQuery](https://github.com/ruben2020/codequery).
data/lib/starscope/db.rb CHANGED
@@ -273,7 +273,7 @@ END
273
273
  if not File.exists?(file) or not File.file?(file)
274
274
  remove_file(file)
275
275
  true
276
- elsif DateTime.parse(@files[file]).to_time < File.mtime(file)
276
+ elsif DateTime.parse(@files[file]).to_time.to_i < File.mtime(file).to_i
277
277
  remove_file(file)
278
278
  add_file(file)
279
279
  true
@@ -1,3 +1,3 @@
1
1
  module StarScope
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-22 00:00:00.000000000 Z
12
+ date: 2014-02-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oj
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  segments:
178
178
  - 0
179
- hash: -3125433471722623864
179
+ hash: 3638836367076446031
180
180
  requirements: []
181
181
  rubyforge_project:
182
182
  rubygems_version: 1.8.23