| 
									
										
										
										
											2017-12-29 16:19:09 +00:00
										 |  |  | module Gpg | 
					
						
							| 
									
										
										
										
											2018-05-18 13:35:41 +02:00
										 |  |  |   class << self | 
					
						
							|  |  |  |     module Compat | 
					
						
							|  |  |  |       def executable | 
					
						
							|  |  |  |         odisabled "Gpg.executable", 'which "gpg"' | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2016-08-10 04:50:59 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-18 13:35:41 +02:00
										 |  |  |       def available? | 
					
						
							|  |  |  |         odisabled "Gpg.available?", 'which "gpg"' | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2016-08-10 16:46:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-18 13:35:41 +02:00
										 |  |  |       def create_test_key(*) | 
					
						
							|  |  |  |         odisabled "Gpg.create_test_key" | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2016-08-10 04:50:59 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-18 13:35:41 +02:00
										 |  |  |       def cleanup_test_processes! | 
					
						
							|  |  |  |         odisabled "Gpg.cleanup_test_processes!" | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2017-08-28 16:51:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-18 13:35:41 +02:00
										 |  |  |       def test(*) | 
					
						
							|  |  |  |         odisabled "Gpg.test" | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							| 
									
										
										
										
											2017-09-01 01:50:26 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-18 13:35:41 +02:00
										 |  |  |     prepend Compat | 
					
						
							| 
									
										
										
										
											2017-09-01 01:50:26 +01:00
										 |  |  |   end | 
					
						
							| 
									
										
										
										
											2016-08-10 04:50:59 +01:00
										 |  |  | end |