rally_user_management 0.5.5

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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OThmNTM3OTYwNjJiYjJkOWEyNTEzYjEzMmE4MzMwZDdkNWRiYTIzZA==
5
+ data.tar.gz: !binary |-
6
+ YzlkOTNhOWNmNzBmOTliZDRjNDE0ZTI5NzAzMjRkYjY0YTYxNzA2NQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ N2E5YjI0MWMyYjEyOGNiMDBjMDc0OTg1ZWRkMDc2M2JmYjljNDE0ZDcwZjUy
10
+ MjkwNDEyZDUwYmUzNGFmMTY5MWJhOTA1NmEzYzdlNDA4NzY1OWM5ZTgxM2E3
11
+ MmQ5YmUwNzQ1MTZlNzNiMDAxMjY3ODhhZGZhYTg2ZDE0MjcxOWU=
12
+ data.tar.gz: !binary |-
13
+ MzU2NWQwM2Y2NTA5MzVhNzI3NDFiOWI4ZWU1NWYxMzI2YzA5OTAyYjFjZDE3
14
+ Zjg5ZTkyMWM1YjY3N2Y0NjVhYzdmNDFhMTE2ZDM5MmIzZjUwOWQ5OWYzMzBm
15
+ OGE1MTEzNjNhYTU5NThkMTQ4ODgxYmI1OGJmMzVjZmRmNTBjMmY=
data/lib/multi_io.rb ADDED
@@ -0,0 +1,19 @@
1
+ # Helper Class to help Logger output to both STOUT and to a file
2
+ # Attribution: see http://goo.gl/m7CUIC
3
+
4
+ module RallyUserManagement
5
+
6
+ class MultiIO
7
+ def initialize(*targets)
8
+ @targets = targets
9
+ end
10
+
11
+ def write(*args)
12
+ @targets.each {|t| t.write(*args)}
13
+ end
14
+
15
+ def close
16
+ @targets.each(&:close)
17
+ end
18
+ end
19
+ end