magentor 0.1.10 → 0.2.0

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.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg/*
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.10
1
+ 0.2.0
@@ -3,7 +3,7 @@ module Magento
3
3
  class << self
4
4
  def find_by_id(id)
5
5
  Order.list.each do |order|
6
- Order.info(order.id).order_items.select{ |i| i.id == id }
6
+ Order.find_by_increment_id(order.increment_id).order_items.select{ |i| i.id == id }
7
7
  end
8
8
  end
9
9
 
data/magentor.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{magentor}
8
- s.version = "0.1.10"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Preston Stuteville"]
@@ -15,7 +15,8 @@ Gem::Specification.new do |s|
15
15
  "README.rdoc"
16
16
  ]
17
17
  s.files = [
18
- "MIT-LICENSE",
18
+ ".gitignore",
19
+ "MIT-LICENSE",
19
20
  "README.rdoc",
20
21
  "Rakefile",
21
22
  "TODOS",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magentor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 10
10
- version: 0.1.10
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Preston Stuteville
@@ -28,6 +28,7 @@ extensions: []
28
28
  extra_rdoc_files:
29
29
  - README.rdoc
30
30
  files:
31
+ - .gitignore
31
32
  - MIT-LICENSE
32
33
  - README.rdoc
33
34
  - Rakefile