maestrano-rails 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35bf1f2d904cb912bf46a06d92633755c9b4b640
4
- data.tar.gz: 6e87a9276274f02622b11102befa04f109d9014e
3
+ metadata.gz: 8b41c6fccbbd1b5d9ac4336786286ec91848f3d3
4
+ data.tar.gz: 715195785119d9d99742cc49a7e72644bf5b688a
5
5
  SHA512:
6
- metadata.gz: cc8677849bf80c26234e943eece25ff19193a99ca91e0f47c773fdc2010f1fcfb4b945d5d693b3e0ab7625c8c1dab3980bd9c88d58dbbc2264688eaf09a4c8ef
7
- data.tar.gz: 3cd2ff975dc820cc9255a91e9124d6ea7d31b7e671b75ef849b604d38d403a53d91571f182b9f6643b28c559a646942758110589370d8fc5157dda7b662f21c7
6
+ metadata.gz: 768fd38b1d0bdf5e84ccc77ab140c11b0ba7d5b24508f134bee2eedbd726a040a355f8d19c441bac64a41ea03d8a365fcfd09ae099bb2c65aeab4650ed6273fe
7
+ data.tar.gz: 0ea94c34c3da2138b845c760ffc81fcbc1487893e4d290933a30b42a7e6535d9af95b2db16c17fde2678b0bf660d09110a104727ea1682885da475b5d37b37fb
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
2
2
 
3
3
  gem 'rails'
4
4
  gem 'jquery-rails'
5
- gem 'maestrano', '~> 0.10.0'
5
+ gem 'maestrano', '~> 0.11.0'
6
6
 
7
7
  group :test do
8
8
  gem 'test-unit'
data/Gemfile.lock CHANGED
@@ -36,6 +36,8 @@ GEM
36
36
  database_cleaner (1.3.0)
37
37
  descendants_tracker (0.0.4)
38
38
  thread_safe (~> 0.3, >= 0.3.1)
39
+ domain_name (0.5.23)
40
+ unf (>= 0.0.5, < 1.0.0)
39
41
  durran-validatable (2.0.1)
40
42
  erubis (2.7.0)
41
43
  faraday (0.9.0)
@@ -52,6 +54,8 @@ GEM
52
54
  hashie (3.2.0)
53
55
  highline (1.6.21)
54
56
  hike (1.2.3)
57
+ http-cookie (1.0.2)
58
+ domain_name (~> 0.5)
55
59
  httparty (0.13.3)
56
60
  json (~> 1.8)
57
61
  multi_xml (>= 0.5.2)
@@ -73,7 +77,7 @@ GEM
73
77
  leshill-will_paginate (2.3.11)
74
78
  macaddr (1.7.1)
75
79
  systemu (~> 2.6.2)
76
- maestrano (0.10.0)
80
+ maestrano (0.11.0)
77
81
  httparty (~> 0.13)
78
82
  json (~> 1.8)
79
83
  mime-types (~> 1.25)
@@ -99,7 +103,7 @@ GEM
99
103
  multi_json (1.10.1)
100
104
  multi_xml (0.5.5)
101
105
  multipart-post (2.0.0)
102
- netrc (0.10.2)
106
+ netrc (0.10.3)
103
107
  nokogiri (1.6.3.1)
104
108
  mini_portile (= 0.6.0)
105
109
  oauth2 (1.0.0)
@@ -130,7 +134,8 @@ GEM
130
134
  rake (10.3.2)
131
135
  rdoc (4.1.1)
132
136
  json (~> 1.4)
133
- rest-client (1.7.2)
137
+ rest-client (1.8.0)
138
+ http-cookie (>= 1.0.2, < 2.0)
134
139
  mime-types (>= 1.16, < 3.0)
135
140
  netrc (~> 0.7)
136
141
  shoulda (3.5.0)
@@ -149,7 +154,7 @@ GEM
149
154
  activesupport (>= 3.0)
150
155
  sprockets (~> 2.8)
151
156
  sqlite3 (1.3.9)
152
- systemu (2.6.4)
157
+ systemu (2.6.5)
153
158
  test-unit (2.5.5)
154
159
  thor (0.19.1)
155
160
  thread_safe (0.3.4)
@@ -159,6 +164,9 @@ GEM
159
164
  polyglot (>= 0.3.1)
160
165
  tzinfo (1.2.1)
161
166
  thread_safe (~> 0.1)
167
+ unf (0.1.4)
168
+ unf_ext
169
+ unf_ext (0.0.6)
162
170
  uuid (2.3.7)
163
171
  macaddr (~> 1.0)
164
172
 
@@ -170,7 +178,7 @@ DEPENDENCIES
170
178
  database_cleaner
171
179
  jeweler
172
180
  jquery-rails
173
- maestrano (~> 0.10.0)
181
+ maestrano (~> 0.11.0)
174
182
  mocha
175
183
  mongoid
176
184
  rails
data/README.md CHANGED
@@ -81,7 +81,7 @@ class User < ActiveRecord::Base
81
81
  user.name = maestrano.first_name
82
82
  user.surname = maestrano.last_name
83
83
  user.email = maestrano.email
84
- #user.company = maestrano.company_name
84
+
85
85
  #user.country_alpha2 = maestrano.country
86
86
  #user.some_required_field = 'some-appropriate-default-value'
87
87
  end
@@ -115,6 +115,13 @@ This generator also adds a configuration block to your group model which looks l
115
115
  class Organization < ActiveRecord::Base
116
116
  maestrano_group_via :provider, :uid do |group,maestrano|
117
117
  group.name = maestrano.company_name || "Your Group"
118
+
119
+ # group.principal_email = maestrano.email
120
+ # group.city = maestrano.city
121
+ # group.olson_tz = maestrano.timezone
122
+ # group.country_alpha2 = maestrano.country
123
+ # group.currency_code = maestrano.currency
124
+ # group.some_required_field = 'some-appropriate-default-value'
118
125
  end
119
126
 
120
127
  ...
@@ -11,9 +11,9 @@ module Maestrano
11
11
  user.name = maestrano.first_name
12
12
  user.surname = maestrano.last_name
13
13
  user.email = maestrano.email
14
- #user.company = maestrano.company_name
15
- #user.country_alpha2 = maestrano.country
16
- #user.some_required_field = 'some-appropriate-default-value'
14
+
15
+ # user.country_alpha2 = maestrano.country
16
+ # user.some_required_field = 'some-appropriate-default-value'
17
17
  end
18
18
 
19
19
  CONTENT
@@ -22,9 +22,12 @@ CONTENT
22
22
  # Enable Maestrano for this group
23
23
  maestrano_group_via :provider, :uid do |group, maestrano|
24
24
  group.name = (maestrano.company_name || "Default Group name")
25
- #group.country_alpha2 = maestrano.country
26
- #group.free_trial_end_at = maestrano.free_trial_end_at
27
- #group.some_required_field = 'some-appropriate-default-value'
25
+ # group.principal_email = maestrano.email
26
+ # group.city = maestrano.city
27
+ # group.olson_tz = maestrano.timezone
28
+ # group.country_alpha2 = maestrano.country
29
+ # group.currency_code = maestrano.currency
30
+ # group.some_required_field = 'some-appropriate-default-value'
28
31
  end
29
32
 
30
33
  CONTENT
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: maestrano-rails 0.10.0 ruby lib
5
+ # stub: maestrano-rails 0.11.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "maestrano-rails"
9
- s.version = "0.10.0"
9
+ s.version = "0.11.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Arnaud Lachaume"]
14
- s.date = "2015-01-12"
14
+ s.date = "2015-03-24"
15
15
  s.description = "Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details."
16
16
  s.email = ["arnaud.lachaume@maestrano.com"]
17
17
  s.extra_rdoc_files = [
@@ -59,18 +59,18 @@ Gem::Specification.new do |s|
59
59
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
60
  s.add_runtime_dependency(%q<rails>, [">= 0"])
61
61
  s.add_runtime_dependency(%q<jquery-rails>, [">= 0"])
62
- s.add_runtime_dependency(%q<maestrano>, ["~> 0.10.0"])
62
+ s.add_runtime_dependency(%q<maestrano>, ["~> 0.11.0"])
63
63
  s.add_development_dependency(%q<jeweler>, [">= 0"])
64
64
  else
65
65
  s.add_dependency(%q<rails>, [">= 0"])
66
66
  s.add_dependency(%q<jquery-rails>, [">= 0"])
67
- s.add_dependency(%q<maestrano>, ["~> 0.10.0"])
67
+ s.add_dependency(%q<maestrano>, ["~> 0.11.0"])
68
68
  s.add_dependency(%q<jeweler>, [">= 0"])
69
69
  end
70
70
  else
71
71
  s.add_dependency(%q<rails>, [">= 0"])
72
72
  s.add_dependency(%q<jquery-rails>, [">= 0"])
73
- s.add_dependency(%q<maestrano>, ["~> 0.10.0"])
73
+ s.add_dependency(%q<maestrano>, ["~> 0.11.0"])
74
74
  s.add_dependency(%q<jeweler>, [">= 0"])
75
75
  end
76
76
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maestrano-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-12 00:00:00.000000000 Z
11
+ date: 2015-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.10.0
47
+ version: 0.11.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.10.0
54
+ version: 0.11.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jeweler
57
57
  requirement: !ruby/object:Gem::Requirement