Active 0.0.37 → 0.0.38

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.
Files changed (4) hide show
  1. data/lib/services/gsa.rb +10 -13
  2. data/version.txt +1 -1
  3. metadata +9 -11
  4. data/.bnsignore +0 -19
data/lib/services/gsa.rb CHANGED
@@ -46,20 +46,17 @@ module Active
46
46
  # end
47
47
 
48
48
  def categories
49
- begin
50
- if @data["meta"]["channel"].class==String
51
- if @data["meta"]["channel"].index(",")
52
- return @data["meta"]["channel"].split(",")
53
- else
54
- return [@data["meta"]["channel"]]
55
- end
49
+ arr = []
50
+ if @data["meta"]["channel"].class==String
51
+ if @data["meta"]["channel"].index(",")
52
+ arr << @data["meta"]["channel"].split(",")
56
53
  else
57
- return @data["meta"]["channel"]
58
- end
59
- rescue Exception => e
60
- # todo Log error
61
- end
62
- return []
54
+ arr << [@data["meta"]["channel"]]
55
+ end
56
+ else
57
+ arr << @data["meta"]["channel"]
58
+ end
59
+ arr
63
60
  end
64
61
 
65
62
  def asset_id
data/version.txt CHANGED
@@ -1 +1 @@
1
- 0.0.37
1
+ 0.0.38
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Active
3
3
  version: !ruby/object:Gem::Version
4
- hash: 85
4
+ hash: 83
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 37
10
- version: 0.0.37
9
+ - 38
10
+ version: 0.0.38
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Spooner, Brian Levine
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ">="
27
+ - - "="
28
28
  - !ruby/object:Gem::Version
29
29
  hash: 17
30
30
  segments:
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ">="
43
+ - - "="
44
44
  - !ruby/object:Gem::Version
45
45
  hash: 43
46
46
  segments:
@@ -58,12 +58,12 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- hash: 25
61
+ hash: 21
62
62
  segments:
63
63
  - 3
64
- - 4
65
- - 7
66
- version: 3.4.7
64
+ - 6
65
+ - 5
66
+ version: 3.6.5
67
67
  type: :development
68
68
  version_requirements: *id003
69
69
  description: Search api for Active Network
@@ -76,9 +76,7 @@ extra_rdoc_files:
76
76
  - History.txt
77
77
  - README.txt
78
78
  - bin/Active
79
- - version.txt
80
79
  files:
81
- - .bnsignore
82
80
  - Active.gemspec
83
81
  - History.txt
84
82
  - README.txt
data/.bnsignore DELETED
@@ -1,19 +0,0 @@
1
- # The list of files that should be ignored by Mr Bones.
2
- # Lines that start with '#' are comments.
3
- #
4
- # A .gitignore file can be used instead by setting it as the ignore
5
- # file in your Rakefile:
6
- #
7
- # Bones {
8
- # ignore_file '.gitignore'
9
- # }
10
- #
11
- # For a project with a C extension, the following would be a good set of
12
- # exclude patterns (uncomment them if you want to use them):
13
- # *.[oa]
14
- # *~
15
- announcement.txt
16
- coverage
17
- doc
18
- pkg
19
- .DS_Store