dssc_simple 0.0.1.a → 0.0.1.b
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.
- data/README.md +7 -1
- data/lib/dssc_simple.rb +1 -1
- data/lib/dssc_simple/report.rb +12 -1
- data/spec/dssc_simple_spec.rb +1 -1
- data/spec/fixtures/mock_output.txt +5 -1
- metadata +3 -3
data/README.md
CHANGED
data/lib/dssc_simple.rb
CHANGED
data/lib/dssc_simple/report.rb
CHANGED
@@ -85,6 +85,14 @@ module DsscSimple
|
|
85
85
|
line[$1.to_s] = ''
|
86
86
|
items << Item.new( :status_unmanaged, line.strip)
|
87
87
|
|
88
|
+
when /^(\s*Folder\s*-\s*Unmanaged\s*)/
|
89
|
+
line[$1.to_s] = ''
|
90
|
+
items << Item.new( :status_unmanaged, line.strip)
|
91
|
+
|
92
|
+
when /^(\s*Link to Folder\s*-\s*Unmanaged\s*)/
|
93
|
+
line[$1.to_s] = ''
|
94
|
+
items << Item.new( :status_unmanaged, line.strip)
|
95
|
+
|
88
96
|
when /^(\s*Cached File\s*Up-to-date\s*Cache\s*#{REGEXP_VERSION}\s*)/
|
89
97
|
line[$1.to_s] = ''
|
90
98
|
items << Item.new( :status_cached, line.strip)
|
@@ -105,6 +113,9 @@ module DsscSimple
|
|
105
113
|
line[$1.to_s] = ''
|
106
114
|
items << Item.new( :status_local_missing, line.strip)
|
107
115
|
|
116
|
+
when /^(\s*Folder\s*-\s*)/
|
117
|
+
## Ignore
|
118
|
+
|
108
119
|
when /^Directory of: file:\/\//
|
109
120
|
## Ignore
|
110
121
|
when /^\s*Object Type\s*Server Status\s*WS Status\s*Type\s*Locked By\s*Version\s*Name/
|
@@ -123,7 +134,7 @@ module DsscSimple
|
|
123
134
|
end
|
124
135
|
|
125
136
|
def cached_results
|
126
|
-
@results ||= run_dssc_ls_mock
|
137
|
+
@results ||= run_dssc_ls_mock
|
127
138
|
end
|
128
139
|
|
129
140
|
def run_dssc_ls_mock
|
data/spec/dssc_simple_spec.rb
CHANGED
@@ -11,4 +11,8 @@ File Up-to-date Locally Modified Lock user* 1.2
|
|
11
11
|
Cached File Up-to-date Cache 1.3 path/rep_normal.txt
|
12
12
|
Cached File Needs Update Cache 1.2 path/rep_update.txt
|
13
13
|
Cached File Up-to-date Cache otheruser 1.24 path/rep_locked.txt
|
14
|
-
Referenced File Up-to-date
|
14
|
+
Referenced File Up-to-date Reference Refers to: 1.1 path/local_removed.txt
|
15
|
+
Folder - path
|
16
|
+
Folder - Unmanaged path_extra
|
17
|
+
Link to Folder - Unmanaged Waveforms
|
18
|
+
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 0
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.0.1.
|
9
|
+
- b
|
10
|
+
version: 0.0.1.b
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Castle
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-16 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|