trackler 1.0.1.2 → 1.0.2.0

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: 46eba216917195005f43b257524ef79a75d0fcce
4
- data.tar.gz: bf6317aaf2b8742bd480e33ea4e06bcbce0081f8
3
+ metadata.gz: c4b30eaefbb351c8ef714775008502b2aced63e4
4
+ data.tar.gz: fad7e1fe3f60bf77f8dba2a29943d5883879bdb4
5
5
  SHA512:
6
- metadata.gz: 323e53e441f4c400f84a4d0d0123d57e1c20ecee05c684c2df0788c678dc15cab9f6e32fb661e9bf4908fa3033051350e08eda69063add138f6077c927ca36ff
7
- data.tar.gz: d7f42fc7e36ea22693526fcb80f2507492e59646361786e662e7ed1c02f7cc6cf19b7c3740469cae392e6a5c3ecb285de3edd3ec8e764b104764a9c48ba71217
6
+ metadata.gz: 687e52a28282a639da3ce06437d443cdd820061ed6b3ffc0039af8a81fb792b7f85756b2e722ce89b8e46d9d8aabcbf9258585c37da9941bae95707e8455e8ad
7
+ data.tar.gz: 58f2ce2771cd42963976da5c35c3489575f47b336bf3c7078b31c79063c9a01ee616e3747f4ed6c11a2938a66f904877c2dbb2fbb2009898ea889712858542ae
data/CHANGELOG.md CHANGED
@@ -13,9 +13,13 @@ The changelog will not be updated for content updates.
13
13
  ----------------
14
14
 
15
15
  ## Next Release
16
- * Add script to update submodules and bump version
17
16
  * **Your contribution here**
18
17
 
18
+ ## v1.0.2.0 (2016-10-17)
19
+
20
+ * Add script to update submodules and bump version
21
+ * Invalidate the data caches when switching track data path
22
+
19
23
  ## v1.0.1.0 (2016-10-16)
20
24
 
21
25
  Make the location of the track data configurable so we can use fixture
data/bin/bump-content CHANGED
@@ -21,6 +21,8 @@ end
21
21
 
22
22
  cmds = [
23
23
  "git add lib/trackler/version.rb",
24
+ "git add tracks",
25
+ "git add common",
24
26
  "git commit -m 'Bump to v%s'" % version,
25
27
  "git tag v%s" % version,
26
28
  "git push origin master",
@@ -1,3 +1,3 @@
1
1
  module Trackler
2
- VERSION = "1.0.1.2"
2
+ VERSION = "1.0.2.0"
3
3
  end
data/lib/trackler.rb CHANGED
@@ -2,15 +2,24 @@ paths = Dir[File.expand_path('../trackler/**/*.rb', __FILE__)]
2
2
  paths.each { |path| require path }
3
3
 
4
4
  module Trackler
5
+ def self.reset
6
+ @path = nil
7
+ @implementations = nil
8
+ @problems = nil
9
+ @tracks = nil
10
+ end
11
+
5
12
  def self.path
6
13
  @path ||= Trackler::Path.root
7
14
  end
8
15
 
9
16
  def self.use_real_data
17
+ reset
10
18
  @path = Trackler::Path.root
11
19
  end
12
20
 
13
21
  def self.use_fixture_data
22
+ reset
14
23
  @path = Trackler::Path.fixtures
15
24
  end
16
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.2
4
+ version: 1.0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen