infopark_rails_connector_meta 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,6 +25,12 @@ module RailsConnector
25
25
  @blob_data['titles'] || {}
26
26
  end
27
27
 
28
+ # returns channel feature is_activate?
29
+ def can_create_news_items?
30
+ load_blob_data
31
+ @blob_data['canCreateNewsItems'].to_i != 0
32
+ end
33
+
28
34
  # Returns the custom Ruby class or RailsConnector::AbstractObj.
29
35
  def ruby_class
30
36
  # this must be the same algorithm that the rest of the RailsConnector uses!
data/lib/meta/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module RailsConnector
3
3
  module Meta
4
- VERSION = "1.8.0"
4
+ VERSION = "1.8.1"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_rails_connector_meta
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 8
9
- - 0
10
- version: 1.8.0
9
+ - 1
10
+ version: 1.8.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomasz Przedmojski
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-03-25 00:00:00 +01:00
18
+ date: 2013-06-19 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency