bovespa-prices 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
2
+ require "bundler/gem_tasks"
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require File.expand_path('../bovespa-prices', __FILE__)
2
+ require File.expand_path('../lib/bovespa-prices', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ['Andrew S Aguiar']
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = 'bovespa-prices'
14
+ gem.require_paths = ['lib']
14
15
  gem.version = Bovespa::VERSION
15
16
 
16
17
  gem.add_dependency 'httpclient'
@@ -2,7 +2,7 @@ require 'httpclient'
2
2
  require 'nokogiri'
3
3
 
4
4
  class Bovespa
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
 
7
7
  class Stock
8
8
  attr_accessor :code, :name, :date, :opening_price, :min_price, :max_price, :average_price, :last_price, :variation
@@ -1,7 +1,7 @@
1
1
  require 'simplecov'
2
2
  SimpleCov.start
3
3
 
4
- require File.expand_path('../../bovespa-prices', __FILE__)
4
+ require File.expand_path('../../lib/bovespa-prices', __FILE__)
5
5
 
6
6
  describe Bovespa::Stock do
7
7
  let(:stock) { Bovespa::Stock.new }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bovespa-prices
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -56,7 +56,7 @@ files:
56
56
  - README.md
57
57
  - Rakefile
58
58
  - bovespa-prices.gemspec
59
- - bovespa-prices.rb
59
+ - lib/bovespa-prices.rb
60
60
  - spec/bovespa-prices_spec.rb
61
61
  homepage: http://www.github.com/andrewaguiar/bovespa-prices
62
62
  licenses: []