magnum-pi 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmM2YTM5NDM4OTY5OTg1Y2I3N2RhYTEzN2MyMzUzZjg4NTVmNmE2Mg==
4
+ MTljZTBmZGU3ZDJhNjIyMWNlODkyMTNjMDg5OTdjMjI0ZmJkZmIyZg==
5
5
  data.tar.gz: !binary |-
6
- YzE4OGIxNzU5ZjAyYjk5ZTBlNGU3NGFkZGM3ZDlkMzJlYmY2YzVhNw==
6
+ YzM3MGUyZWY4Y2RiODA1M2VhNWRmM2E3ODExODg2MGIwODA0MGFmMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjRjMzRlZjEyOTNiZjAyMDA3NzAxMDAzOTIxNWFiY2IwMjQzNDcwZTUwMjQw
10
- ODRhMTVlY2UzODU4Yjc5MzhiMTI0NDIxYWVlN2I4MzlhNDBkNTVhZTVjZjJh
11
- NGY4YzY2NGYxZjZiMmI3NjEzYzU2ZjQ5ZWU3NmExZWJkMWVlMzk=
9
+ ZWY2YmRmM2E1ZGM2NDg3YmJmZTVhNjBjM2UzMTJmMzExMzE0YjcyODExNjc4
10
+ NTQ3ZDkxZDRlYWQyMzMxMWNjNzMyNWQwODc0YTBhMDkzMmI0ZWRmZjJkZTYz
11
+ MmU3NWE3OWQ0NzY0ZGEwNTRhOGQ3YjdmZGQxZTk1OGM2NjYxN2E=
12
12
  data.tar.gz: !binary |-
13
- OGIyZDcxNzMwYjlkNWEwMzk3MDQ1ODNjNTUyYjE1MDE2OWY4NTQ2MDFlMDU4
14
- YTU1MzM5NDY1Nzk1M2Q3MWQyZjRmYWZiOGU2ZDhkZWY1YzRhZTA3ZGE3ODZi
15
- NTQxNmEyNDliZmE4MjA3M2ZmMzkyNzdiNzkyNDMyZDRiMDdiY2I=
13
+ M2RmNjcxODYzNjlhYmI5NmFmNjdkMDAzZDllZjI3Mzg0ODRlNTA2NDM3NjFi
14
+ N2ZjNDI1MDdjMzJhODAyZjVlOTQzYTQxYTdhOTBkZTIxYzM5MTk2ODcyYWRj
15
+ M2Q1MDE2ZTdhZDcyYmZmOTE1ZjE5N2U5Mjc0MDRmZGIwOGQzMjM=
@@ -1,5 +1,9 @@
1
1
  = MagnumPI CHANGELOG
2
2
 
3
+ == Version 0.1.1 (March 26, 2014)
4
+
5
+ * Made #api and #resources public for API instances
6
+
3
7
  == Version 0.1.0 (March 26, 2014)
4
8
 
5
9
  * Initial release
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -8,8 +8,6 @@ module MagnumPI
8
8
  @resources = self.class.resources.to_hash
9
9
  end
10
10
 
11
- private
12
-
13
11
  def api
14
12
  @api
15
13
  end
@@ -1,7 +1,7 @@
1
1
  module MagnumPI
2
2
  MAJOR = 0
3
3
  MINOR = 1
4
- TINY = 0
4
+ TINY = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join(".")
7
7
  end
@@ -35,14 +35,14 @@ module Unit
35
35
  it "returns @api" do
36
36
  foo, api = Foo.new, api
37
37
  foo.instance_variable_set :@api, api
38
- assert_equal api, foo.send(:api)
38
+ assert_equal api, foo.api
39
39
  end
40
40
  end
41
41
  describe "#resources" do
42
42
  it "returns @resources" do
43
43
  foo, resources = Foo.new, resources
44
44
  foo.instance_variable_set :@resources, resources
45
- assert_equal resources, foo.send(:resources)
45
+ assert_equal resources, foo.resources
46
46
  end
47
47
  end
48
48
  end
@@ -9,10 +9,9 @@ module Unit
9
9
 
10
10
  describe MagnumPI do
11
11
  it "has the current version" do
12
- version = "0.1.0"
12
+ version = File.read path("VERSION")
13
13
  assert_equal version, MagnumPI::VERSION
14
14
  assert File.read(path "CHANGELOG.rdoc").include?("Version #{version}")
15
- assert File.read(path "VERSION").include?(version)
16
15
  end
17
16
 
18
17
  describe "when extended" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magnum-pi
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
  - Paul Engel