daengine 0.3.7.4 → 0.3.7.5
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/app/models/digital_asset.rb +7 -2
- data/lib/daengine/version.rb +1 -1
- metadata +2 -2
data/app/models/digital_asset.rb
CHANGED
|
@@ -90,11 +90,11 @@ class DigitalAsset
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
def is_investor_approved?
|
|
93
|
-
audiences.index(
|
|
93
|
+
audiences.index(DigitalAsset::Audience::INVESTOR_APPROVED)
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
def is_institutional_use?
|
|
97
|
-
audiences.index(
|
|
97
|
+
audiences.index(DigitalAsset::Audience::INSTITUTIONAL_USE)
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
def product
|
|
@@ -170,3 +170,8 @@ class DigitalAsset::ContentType
|
|
|
170
170
|
BUSINESS_CALENDAR = 'MA540I7SX'
|
|
171
171
|
WEEKLY_HOLDINGS = 'MA542HDIJ'
|
|
172
172
|
end
|
|
173
|
+
|
|
174
|
+
class DigitalAsset::Audience
|
|
175
|
+
INVESTOR_APPROVED = '490'
|
|
176
|
+
INSTITUTIONAL_USE = '491'
|
|
177
|
+
end
|
data/lib/daengine/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: daengine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.3.7.
|
|
5
|
+
version: 0.3.7.5
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- sbhatia
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2012-09-
|
|
13
|
+
date: 2012-09-17 00:00:00.000000000Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|