culturecode_stagehand 0.7.8 → 0.7.9

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: b324664a437db0ce9781e477ba4a097c9e6f96f9
4
- data.tar.gz: 8c926f3d008e7cbff56ef1efca2c86ba80153d55
3
+ metadata.gz: 7a3605105f16b08844ff35d898d5043a4fa7c733
4
+ data.tar.gz: 9cbedc3a329392ab269dc0cb8ffbe88a65182117
5
5
  SHA512:
6
- metadata.gz: 44a2aba03a1dfba9f3d8e12047dedd0c36ad0d5948ccd7acc91f441ba8944853c978513bd42ac6014d0663badb75a4b7c77d770d7aa387e36f8c970f303196cf
7
- data.tar.gz: 56d0d822a9632dbcb0e830d67b0b0e89a886e0d621f155ebc220eff09ac52e13df9d1c03da687423e5606c555b9f955ae718d01ec0811d00bfb2c59ee0a29c51
6
+ metadata.gz: 7644db9843c467270b6afd416c00e1a110ad0098a848d8982082bd63dae120dd255c5866ba4073573ad1f4523b3211b8da71256da7b9fa6e7566fc9d8027d8ea
7
+ data.tar.gz: 83d51fba48b3190b20cf02df0876db946b87ea198911c0740d2016ae55cc1a4f650d0f502e463be9f8f55ba8137fe5b3bf98316c9460af965bc051b88f0f986a
@@ -59,8 +59,11 @@ module Stagehand
59
59
 
60
60
  def initialize(start_id)
61
61
  @start_id, @end_id = CommitEntry.control_operations
62
+ .limit(2)
62
63
  .where(:commit_id => start_id)
63
- .where('id >= ?', start_id).limit(2).pluck(:id)
64
+ .where('id >= ?', start_id)
65
+ .reorder(:id => :asc)
66
+ .pluck(:id)
64
67
 
65
68
  raise CommitNotFound unless @start_id && @end_id
66
69
  end
@@ -1,3 +1,3 @@
1
1
  module Stagehand
2
- VERSION = "0.7.8"
2
+ VERSION = "0.7.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: culturecode_stagehand
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.8
4
+ version: 0.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Jakobsen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-29 00:00:00.000000000 Z
12
+ date: 2016-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails