c3s 0.4.11 → 0.4.12

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/c3s.gemspec CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{c3s}
5
- s.version = "0.4.11"
5
+ s.version = "0.4.12"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ricardo Otero"]
9
- s.date = %q{2011-03-09}
10
- s.description = %q{C3S 0.4.11 - Library to make context entities on C3S project.}
9
+ s.date = %q{2011-04-14}
10
+ s.description = %q{C3S 0.4.12 - Library to make context entities on C3S project.}
11
11
  s.email = %q{oterosantos@gmail.com}
12
12
  s.extra_rdoc_files = ["README.rdoc", "lib/c3s.rb", "lib/c3s_logger.rb", "lib/component.rb", "lib/component_connection.rb", "lib/configreader.rb", "lib/databaseadapter.rb", "lib/model.rb", "lib/pubsub/node.rb", "lib/pubsub/nodetracker.rb", "lib/pubsub/publisher.rb", "lib/pubsub/subscriber.rb", "lib/republisher.rb", "lib/version.rb"]
13
13
  s.files = ["README.rdoc", "Rakefile", "c3s", "c3s.gemspec", "lib/c3s.rb", "lib/c3s_logger.rb", "lib/component.rb", "lib/component_connection.rb", "lib/configreader.rb", "lib/databaseadapter.rb", "lib/model.rb", "lib/pubsub/node.rb", "lib/pubsub/nodetracker.rb", "lib/pubsub/publisher.rb", "lib/pubsub/subscriber.rb", "lib/republisher.rb", "lib/version.rb", "Manifest"]
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = %q{c3s}
18
18
  s.rubygems_version = %q{1.4.1}
19
- s.summary = %q{C3S 0.4.11 - Library to make context entities on C3S project.}
19
+ s.summary = %q{C3S 0.4.12 - Library to make context entities on C3S project.}
20
20
 
21
21
  if s.respond_to? :specification_version then
22
22
  s.specification_version = 3
data/lib/model.rb CHANGED
@@ -15,7 +15,7 @@ module C3sModel
15
15
  attr_hash
16
16
  end
17
17
 
18
- def attributes=(att, guard_protected_attributes)
18
+ def attributes=(att)
19
19
  att.each do |key, val|
20
20
  self.attrs << key.to_s
21
21
  self.send("#{key.to_s}=", val) if self.respond_to?(key.to_s)
@@ -136,9 +136,6 @@ module C3s
136
136
  # Checks if the xml data has a <published> tag
137
137
  # xml:: [REXML::Element] content xml
138
138
  def has_publish_date(xml)
139
- puts "ROOT: #{xml.root.inspect}"
140
- puts "PUBLISHED: #{xml.get_elements("//published")}"
141
- xml.each_element {|el| puts "> #{el.inspect}"}
142
139
  el = xml.root.get_elements("//published")
143
140
  el.size > 0
144
141
  end
data/lib/version.rb CHANGED
@@ -2,7 +2,7 @@ module C3s
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 11
5
+ TINY = 12
6
6
 
7
7
  VERSION = [MAJOR, MINOR, TINY].join('.')
8
8
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c3s
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 11
10
- version: 0.4.11
9
+ - 12
10
+ version: 0.4.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ricardo Otero
@@ -15,11 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-09 00:00:00 +00:00
18
+ date: 2011-04-14 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
22
- description: C3S 0.4.11 - Library to make context entities on C3S project.
22
+ description: C3S 0.4.12 - Library to make context entities on C3S project.
23
23
  email: oterosantos@gmail.com
24
24
  executables: []
25
25
 
@@ -98,6 +98,6 @@ rubyforge_project: c3s
98
98
  rubygems_version: 1.4.1
99
99
  signing_key:
100
100
  specification_version: 3
101
- summary: C3S 0.4.11 - Library to make context entities on C3S project.
101
+ summary: C3S 0.4.12 - Library to make context entities on C3S project.
102
102
  test_files: []
103
103