gooddata 0.6.0.pre9 → 0.6.0.pre10
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/.rspec +3 -0
- data/.yardopts +19 -0
- data/Gemfile +5 -0
- data/README.md +191 -0
- data/Rakefile +18 -1
- data/bin/gooddata +74 -63
- data/doc/.gitignore +1 -0
- data/doc/css/.gitkeepme +1 -0
- data/doc/images/.gitkeepme +1 -0
- data/doc/images/background.png +0 -0
- data/doc/images/bg-callout-button.png +0 -0
- data/doc/images/header-logo.png +0 -0
- data/doc/images/logo-image.png +0 -0
- data/doc/js/.gitkeepme +1 -0
- data/doc/pages/GET_STARTED.md +309 -0
- data/doc/pages/HOMEPAGE.md +75 -0
- data/doc/pages/TUTORIALS.md +52 -0
- data/doc/pages/tutorial/BRICKS.md +257 -0
- data/doc/pages/tutorial/CREATING_A_MODEL.md +79 -0
- data/doc/pages/tutorial/CRUNCHING_NUMBERS.md +233 -0
- data/doc/pages/tutorial/TEST_DRIVEN_DEVELOPMENT.md +118 -0
- data/doc/pages/tutorial/YOUR_FIRST_PROJECT.md +52 -0
- data/doc/templates/default/class/dot/setup.rb +6 -0
- data/doc/templates/default/class/dot/superklass.erb +3 -0
- data/doc/templates/default/class/setup.rb +36 -0
- data/doc/templates/default/class/text/setup.rb +11 -0
- data/doc/templates/default/class/text/subclasses.erb +5 -0
- data/doc/templates/default/constant/text/header.erb +11 -0
- data/doc/templates/default/constant/text/setup.rb +3 -0
- data/doc/templates/default/docstring/setup.rb +51 -0
- data/doc/templates/default/docstring/text/abstract.erb +2 -0
- data/doc/templates/default/docstring/text/deprecated.erb +2 -0
- data/doc/templates/default/docstring/text/index.erb +2 -0
- data/doc/templates/default/docstring/text/note.erb +4 -0
- data/doc/templates/default/docstring/text/private.erb +2 -0
- data/doc/templates/default/docstring/text/returns_void.erb +1 -0
- data/doc/templates/default/docstring/text/text.erb +1 -0
- data/doc/templates/default/docstring/text/todo.erb +4 -0
- data/doc/templates/default/layout/dot/header.erb +6 -0
- data/doc/templates/default/layout/dot/setup.rb +14 -0
- data/doc/templates/default/method/setup.rb +3 -0
- data/doc/templates/default/method/text/header.erb +1 -0
- data/doc/templates/default/method_details/setup.rb +10 -0
- data/doc/templates/default/method_details/text/header.erb +10 -0
- data/doc/templates/default/method_details/text/method_signature.erb +12 -0
- data/doc/templates/default/method_details/text/setup.rb +10 -0
- data/doc/templates/default/module/dot/child.erb +1 -0
- data/doc/templates/default/module/dot/dependencies.erb +3 -0
- data/doc/templates/default/module/dot/header.erb +6 -0
- data/doc/templates/default/module/dot/info.erb +14 -0
- data/doc/templates/default/module/dot/setup.rb +14 -0
- data/doc/templates/default/module/setup.rb +164 -0
- data/doc/templates/default/module/text/children.erb +10 -0
- data/doc/templates/default/module/text/class_meths_list.erb +8 -0
- data/doc/templates/default/module/text/extends.erb +8 -0
- data/doc/templates/default/module/text/header.erb +7 -0
- data/doc/templates/default/module/text/includes.erb +8 -0
- data/doc/templates/default/module/text/instance_meths_list.erb +8 -0
- data/doc/templates/default/module/text/setup.rb +12 -0
- data/doc/templates/default/root/dot/child.erb +3 -0
- data/doc/templates/default/root/dot/setup.rb +5 -0
- data/doc/templates/default/tags/setup.rb +55 -0
- data/doc/templates/default/tags/text/example.erb +12 -0
- data/doc/templates/default/tags/text/index.erb +1 -0
- data/doc/templates/default/tags/text/option.erb +20 -0
- data/doc/templates/default/tags/text/overload.erb +19 -0
- data/doc/templates/default/tags/text/see.erb +11 -0
- data/doc/templates/default/tags/text/tag.erb +13 -0
- data/examples.rb +2 -2
- data/gooddata.gemspec +31 -26
- data/lib/gooddata/bricks/middleware/gooddata_middleware.rb +1 -1
- data/lib/gooddata/client.rb +65 -53
- data/lib/gooddata/commands/commands.rb +9 -0
- data/lib/gooddata/commands/process.rb +9 -8
- data/lib/gooddata/commands/projects.rb +29 -0
- data/lib/gooddata/commands/runners.rb +1 -1
- data/lib/gooddata/connection.rb +6 -4
- data/lib/gooddata/exceptions.rb +2 -1
- data/lib/gooddata/helpers.rb +1 -1
- data/lib/gooddata/model.rb +360 -189
- data/lib/gooddata/models/metadata.rb +1 -1
- data/lib/gooddata/models/metric.rb +2 -1
- data/lib/gooddata/models/project.rb +1 -1
- data/lib/gooddata/models/report.rb +0 -18
- data/lib/gooddata/version.rb +1 -1
- data/spec/blueprint_spec.rb +83 -43
- data/spec/data/additional_dataset_module.json +18 -0
- data/spec/data/blueprint_invalid.json +36 -0
- data/spec/data/blueprint_valid.json +37 -0
- data/spec/data/model_module.json +18 -0
- data/spec/{test_project_model_spec.json → data/test_project_model_spec.json} +4 -0
- data/spec/full_project_spec.rb +4 -3
- data/spec/helpers/blueprint_helper.rb +17 -0
- data/spec/merging_blueprints_spec.rb +23 -48
- data/spec/model_dsl_spec.rb +2 -2
- data/spec/model_spec.rb +44 -0
- data/spec/project_build_and_update_spec.rb +28 -0
- data/spec/spec_helper.rb +6 -0
- data/yard-server.sh +3 -0
- metadata +251 -74
- data/README.rdoc +0 -176
@@ -0,0 +1,14 @@
|
|
1
|
+
def init
|
2
|
+
@modules = object.children.select {|o| o.type == :module }
|
3
|
+
@classes = object.children.select {|o| o.type == :class }
|
4
|
+
sections :child, [:info], :classes, [T('class')], :header, [T('module')], :dependencies
|
5
|
+
end
|
6
|
+
|
7
|
+
def dependencies
|
8
|
+
return unless options.dependencies
|
9
|
+
erb(:dependencies)
|
10
|
+
end
|
11
|
+
|
12
|
+
def classes
|
13
|
+
@classes.map {|k| yieldall :object => k }.join("\n")
|
14
|
+
end
|
@@ -0,0 +1,164 @@
|
|
1
|
+
include Helpers::ModuleHelper
|
2
|
+
|
3
|
+
def init
|
4
|
+
sections :header, :box_info, :pre_docstring, T('docstring'), :children,
|
5
|
+
:constant_summary, [T('docstring')], :inherited_constants,
|
6
|
+
:attribute_summary, [:item_summary], :inherited_attributes,
|
7
|
+
:method_summary, [:item_summary], :inherited_methods,
|
8
|
+
:methodmissing, [T('method_details')],
|
9
|
+
:attribute_details, [T('method_details')],
|
10
|
+
:method_details_list, [T('method_details')]
|
11
|
+
end
|
12
|
+
|
13
|
+
def pre_docstring
|
14
|
+
return if object.docstring.blank?
|
15
|
+
erb(:pre_docstring)
|
16
|
+
end
|
17
|
+
|
18
|
+
def children
|
19
|
+
@inner = [[:modules, []], [:classes, []]]
|
20
|
+
object.children.each do |child|
|
21
|
+
@inner[0][1] << child if child.type == :module
|
22
|
+
@inner[1][1] << child if child.type == :class
|
23
|
+
end
|
24
|
+
@inner.map! {|v| [v[0], run_verifier(v[1].sort_by {|o| o.name.to_s })] }
|
25
|
+
return if (@inner[0][1].size + @inner[1][1].size) == 0
|
26
|
+
erb(:children)
|
27
|
+
end
|
28
|
+
|
29
|
+
def methodmissing
|
30
|
+
mms = object.meths(:inherited => true, :included => true)
|
31
|
+
return unless @mm = mms.find {|o| o.name == :method_missing && o.scope == :instance }
|
32
|
+
erb(:methodmissing)
|
33
|
+
end
|
34
|
+
|
35
|
+
def method_listing(include_specials = true)
|
36
|
+
return @smeths ||= method_listing.reject {|o| special_method?(o) } unless include_specials
|
37
|
+
return @meths if @meths
|
38
|
+
@meths = object.meths(:inherited => false, :included => !options.embed_mixins.empty?)
|
39
|
+
if options.embed_mixins.size > 0
|
40
|
+
@meths = @meths.reject {|m| options.embed_mixins_match?(m.namespace) == false }
|
41
|
+
end
|
42
|
+
@meths = sort_listing(prune_method_listing(@meths))
|
43
|
+
@meths
|
44
|
+
end
|
45
|
+
|
46
|
+
def special_method?(meth)
|
47
|
+
return true if meth.name(true) == '#method_missing'
|
48
|
+
return true if meth.constructor?
|
49
|
+
false
|
50
|
+
end
|
51
|
+
|
52
|
+
def attr_listing
|
53
|
+
return @attrs if @attrs
|
54
|
+
@attrs = []
|
55
|
+
object.inheritance_tree(true).each do |superclass|
|
56
|
+
next if superclass.is_a?(CodeObjects::Proxy)
|
57
|
+
next if options.embed_mixins.size > 0 &&
|
58
|
+
options.embed_mixins_match?(superclass) == false
|
59
|
+
[:class, :instance].each do |scope|
|
60
|
+
superclass.attributes[scope].each do |name, rw|
|
61
|
+
attr = prune_method_listing([rw[:read], rw[:write]].compact, false).first
|
62
|
+
@attrs << attr if attr
|
63
|
+
end
|
64
|
+
end
|
65
|
+
break if options.embed_mixins.empty?
|
66
|
+
end
|
67
|
+
@attrs = sort_listing(@attrs)
|
68
|
+
end
|
69
|
+
|
70
|
+
def constant_listing
|
71
|
+
return @constants if @constants
|
72
|
+
@constants = object.constants(:included => false, :inherited => false)
|
73
|
+
@constants += object.cvars
|
74
|
+
@constants = run_verifier(@constants)
|
75
|
+
@constants
|
76
|
+
end
|
77
|
+
|
78
|
+
def sort_listing(list)
|
79
|
+
list.sort_by {|o| [o.scope.to_s, o.name.to_s.downcase] }
|
80
|
+
end
|
81
|
+
|
82
|
+
def inherited_attr_list(&block)
|
83
|
+
object.inheritance_tree(true)[1..-1].each do |superclass|
|
84
|
+
next if superclass.is_a?(YARD::CodeObjects::Proxy)
|
85
|
+
next if options.embed_mixins.size > 0 && options.embed_mixins_match?(superclass) != false
|
86
|
+
attribs = superclass.attributes[:instance]
|
87
|
+
attribs = attribs.reject {|name, rw| object.child(:scope => :instance, :name => name) != nil }
|
88
|
+
attribs = attribs.sort_by {|args| args.first.to_s }.map {|n, m| m[:read] || m[:write] }
|
89
|
+
attribs = prune_method_listing(attribs, false)
|
90
|
+
yield superclass, attribs if attribs.size > 0
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
def inherited_constant_list(&block)
|
95
|
+
object.inheritance_tree(true)[1..-1].each do |superclass|
|
96
|
+
next if superclass.is_a?(YARD::CodeObjects::Proxy)
|
97
|
+
next if options.embed_mixins.size > 0 && options.embed_mixins_match?(superclass) != false
|
98
|
+
consts = superclass.constants(:included => false, :inherited => false)
|
99
|
+
consts = consts.reject {|const| object.child(:type => :constant, :name => const.name) != nil }
|
100
|
+
consts = consts.sort_by {|const| const.name.to_s }
|
101
|
+
consts = run_verifier(consts)
|
102
|
+
yield superclass, consts if consts.size > 0
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
def docstring_full(obj)
|
107
|
+
docstring = ""
|
108
|
+
if obj.tags(:overload).size == 1 && obj.docstring.empty?
|
109
|
+
docstring = obj.tag(:overload).docstring
|
110
|
+
else
|
111
|
+
docstring = obj.docstring
|
112
|
+
end
|
113
|
+
|
114
|
+
if docstring.summary.empty? && obj.tags(:return).size == 1 && obj.tag(:return).text
|
115
|
+
docstring = Docstring.new(obj.tag(:return).text.gsub(/\A([a-z])/) {|x| x.upcase }.strip)
|
116
|
+
end
|
117
|
+
|
118
|
+
docstring
|
119
|
+
end
|
120
|
+
|
121
|
+
def docstring_summary(obj)
|
122
|
+
docstring_full(obj).summary
|
123
|
+
end
|
124
|
+
|
125
|
+
def groups(list, type = "Method")
|
126
|
+
if groups_data = object.groups
|
127
|
+
list.each {|m| groups_data |= [m.group] if m.group && owner != m.namespace }
|
128
|
+
others = list.select {|m| !m.group || !groups_data.include?(m.group) }
|
129
|
+
groups_data.each do |name|
|
130
|
+
items = list.select {|m| m.group == name }
|
131
|
+
yield(items, name) unless items.empty?
|
132
|
+
end
|
133
|
+
else
|
134
|
+
others = []
|
135
|
+
group_data = {}
|
136
|
+
list.each do |meth|
|
137
|
+
if meth.group
|
138
|
+
(group_data[meth.group] ||= []) << meth
|
139
|
+
else
|
140
|
+
others << meth
|
141
|
+
end
|
142
|
+
end
|
143
|
+
group_data.each {|group, items| yield(items, group) unless items.empty? }
|
144
|
+
end
|
145
|
+
|
146
|
+
scopes(others) {|items, scope| yield(items, "#{scope.to_s.capitalize} #{type} Summary") }
|
147
|
+
end
|
148
|
+
|
149
|
+
def scopes(list)
|
150
|
+
[:class, :instance].each do |scope|
|
151
|
+
items = list.select {|m| m.scope == scope }
|
152
|
+
yield(items, scope) unless items.empty?
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
def mixed_into(object)
|
157
|
+
unless globals.mixed_into
|
158
|
+
globals.mixed_into = {}
|
159
|
+
list = run_verifier Registry.all(:class, :module)
|
160
|
+
list.each {|o| o.mixins.each {|m| (globals.mixed_into[m.path] ||= []) << o } }
|
161
|
+
end
|
162
|
+
|
163
|
+
globals.mixed_into[object.path] || []
|
164
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
def init
|
2
|
+
sections :header, [T('docstring')], :children, :includes, :extends,
|
3
|
+
:class_meths_list, :instance_meths_list
|
4
|
+
end
|
5
|
+
|
6
|
+
def class_meths
|
7
|
+
@classmeths ||= method_listing.select {|o| o.scope == :class }
|
8
|
+
end
|
9
|
+
|
10
|
+
def instance_meths
|
11
|
+
@instmeths ||= method_listing.select {|o| o.scope == :instance }
|
12
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
def init
|
2
|
+
tags = Tags::Library.visible_tags - [:abstract, :deprecated, :note, :todo]
|
3
|
+
create_tag_methods(tags - [:example, :option, :overload, :see])
|
4
|
+
sections :index, tags.map {|t| t.to_s.gsub('.', '_').to_sym }
|
5
|
+
sections.any(:overload).push(T('docstring'))
|
6
|
+
end
|
7
|
+
|
8
|
+
def return
|
9
|
+
if object.type == :method
|
10
|
+
return if object.constructor?
|
11
|
+
return if object.tags(:return).size == 1 && object.tag(:return).types == ['void']
|
12
|
+
end
|
13
|
+
tag(:return)
|
14
|
+
end
|
15
|
+
|
16
|
+
def param
|
17
|
+
tag(:param) if object.type == :method
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def tag(name, opts = nil)
|
23
|
+
return unless object.has_tag?(name)
|
24
|
+
opts ||= options_for_tag(name)
|
25
|
+
@no_names = true if opts[:no_names]
|
26
|
+
@no_types = true if opts[:no_types]
|
27
|
+
@name = name
|
28
|
+
out = erb('tag')
|
29
|
+
@no_names, @no_types = nil, nil
|
30
|
+
out
|
31
|
+
end
|
32
|
+
|
33
|
+
def create_tag_methods(tags)
|
34
|
+
tags.each do |tag|
|
35
|
+
tag_meth = tag.to_s.gsub('.', '_')
|
36
|
+
next if respond_to?(tag_meth)
|
37
|
+
instance_eval(<<-eof, __FILE__, __LINE__ + 1)
|
38
|
+
def #{tag_meth}; tag(#{tag.inspect}) end
|
39
|
+
eof
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def options_for_tag(tag)
|
44
|
+
opts = {:no_types => true, :no_names => true}
|
45
|
+
case Tags::Library.factory_method_for(tag)
|
46
|
+
when :with_types
|
47
|
+
opts[:no_types] = false
|
48
|
+
when :with_types_and_name
|
49
|
+
opts[:no_types] = false
|
50
|
+
opts[:no_names] = false
|
51
|
+
when :with_name
|
52
|
+
opts[:no_names] = false
|
53
|
+
end
|
54
|
+
opts
|
55
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<% if object.has_tag?(:example) %>
|
2
|
+
|
3
|
+
Examples:
|
4
|
+
---------
|
5
|
+
|
6
|
+
<% object.tags(:example).each_with_index do |tag, i| %>
|
7
|
+
<%= indent("# " + tag.name + "\n") if tag.name %>
|
8
|
+
<%= indent(format_source(tag.text)) + "\n" %>
|
9
|
+
<%= "\n" if i < object.tags(:example).size - 1 %>
|
10
|
+
<% end %>
|
11
|
+
<% end %>
|
12
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= yieldall %>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<% if object.has_tag?(:option) %>
|
2
|
+
<% object.parameters.each do |param, default| %>
|
3
|
+
<% tags = object.tags(:option).select {|x| x.name.to_s == param.to_s } %>
|
4
|
+
<% next if tags.empty? %>
|
5
|
+
Options Hash (<%= param %>):
|
6
|
+
--------------<%= hr(param.to_s.length) %>--
|
7
|
+
|
8
|
+
<% for tag in tags %>
|
9
|
+
<% text = "" %>
|
10
|
+
<% text += format_types(tag.pair.types || ['Object']) %>
|
11
|
+
<% text += " " + tag.pair.name.to_s %>
|
12
|
+
<% if tag.pair.defaults %>
|
13
|
+
<% text += " - default: " + tag.pair.defaults.join(", ") %>
|
14
|
+
<% end %>
|
15
|
+
<% text += " - " + tag.pair.text if tag.pair.text %>
|
16
|
+
<%= indent(wrap(text)) %>
|
17
|
+
|
18
|
+
<% end %>
|
19
|
+
<% end %>
|
20
|
+
<% end %>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<% if object.tags(:overload).size == 1 %>
|
2
|
+
<%= wrap(yieldall(:object => object.tag(:overload))) %>
|
3
|
+
<% elsif object.has_tag?(:overload) %>
|
4
|
+
Overloads:
|
5
|
+
----------
|
6
|
+
|
7
|
+
<% object.tags(:overload).each do |overload| %>
|
8
|
+
<% if overload.tags.size > 0 %>
|
9
|
+
<%= hr %>
|
10
|
+
|
11
|
+
<%= indent signature(overload) %>
|
12
|
+
|
13
|
+
<%= hr %>
|
14
|
+
|
15
|
+
<%= indent(wrap(yieldall(:object => overload))) %>
|
16
|
+
|
17
|
+
<% end %>
|
18
|
+
<% end %>
|
19
|
+
<% end %>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<% title = @label ? @label : YARD::Tags::Library.labels[@name] %>
|
2
|
+
<%= title %>:
|
3
|
+
<%= hr(title.length) %>-
|
4
|
+
|
5
|
+
<% object.tags(@name).each do |tag| %>
|
6
|
+
<% text = "" %>
|
7
|
+
<% text += format_types(tag.types) + " " unless @no_types || tag.types.nil? %>
|
8
|
+
<% text += tag.name.to_s + " " unless @no_names %>
|
9
|
+
<% text += "- " unless @no_names && @no_types %>
|
10
|
+
<% text += tag.text if tag.text && !tag.text.empty? %>
|
11
|
+
<%= indent wrap(text) %>
|
12
|
+
|
13
|
+
<% end %>
|
data/examples.rb
CHANGED
@@ -40,12 +40,12 @@ Dataset['dataset.test'].load 'data.csv'
|
|
40
40
|
p1.datasets['dataset.test'].load GoodData::Source::CsvFile.new 'data.csv'
|
41
41
|
|
42
42
|
# Populate a data set from the result of a SalesForce query
|
43
|
-
Dataset['dataset.test'].load GoodData::Source::SalesForce.new
|
43
|
+
Dataset['dataset.test'].load GoodData::Source::SalesForce.new({
|
44
44
|
:username => "test@example.org",
|
45
45
|
:password => "blahblah",
|
46
46
|
:key => "mkjlnlkh845n4lhasdsdagddddddfa",
|
47
47
|
:query => "SELECT Id, Name FROM Account"
|
48
|
-
}
|
48
|
+
})
|
49
49
|
|
50
50
|
# Get a representation of a specific project
|
51
51
|
p1 = Project['afawtv356b6usdfsdf34vt']
|
data/gooddata.gemspec
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
5
2
|
$:.push File.expand_path("../lib/", __FILE__)
|
6
3
|
require "gooddata/version"
|
@@ -8,40 +5,48 @@ require "gooddata/version"
|
|
8
5
|
Gem::Specification.new do |s|
|
9
6
|
s.name = %q{gooddata}
|
10
7
|
s.version = GoodData::VERSION
|
11
|
-
|
8
|
+
s.licenses = ['BSD']
|
9
|
+
|
12
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
|
-
s.authors = [
|
11
|
+
s.authors = [
|
12
|
+
"Pavel Kolesnikov",
|
13
|
+
"Thomas Watson Steen"
|
14
|
+
]
|
15
|
+
|
14
16
|
s.summary = %q{A convenient Ruby wrapper around the GoodData RESTful API}
|
15
17
|
s.date = %q{2012-12-17}
|
16
18
|
s.description = %q{Use the GoodData::Client class to integrate GoodData into your own application or use the CLI to work with GoodData directly from the command line.}
|
17
19
|
s.email = %q{pavel@gooddata.com}
|
18
20
|
s.executables = ["gooddata"]
|
19
21
|
s.extra_rdoc_files = [
|
20
|
-
|
21
|
-
|
22
|
+
"LICENSE",
|
23
|
+
"README.md"
|
22
24
|
]
|
23
25
|
s.files = `git ls-files`.split($/)
|
24
26
|
s.homepage = %q{http://github.com/gooddata/gooddata-ruby}
|
25
27
|
s.require_paths = ["lib"]
|
26
28
|
s.rubygems_version = "1.3.7"
|
27
|
-
|
28
|
-
s.add_development_dependency "rake"
|
29
|
-
s.add_development_dependency "rspec"
|
30
29
|
|
31
|
-
s.
|
32
|
-
s.
|
33
|
-
s.
|
34
|
-
s.
|
35
|
-
s.
|
36
|
-
s.
|
37
|
-
s.add_dependency "highline"
|
38
|
-
s.add_dependency "gli"
|
39
|
-
s.add_dependency "pry"
|
40
|
-
s.add_dependency "erubis"
|
41
|
-
s.add_dependency "activesupport"
|
42
|
-
s.add_dependency "restforce"
|
43
|
-
s.add_dependency "salesforce_bulk"
|
44
|
-
# s.add_dependency "twitter"
|
45
|
-
|
46
|
-
end
|
30
|
+
s.add_development_dependency "rake", "~> 10.1.1"
|
31
|
+
s.add_development_dependency "redcarpet", "~> 3.1.1"
|
32
|
+
s.add_development_dependency "rspec", "~> 2.14.1"
|
33
|
+
s.add_development_dependency "simplecov", "~> 0.8.2"
|
34
|
+
s.add_development_dependency "yard", "~> 0.8.7.3"
|
35
|
+
s.add_development_dependency "yard-rspec", "~> 0.1"
|
47
36
|
|
37
|
+
s.add_dependency "activesupport", "~> 4.0.3"
|
38
|
+
s.add_dependency "bundler", "~> 1.5.3"
|
39
|
+
s.add_dependency "erubis", "~> 2.7.0"
|
40
|
+
s.add_dependency "gli", "~> 2.9.0"
|
41
|
+
s.add_dependency "highline", "~> 1.6.21"
|
42
|
+
s.add_dependency "i18n", "~> 0.6.9"
|
43
|
+
s.add_dependency "json", "~> 1.8.1"
|
44
|
+
s.add_dependency "json_pure", "~> 1.8.1"
|
45
|
+
s.add_dependency "multi_json", "~> 1.9.0"
|
46
|
+
s.add_dependency "parseconfig", "~> 1.0.4"
|
47
|
+
s.add_dependency "pry", "~> 0.9.12.6"
|
48
|
+
s.add_dependency "restforce", "~> 1.4.3"
|
49
|
+
s.add_dependency "rest-client", "~> 1.6.7"
|
50
|
+
s.add_dependency "rubyzip", "~> 1.1.0"
|
51
|
+
s.add_dependency "salesforce_bulk", "~> 1.0.3"
|
52
|
+
end
|