brfipe 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
File without changes
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source "http://rubygems.org"
2
+ source 'http://antrc:crtna10@gems.scilonax.com'
3
+
4
+ # Declare your gem's dependencies in dynamoauth.gemspec.
5
+ # Bundler will treat runtime dependencies like base dependencies, and
6
+ # development dependencies will be added by default to the :development group.
7
+ gemspec
8
+
9
+ gem "rake"
10
+
11
+ group :test do
12
+ gem "active_support"
13
+ gem "mocha", :require => false
14
+ gem "shoulda"
15
+ end
@@ -0,0 +1,42 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ brfipe (0.0.3)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ remote: http://antrc:crtna10@gems.scilonax.com/
9
+ specs:
10
+ active_support (3.0.0)
11
+ activesupport (= 3.0.0)
12
+ activesupport (3.0.0)
13
+ diff-lcs (1.2.4)
14
+ metaclass (0.0.1)
15
+ mocha (0.14.0)
16
+ metaclass (~> 0.0.1)
17
+ rake (10.1.0)
18
+ rspec (2.14.1)
19
+ rspec-core (~> 2.14.0)
20
+ rspec-expectations (~> 2.14.0)
21
+ rspec-mocks (~> 2.14.0)
22
+ rspec-core (2.14.4)
23
+ rspec-expectations (2.14.0)
24
+ diff-lcs (>= 1.1.3, < 2.0)
25
+ rspec-mocks (2.14.1)
26
+ shoulda (3.5.0)
27
+ shoulda-context (~> 1.0, >= 1.0.1)
28
+ shoulda-matchers (>= 1.4.1, < 3.0)
29
+ shoulda-context (1.1.4)
30
+ shoulda-matchers (2.2.0)
31
+ activesupport (>= 3.0.0)
32
+
33
+ PLATFORMS
34
+ ruby
35
+
36
+ DEPENDENCIES
37
+ active_support
38
+ brfipe!
39
+ mocha
40
+ rake
41
+ rspec
42
+ shoulda
data/README.md CHANGED
File without changes
@@ -0,0 +1,35 @@
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
14
+
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'Brfipe'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+ Bundler::GemHelper.install_tasks
24
+
25
+ require 'rake/testtask'
26
+
27
+ Rake::TestTask.new(:test) do |t|
28
+ t.libs << 'lib'
29
+ t.libs << 'test'
30
+ t.pattern = 'test/**/*_test.rb'
31
+ t.verbose = false
32
+ end
33
+
34
+
35
+ task :default => :test
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module Brfipe
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ class BrfipeTest < ActiveSupport::TestCase
4
+ context "Fipe" do
5
+ should "be a class" do
6
+ assert_kind_of Class, Fipe
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,8 @@
1
+ require 'test/unit'
2
+ require 'active_support'
3
+ require 'shoulda'
4
+ require 'mocha/setup'
5
+ require 'brfipe'
6
+
7
+ # Load support files
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
metadata CHANGED
@@ -1,65 +1,73 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: brfipe
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Rodrigo Batista da Silva
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2013-05-12 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+ date: 2013-07-28 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
19
- - &id002
20
- - ">="
21
- - !ruby/object:Gem::Version
22
- version: "0"
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
23
22
  type: :development
24
- version_requirements: *id001
25
- description: "brfipe \xC3\xA9 uma gem que tem como objetivo realizar consultas no site da fipe (funda\xC3\xA7\xC3\xA3o instituto de pesquisas econ\xC3\xB4micas) na se\xC3\xA7\xC3\xA3o de \"Pre\xC3\xA7o M\xC3\xA9dio de Ve\xC3\xADculos\"."
26
- email:
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: brfipe é uma gem que tem como objetivo realizar consultas no site da
31
+ fipe (fundação instituto de pesquisas econômicas) na seção de "Preço Médio de Veículos".
32
+ email:
27
33
  - rbsilva.ti@gmail.com
28
34
  executables: []
29
-
30
35
  extensions: []
31
-
32
36
  extra_rdoc_files: []
33
-
34
- files:
37
+ files:
35
38
  - .gitignore
39
+ - Gemfile
40
+ - Gemfile.lock
36
41
  - README.md
42
+ - Rakefile
37
43
  - brfipe.gemspec
38
44
  - lib/brfipe.rb
39
45
  - lib/brfipe/fipe.rb
40
46
  - lib/brfipe/version.rb
47
+ - test/brfipe_test.rb
48
+ - test/test_helper.rb
41
49
  homepage: https://github.com/rbsilva/brfipe
42
50
  licenses: []
43
-
44
- metadata: {}
45
-
46
51
  post_install_message:
47
52
  rdoc_options: []
48
-
49
- require_paths:
53
+ require_paths:
50
54
  - lib
51
- required_ruby_version: !ruby/object:Gem::Requirement
52
- requirements:
53
- - *id002
54
- required_rubygems_version: !ruby/object:Gem::Requirement
55
- requirements:
56
- - *id002
55
+ required_ruby_version: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
57
67
  requirements: []
58
-
59
68
  rubyforge_project: brfipe
60
- rubygems_version: 2.0.3
69
+ rubygems_version: 1.8.25
61
70
  signing_key:
62
- specification_version: 4
71
+ specification_version: 3
63
72
  summary: Gem para consultas no site da fipe.
64
73
  test_files: []
65
-
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: bd8356374554bf2533237c82a4414f9df1bdb9af
4
- data.tar.gz: 390cef93beb17c3277e95334559ecf5e0d6d394f
5
- SHA512:
6
- metadata.gz: 8965eb2aec7a7b638fa667801b896f91cef636a11143975258f4cf17804e9002730cbe747003043eb0df28e8bc7d70b492304a72cc02939488b55be0afc7903d
7
- data.tar.gz: f238d0d5f33e145f75a473ce6ec7dfc2b317afc93ac3a71af28afa06f521cb1bdf2e035413b0b186b606c7a193423cc474b16a59878035375ac6148b64878aa9