openteam-commons 0.2.5 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c27aa4d8670ed7035e5a4bc002cf5bae27baccf0
4
- data.tar.gz: 2c056e09846d60f095ca7782e9fd15c4afbd56fe
3
+ metadata.gz: af24d7c6ddc9f21ff13cbf6c4bcb865fc42f73fd
4
+ data.tar.gz: c406cb338e86584f594fb4e121dc6dbce57ec4c7
5
5
  SHA512:
6
- metadata.gz: 3521b6461ddb14e7048e5864f4ec60870e39e4c088f1e850f7afc6f9bb0d4ddb73dc046f7edfb6131334ebade680254486f33ee5cc472bca0230f24cba9cd79c
7
- data.tar.gz: 7e9da3485c3efba9fc357068ad455759f1a3a321e2b85c3057f65356563afe2e43c840a26d3338b81a498358ba1084d29d39456dc26ef20fd140ea3048eb77ae
6
+ metadata.gz: 5e2dbf156d7b2b21b55652ef8f36489feb1de4badd50f770f03418479fae17c312da234231690ac8e4201d789d8288925c075ee099c36246c2a45ae086077cf3
7
+ data.tar.gz: 0b01080004164a4ce7faae441e9efbdcc63d625d7d59d8c1ddba644ad75d9e6995d986d1f80ca55a72e5fb4dd4a2147d5ed54a05b5998a81ff90a76436fc7a3d
@@ -0,0 +1,6 @@
1
+ begin
2
+ require 'sunspot'
3
+
4
+ Sunspot.config.solr.url = Settings['solr.url']
5
+ rescue LoadError
6
+ end
@@ -53,8 +53,10 @@ module OpenteamCommons
53
53
  else
54
54
  Airbrake.configure do |config|
55
55
  config.project_key = Settings['errors.key']
56
- config.project_id = -1
56
+ config.project_id = 1
57
57
  config.host = Settings['errors.url']
58
+ config.environment = Rails.env
59
+ config.ignore_environments = %w[development test]
58
60
  end
59
61
  end
60
62
  end
@@ -1,3 +1,3 @@
1
1
  module OpenteamCommons
2
- VERSION = '0.2.5'.freeze
2
+ VERSION = '0.3.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openteam-commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-09 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake
@@ -90,6 +90,7 @@ files:
90
90
  - MIT-LICENSE
91
91
  - README.rdoc
92
92
  - Rakefile
93
+ - config/initializers/sunspot.rb
93
94
  - config/locales/datetime.ru.yml
94
95
  - lib/openteam-commons.rb
95
96
  - lib/openteam-commons/engine.rb