fgraph 0.3.3 → 0.3.4

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.
Files changed (4) hide show
  1. data/History +3 -0
  2. data/VERSION.yml +1 -1
  3. data/lib/fgraph/client.rb +4 -0
  4. metadata +4 -4
data/History CHANGED
@@ -1,3 +1,6 @@
1
+ v0.3.4
2
+ * Add FGraph::Client#update_options method
3
+
1
4
  v0.3.3
2
5
  * Fix rake fgraph:setup not creating fgraph.yml config on gem install
3
6
  * Update Rdoc
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 3
2
+ :patch: 4
3
3
  :major: 0
4
4
  :build:
5
5
  :minor: 3
data/lib/fgraph/client.rb CHANGED
@@ -46,6 +46,10 @@ module FGraph
46
46
  @options = options
47
47
  end
48
48
 
49
+ def update_options(options={})
50
+ @options.merge!(options)
51
+ end
52
+
49
53
  def oauth_authorize_url(redirect_uri, options={})
50
54
  FGraph.oauth_authorize_url(self.options[:client_id], redirect_uri, options)
51
55
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fgraph
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Herryanto Siatono
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-20 00:00:00 +08:00
18
+ date: 2010-09-09 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency