Commit 525bb1ef83258dab324e844e8cd4b07eb2ef20b3
1 parent
4d1a708f
Exists in
sisp_simple_version
Add serialize in software_info to sisp fields
Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Showing
1 changed file
with
16 additions
and
1 deletions
Show diff stats
src/noosfero-spb/software_communities/lib/software_info.rb
@@ -89,7 +89,22 @@ class SoftwareInfo < ActiveRecord::Base | @@ -89,7 +89,22 @@ class SoftwareInfo < ActiveRecord::Base | ||
89 | validate :validate_acronym | 89 | validate :validate_acronym |
90 | 90 | ||
91 | settings_items :another_license_version, :another_license_link | 91 | settings_items :another_license_version, :another_license_link |
92 | - settings_items :sisp | 92 | + settings_items :sisp, :default => false |
93 | + | ||
94 | + serialize :agency_identification | ||
95 | + serialize :softawre_requirements | ||
96 | + serialize :hardware_requirements | ||
97 | + serialize :documentation | ||
98 | + serialize :system_applications | ||
99 | + serialize :active_versions | ||
100 | + serialize :estimated_cost | ||
101 | + serialize :responsible | ||
102 | + serialize :responsible_for_acquirement | ||
103 | + serialize :system_info | ||
104 | + serialize :development_info | ||
105 | + serialize :maintenance | ||
106 | + serialize :standards_adherence | ||
107 | + serialize :plataform | ||
93 | 108 | ||
94 | # used on find_by_contents | 109 | # used on find_by_contents |
95 | def self.like_search name | 110 | def self.like_search name |