naranya_ecm-sdk 0.0.40 → 0.0.41

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: bb12b9f96be85891c4bdb771336a1188f8d97d40
4
- data.tar.gz: 680268da4b3ed590de625d32aee26d76a52764ff
3
+ metadata.gz: edbecada2ac547b8b240b1837dbdf521feabbc22
4
+ data.tar.gz: d7164b81f91713648f718664d88004a8733da199
5
5
  SHA512:
6
- metadata.gz: 293bf2f5660427115469ce31089a7e82684ff5faccc25cba3fc5d5ef0fe157cfd67714dc1ab3c8d3efafb3868ec9776ebe42c4d1cfb3fcd4eb9c78c54ba8738f
7
- data.tar.gz: 485b330b2cd103747136533252496f2284e37859971765386bec2be9a4cf0a4b3a3e2f2d5b7ae1f232e4aca182737a26ca3ec7e858748a19858eec1feacfc9ca
6
+ metadata.gz: 37e1d2b3ffd2c367f6c5814f5bab27a79daa1358edb51b6d7f3d047879ac8ac7ed5b6109961abeda46deab79efdb352163e6dadc1a1314123eb08ac13c9bf219
7
+ data.tar.gz: ae03270c59dbf3a20a7dba932cf9a08d43702c858c56630652e4803f24743e158a25a05fab128dee5614dade4a0e3ab2ac9057d4a3899218acc4613f87fd8175
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
- = NaranyaEcm
1
+ = NaranyaEcm SDK
2
2
 
3
- TODO: Write a gem description
3
+ nContent SDK for Ruby
4
4
 
5
5
  == Installation
6
6
 
@@ -16,8 +16,20 @@ Or install it yourself as:
16
16
 
17
17
  $ gem install naranya_ecm
18
18
 
19
+ == Optimized Fog loading
20
+
21
+ Since NaranyaEcm doesn't know which parts of Fog you intend to use, it will just
22
+ load the entire library. If you prefer to load fewer classes into your
23
+ application, which will reduce load time and memory use, you need to load those
24
+ parts of Fog yourself before loading the nContent SDK:
25
+
26
+ In your Gemfile:
27
+
28
+ gem 'fog', '~>1.20', require: 'fog/aws/storage'
29
+ gem 'naranya_ecm-sdk'
30
+
19
31
  == Development: Running on console:
20
-
32
+
21
33
  $ bundle console
22
34
 
23
35
  == Usage
@@ -25,4 +37,3 @@ Or install it yourself as:
25
37
  TODO: Write usage instructions here
26
38
 
27
39
  == Contributing
28
-
@@ -1,3 +1,3 @@
1
1
  module NaranyaEcm
2
- VERSION = "0.0.40"
2
+ VERSION = "0.0.41"
3
3
  end
@@ -6,11 +6,10 @@ require 'active_support/dependencies/autoload'
6
6
  require 'active_support/core_ext/hash/indifferent_access.rb'
7
7
  require 'yaml'
8
8
 
9
- require 'fog'
10
-
9
+ require 'fog/aws/storage' unless defined?(::Fog::AWS::Storage)
11
10
 
12
11
  module NaranyaEcm
13
-
12
+
14
13
  extend ActiveSupport::Autoload
15
14
 
16
15
  autoload_under 'rest' do
@@ -109,7 +108,7 @@ module NaranyaEcm
109
108
  .with_indifferent_access
110
109
  setup { |config| yml_config.each { |key, val| config.send "#{key}=".to_sym, val } }
111
110
  end
112
-
111
+
113
112
  protected
114
113
 
115
114
  def auto_conf
@@ -129,5 +128,5 @@ module NaranyaEcm
129
128
  end
130
129
 
131
130
  end
132
-
133
- end
131
+
132
+ end
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency "activemodel", "~> 4.0", ">= 4.0.5"
24
24
  spec.add_dependency "httparty", "~> 0.13", ">= 0.13.1"
25
25
  spec.add_dependency "aasm", "~> 3.2", ">= 3.2.1"
26
+ spec.add_dependency "fog-core", "1.25.0"
26
27
  spec.add_dependency "fog", "~> 1.22", ">= 1.22.1"
27
28
 
28
29
  spec.add_development_dependency "bundler", "~> 1.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naranya_ecm-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.40
4
+ version: 0.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Quintanilla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-04 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -90,6 +90,20 @@ dependencies:
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
92
  version: 3.2.1
93
+ - !ruby/object:Gem::Dependency
94
+ name: fog-core
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - '='
98
+ - !ruby/object:Gem::Version
99
+ version: 1.25.0
100
+ type: :runtime
101
+ prerelease: false
102
+ version_requirements: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - '='
105
+ - !ruby/object:Gem::Version
106
+ version: 1.25.0
93
107
  - !ruby/object:Gem::Dependency
94
108
  name: fog
95
109
  requirement: !ruby/object:Gem::Requirement