get_to_work 0.1.2 → 0.1.3

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: 99db98a21f49f1746d65a6a247c7e36493b06e17
4
- data.tar.gz: 50c64d83496558636bc06bfe78c94f92620accdf
3
+ metadata.gz: f48bdb980db982f5c03ed85afab74e86abf271f0
4
+ data.tar.gz: ac08fa78d3a10e8335a753d9a2115760f2463744
5
5
  SHA512:
6
- metadata.gz: e0577c64c70c83fe6a8e54b7b1874c11f59f972d686bc88fb5fe07ceddcac16aad42464f54d322d6b4a21e4931573c341974cf8ebcfda3d0f7fd18adb6452c54
7
- data.tar.gz: e14692a6e1efe9287a15004688399c66eb5877dcc7517ed2d8a2be9c29ea0e2f7172c3acfa3a8903566da30ced26389a2f66494ad188d1b50e9cda32410f9a24
6
+ metadata.gz: 4b9941abbebcae34d7ecd5112e252a646689c87f2a3eeb3633f5c67390e96b50bcc636bbbaf824fd9afef56eae93d880428f8ee114d79a4b98c777c356c876b7
7
+ data.tar.gz: c3c0dc25b632ffbdde44c449b8d6f22cb5169f0828656ed6c6fd74a47fe849c927bab5e074a3fe414a9e661f7bf3a4533d6de16f77335626f22c617ef16d772d
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  .get-to-work
11
+ .rake_tasks
@@ -2,8 +2,9 @@ module GetToWork
2
2
  class Command
3
3
  class LastStory < GetToWork::Command
4
4
  def run
5
- pt_data = config_file.data["pivotal_tracker"]
6
- last_story_id = pt_data && pt_data["project_id"]
5
+ last_story_hash = config_file.data["last_story"]
6
+ last_story_id = last_story_hash && last_story_hash["id"]
7
+
7
8
  shell.say(last_story_id)
8
9
  end
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module GetToWork
2
- VERSION = "0.1.2".freeze
2
+ VERSION = "0.1.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: get_to_work
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Rittersdorf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor