Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

delete obsolete files.

  • Loading branch information...
commit 82e5abca45a4ac2a06c3bd753286dbf2877e0fe8 1 parent e6502a1
@cowboyd authored
Showing with 0 additions and 59 deletions.
  1. +0 −52 lib/jenkins/model.rb
  2. +0 −7 lib/jenkins/tasks/build_wrapper.rb
View
52 lib/jenkins/model.rb
@@ -1,52 +0,0 @@
-
-module Jenkins
- module Model
- def self.included(cls)
- super(cls)
- cls.extend(ClassMethods)
- cls.send(:include, InstanceMethods)
- end
-
- module InstanceMethods
- def display_name
- self.class.display_name
- end
- end
-
- module ClassMethods
- def display_name(name = nil)
- name.nil? ? @display_name || self.name : @display_name = name.to_s
- end
-
- def attr_reader(*names)
- super(*names)
- add_properties names
- end
-
- def attr_accessor(*names)
- super(*names)
- add_properties names
- end
-
- def properties(all = true)
- @properties ||= []
- if all
- total = @properties.dup
- s = self
- while s = s.superclass
- total = s.properties + total if s < Jenkins::Model
- end
- total
- else
- @properties
- end
- end
-
- def add_properties(names)
- names.each do |name|
- properties(false) << name unless properties(false).member?(name)
- end
- end
- end
- end
-end
View
7 lib/jenkins/tasks/build_wrapper.rb
@@ -1,7 +0,0 @@
-
-module Jenkins
- module Tasks
- class BuildWrapper
- end
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.