git-ds 0.9.4.2 → 0.9.4.3

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.
Files changed (3) hide show
  1. data/ChangeLog +3 -0
  2. data/lib/git-ds/index.rb +1 -1
  3. metadata +5 -5
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ 2011-04-14 : mkfs <mkfs@thoughtgang.org>
2
+ * Fixed broken dependency on Grit.
3
+
1
4
  2011-04-11 : mkfs <mkfs@thoughtgang.org>
2
5
  * Bumped gem version to 0.9.4
3
6
  * Added LICENSE to gemspec.
data/lib/git-ds/index.rb CHANGED
@@ -141,13 +141,13 @@ Index object for the Git staging index.
141
141
  =begin rdoc
142
142
  =end
143
143
  def commit(msg, author=nil)
144
- last_tree = @parent_commit ? @parent_commit.tree.id : nil
145
144
  parents = @parent_commit ? [@parent_commit] : []
146
145
  # TODO : why does last_tree cause some commits to fail?
147
146
  # test_transaction(TC_GitDatabaseTest)
148
147
  # transaction commit has wrong message.
149
148
  # <"SUCCESS"> expected but was <"auto-commit on transaction">
150
149
  # Possible bug in Grit::last_tree?
150
+ #last_tree = @parent_commit ? @parent_commit.tree.id : nil
151
151
  #sha = super(msg, parents, author, last_tree, @repo.current_branch)
152
152
  sha = super(msg, parents, author, nil, @repo.current_branch)
153
153
  if sha
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-ds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4.2
4
+ version: 0.9.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-04-04 00:00:00.000000000 -04:00
12
+ date: 2011-04-14 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grit
17
- requirement: &19441760 !ruby/object:Gem::Requirement
17
+ requirement: &9278380 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
- - - ~>
20
+ - - ! '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.2.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *19441760
25
+ version_requirements: *9278380
26
26
  description: A hierarchical datastore based on Git.
27
27
  email: community@thoughtgang.org
28
28
  executables: []