enklawa 0.0.7 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTM4N2E4MTY4ZmFiYzg1NmRmZjgxYjAzZDk2YzFlMTAwMGM3ZDUwNg==
4
+ ZTJiOTllYjE0NjU0NWU0Y2JiNWIxNGMyNjBkY2FiODhmMWY3YzI2NA==
5
5
  data.tar.gz: !binary |-
6
- MWNhYWE5NmI0MDczMmE2YmVlMjZjMWUwODUzOWU0MjU0OTY3MjAzMw==
6
+ YTM5MTY4NTc1ZTlmMWRkZDc5MTFhMzk2ZWUyMDVjMTdjMjZkN2RmOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NmE1YTljNTVhMmRhMWU5YjU0Nzk0ODA3NWFjOTFmODAzMmI0NDkzZGE0YzNh
10
- NjY2MTFkMWUzYTAwZGUwNmNiYmE5NDE5YjFhZTlmM2UwY2Y3YmRlOGFjMTM4
11
- OWNlODllZWEwYjk3MmNlNjM2N2NlYmI0ZDY0OWIyZGE1NTJlMTI=
9
+ MmUxYzNlMzEyZGI5NDlkODc4YTMzOTliNzcwN2Y1MzU2MTU5NjkyMDA4ODhj
10
+ YTBhZWMwOTBjNmNkNTkyM2M1MzY1ZmQ1N2E2ZTE1OGJkZDY1Y2FlY2JhZDBh
11
+ NmFlOWQ3NTA3NTg4M2MyYjZkOWI0OTMyMTZkOGYzZTY1YmQxZDE=
12
12
  data.tar.gz: !binary |-
13
- NmFlMjNmM2ExOWQxZGNkNGVjZDc3YzZjOWZmOTFiOTVlMWM3MzZhZjdlODRh
14
- OGJkYTkyZjM4N2ViZDY5OWRjMTZhMDIyNTk2NWYyZDBlZGEwZmJkMDllMWVi
15
- MTNhNTNjZDFkZTRiOGRmMzE5ZmVjNTE3YmIwNTVmOWRjMWEyNjU=
13
+ M2U1MmQ5MmRhZjI2MGJkYjA0NDc1YmQxZTdiNmY0ZjQzNmZhMmIwMzY4OTg4
14
+ Y2RhZTI5MmE2Zjk1ZjFhZWY2YjI2NmQ5YTZjY2YzODRjYWI4N2ZhOTI1NTU1
15
+ ZjhiYzc5MGJlNTg2NWUyOTZkMjlhM2E2NGE5ZGVjMGM0NzkzNTM=
@@ -1,6 +1,6 @@
1
1
  module Enklawa
2
2
  module Api
3
- class ForumThread < Struct.new(:id, :title, :content, :pub_date, :link)
3
+ class ForumThread < Struct.new(:id, :title, :content, :pub_date, :link, :author)
4
4
 
5
5
  def to_h
6
6
  {
@@ -8,7 +8,8 @@ module Enklawa
8
8
  title: title,
9
9
  content: content,
10
10
  pub_date: pub_date.utc.iso8601,
11
- link: link
11
+ link: link,
12
+ author: author
12
13
  }
13
14
  end
14
15
 
@@ -82,6 +82,7 @@ module Enklawa
82
82
  thread.link = entry.url
83
83
  thread.content = entry.content
84
84
  thread.pub_date = entry.published
85
+ thread.author = entry.author
85
86
  @response.add_thread(thread)
86
87
  end
87
88
  end
@@ -1,5 +1,5 @@
1
1
  module Enklawa
2
2
  module Api
3
- VERSION = "0.0.7"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enklawa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkadiusz Buras