zuora_connect 1.1.8 → 1.1.9

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: 0e69a360ae4ddfd0e2793151f2f7a9fb4bd6ffcf
4
- data.tar.gz: c3118b2555904860da5ab920cbff4638a0888580
3
+ metadata.gz: 2762ab43644f638ead4fe47256aa01ad2f04a93c
4
+ data.tar.gz: f5015069c7bc31289b277b110fe06e56f1755a4a
5
5
  SHA512:
6
- metadata.gz: 701286b3fe4dcd8d57c9ae83a4e0eee79766a38a62783d1b71a1836154f41ad9c8663bddcc5bacb59f612b63b6ca24626cb097072f8fd8ca389c7d4b88d0f3c0
7
- data.tar.gz: 46971c7a9cff22fb1c5271a11263fb4adab38967461dd75016dc0d80de470a12fb0affca70d7ab7b0c95528283f8d46e13c53524d3fa3f08c5e8bc909126cadd
6
+ metadata.gz: 29300013a0577dfef84c996a7025c89aa24da913d4ec04cf9f112ed440041f9d83a4976a2eb277229002c83c1ede8108d8e9fedec98bfad903148674cf1767ad
7
+ data.tar.gz: 115e88e314d84db9c95981580665b0d64e39b146ac8ae2093c7fed3ebc98ca3f7d1d9445cc242011528c1b1cd374ca10f8502793713ffcfe0a47154a9730412f
@@ -6,7 +6,6 @@
6
6
  # require 'apartment/elevators/domain'
7
7
  #require 'apartment/elevators/subdomain'
8
8
  # require 'apartment/elevators/first_subdomain'
9
-
10
9
  #
11
10
  # Apartment Configuration
12
11
  #
@@ -1,19 +1,11 @@
1
1
  class DatatableGenerator < Rails::Generators::NamedBase
2
2
 
3
3
  def create_datatable_file
4
-
5
- require 'active_record'
6
- require 'pg'
7
-
8
- configuration = YAML::load(IO.read('config/database.yml'))
9
- ActiveRecord::Base.establish_connection(configuration['development'])
10
-
11
4
  columns = "#{class_name}".constantize.send("column_names")
12
5
  column_data = []
13
6
  columns.each do |col|
14
- column_data << "\"#{plural_name}\" => #{plural_name.singularize}.#{col}"
7
+ column_data << "\"#{plural_name}__#{col}\" => #{plural_name.singularize}.#{col}"
15
8
  end
16
- puts column_data
17
9
 
18
10
  create_file "app/datatables/#{file_name}_datatable.rb", <<-FILE
19
11
  class #{class_name}Datatable
@@ -4,7 +4,6 @@ require 'apartment'
4
4
  require 'httparty'
5
5
  require 'zuora_api'
6
6
  require 'activerecord/session_store'
7
-
8
7
  module ZuoraConnect
9
8
  class Engine < ::Rails::Engine
10
9
  isolate_namespace ZuoraConnect
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.1.8"
2
+ VERSION = "1.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-session_store
@@ -146,7 +146,6 @@ files:
146
146
  - db/migrate/20170131211919_add_sessions_table.rb
147
147
  - lib/generators/datatable/USAGE
148
148
  - lib/generators/datatable/datatable_generator.rb
149
- - lib/generators/datatable/templates/datatable.rb
150
149
  - lib/tasks/zuora_connect_tasks.rake
151
150
  - lib/zuora_connect.rb
152
151
  - lib/zuora_connect/configuration.rb
File without changes