hglib 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -3
- data/History.md +7 -0
- data/lib/hglib.rb +1 -1
- data/lib/hglib/repo.rb +1 -1
- data/spec/hglib/repo_spec.rb +12 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fda6fedb3a7f987d97d03cac280b3f01cc887b09018e68e5265ae0181c7688c8
|
4
|
+
data.tar.gz: 2ba0ae0314f9796cad84a5b431fb2f6369505c2372289956958243cf965652c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb4d1bb0a5a5dafb2359d861e013e1205860d185e481cfa411682e08e95dba2635a374560bc2b631fa960ecf975371ee3d63e3b19d3695c1fd1c0c7a06899ff2
|
7
|
+
data.tar.gz: 1e4212f4dc07628c0e54a0a70cf09b9e9e859b0aa3ae7113803299532b579912146fdcaaec03daf2c1ecd97ef2f3c4a18ea8d7dab6638da2d0cb62ca18471bf6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
�Z�uq�{���L���{;ӌ�����Kq3�Ie "���"83��'�ִ�y�dd�3�G��4ۇ��i�:���ѕ�}y}���a��B~��7� ߃-����}����˚�_
|
2
|
+
q���K��E��[�1�+�<eQ,FF
|
3
|
+
cћޞgC.S�|0���S����zߺ��R��uc���ٶ{���C�q�Z��K=D���������>�3��17^n�cI">�Gt+U����~c����zm���?���i��Щ-'���b5?_�
|
data/History.md
CHANGED
data/lib/hglib.rb
CHANGED
data/lib/hglib/repo.rb
CHANGED
data/spec/hglib/repo_spec.rb
CHANGED
@@ -69,6 +69,18 @@ RSpec.describe Hglib::Repo do
|
|
69
69
|
end
|
70
70
|
|
71
71
|
|
72
|
+
it "can ensure a file is tracked" do
|
73
|
+
repo = described_class.new( repo_dir )
|
74
|
+
|
75
|
+
expect( server ).to receive( :run_with_json_template ).
|
76
|
+
with( :status, 'lib/version.rb' ).
|
77
|
+
and_return([ {path: 'lib/version.rb', status: 'M'} ]).
|
78
|
+
at_least( :once )
|
79
|
+
|
80
|
+
expect( repo.tracked?('lib/version.rb') ).to be_truthy
|
81
|
+
end
|
82
|
+
|
83
|
+
|
72
84
|
it "can fetch the identification of the repository's current revision" do
|
73
85
|
repo = described_class.new( repo_dir )
|
74
86
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|