abstract_analyzer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -24,11 +24,15 @@ You can use the DashAnalyzer with any rack app you'd like. Check the tests for a
24
24
 
25
25
  If Rails is your bag, I've included a middleware implementation of the DashAnalyzer. Implementing is pretty easy.
26
26
 
27
- First, this thing isn't a gem yet, so just load the whole thing into lib or somewhere else Rails will see it.
27
+ First, require the gem in RAILS_ROOT/config/environment.rb:
28
28
 
29
- Secound, in RAILS_ROOT/config/initializers/middlewares.rb
29
+ Rails::Initializer.run do |config|
30
+ # .....
31
+ config.gem 'abstract_analyzer', :version => '>0.1.0'
32
+ # .....
33
+ end
30
34
 
31
- require 'abstract_analyzer/abstract_analyzer'
35
+ Second, in RAILS_ROOT/config/initializers/middlewares.rb
32
36
 
33
37
  # Setup the Analyzer DB
34
38
  abstract_analyzer_db = Mongo::Connection.new('localhost', 27017).db('aa-rails-dash-analyzer-db')
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 0
4
4
  :minor: 1
5
5
  :build:
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{abstract_analyzer}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mark McSpadden"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abstract_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark McSpadden