q_auth_ruby_client 0.0.4 → 0.0.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 528fdbe2e31cf31145103a0c013ec65cfd1ffe32
4
- data.tar.gz: 0e0b966d966c8e20367564b2031f69005f38ec5f
3
+ metadata.gz: ed5bddc8fb5b49fbe35d9176bd947bee66505816
4
+ data.tar.gz: 04be0d6f4431e2b4faf49a57b8090d7247d8fdb2
5
5
  SHA512:
6
- metadata.gz: 32422d77652264cd2ab03d2d1f84face858eba271030c2ac796d5fcb4a7ecfeb1a0e8ce0db844b741f087a80e1b0600c97dc67867f85dfacfa35fab86226c00a
7
- data.tar.gz: 5e84455a99652b4bc346091bb9f9c7da37373d571b841b6cf151493e05f1916d3abed8390d95003f801847713d14dd7bbee89a10558bd2e86bad55e989169ada
6
+ metadata.gz: 76c158ea8d5b970c5c028237bde5c4f11c2db3806e54429412206a7de9f7ce5afbf4be70b67c981e941c5abdbd764fb33cd2d8331cfd40e81d78cb6c87b3e669
7
+ data.tar.gz: 0f9cb8fb7d4373e52282abf28d2283d301bc0a6e6d13eb7f0ef932af631dd37efc794b7c29e1675e927d89aca411f6bc38bc32cb7e149d87454220921c9d718a
@@ -11,14 +11,14 @@ module QAuthRubyClient
11
11
  photo_object = object.send(assoc_name) if object.respond_to?(assoc_name)
12
12
 
13
13
  if photo_object.present? && photo_object.persisted?
14
- edit_admin_image_path(photo_object,
14
+ main_app.edit_admin_image_path(photo_object,
15
15
  :redirect_url => redirect_url,
16
16
  :imageable_id => object.id,
17
17
  :imageable_type => object.class.to_s,
18
18
  :image_type => photo_object.class.name)
19
19
  else
20
20
  photo_object = object.send("build_#{assoc_name}")
21
- new_admin_image_path(:redirect_url => redirect_url,
21
+ main_app.new_admin_image_path(:redirect_url => redirect_url,
22
22
  :imageable_id => object.id,
23
23
  :imageable_type => object.class.to_s,
24
24
  :image_type => photo_object.class.name)
@@ -1,9 +1,9 @@
1
1
  module QAuthRubyClient
2
2
  module NotificationHelper
3
- def set_notification_messages(heading, alert, not_type)
3
+ def set_notification_messages(heading, alert, now_type)
4
4
  @heading = heading
5
5
  @alert = alert
6
- set_flash_message("#{@heading}: #{@alert}", not_type) if defined?(flash) && flash
6
+ set_flash_message("#{@heading}: #{@alert}", now_type) if defined?(flash) && flash
7
7
  end
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module QAuthRubyClient
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: q_auth_ruby_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krishnaprasad Varma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-28 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.0.4
39
+ version: 0.1.0
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: 0.0.1
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: 0.0.4
49
+ version: 0.1.0
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 0.0.1