xnlogic 1.0.4 → 1.0.5

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: bf6642954f98a009ba85907406706b15f4fb876b
4
- data.tar.gz: 642836230ed76d0801fd742d68c068ab3e02a86a
3
+ metadata.gz: 1defb348d0e95ae0df85a94a6fbabcadb89706a1
4
+ data.tar.gz: 090b829d3aeb3d0032dee84a9ad2eef4ace4cf8e
5
5
  SHA512:
6
- metadata.gz: a3851f5264bfedb9878e087e0bc027ebb20d7ab9a3bc7bf701840b8c7ac25ffe4e3c09f19612123537a237b15604945a2649e67e5c77d41007a26d674cc9e8a0
7
- data.tar.gz: e1375b82416106fee57cb156e69505323d084a4df7b5eff88f1201c61f2fa547cd5a2c93277c94bcf72824c84d0f2a268045adea0c78cc8a78c3c027d455d09e
6
+ metadata.gz: dc66bc3cf5ffeffff698789668d01a7e89e9d78345f8a99a7a88293de916fe02c4009d019f8307a14892cc27198a0fe37e563f24a5513a1c877858081baba574
7
+ data.tar.gz: 2abde2ab097a2d02e6de170d6d0b940632d1865ecd574a30cf666c62070bc9fe1c083783c5db9a6f66540babfc356139b4eb91634182f46592b12021c21725ff
@@ -10,7 +10,7 @@ module Xnlogic
10
10
  @thor = thor
11
11
 
12
12
  @name = app_name.chomp("/").tr('-', '_') # remove trailing slash if present
13
- @base_name = options.fetch('base', 'xnlogic')
13
+ @base_name = options.fetch('base', name)
14
14
  @base = Pathname.pwd.join(base_name)
15
15
  @app = @base.join(name)
16
16
  end
data/lib/xnlogic/cli.rb CHANGED
@@ -54,7 +54,7 @@ module Xnlogic
54
54
  end
55
55
 
56
56
  desc "application NAME [OPTIONS]", "Creates a skeleton of an XN Logic application"
57
- method_option "base", type: :string, default: 'xnlogic', banner:
57
+ method_option "base", type: :string, banner:
58
58
  "The project is structured ./base_directory/application_directory. Name the base_directory"
59
59
  method_option "cpus", type: :numeric, default: 2, banner:
60
60
  "Number of Virtual CPUs the Development VM should use"
@@ -34,7 +34,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
34
34
  nfs_setting = RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/ || Vagrant.has_plugin?("vagrant-winnfsd")
35
35
 
36
36
  # Setup auxiliary synced folder
37
- config.vm.synced_folder vagrant_dir + "/xn_apps", "/opt/xn_apps", create: true, id: "xn-apps", :nfs => nfs_setting, :mount_options => ['nolock,vers=3,udp']
37
+ # config.vm.synced_folder vagrant_dir + "/xn_apps", "/opt/xn_apps", create: true, id: "xn-apps", :nfs => nfs_setting, :mount_options => ['nolock,vers=3,udp']
38
38
  # config.vm.synced_folder "../data", "/vagrant_data"
39
39
 
40
40
  # Allow caching to be used (see the vagrant-cachier plugin)
@@ -42,8 +42,9 @@ silent sudo dpkg-reconfigure --frontend noninteractive tzdata
42
42
  hr
43
43
  echo "Installing base packages"
44
44
  silent sudo apt-get update
45
- silent sudo apt-get install -y --force-yes software-properties-common python-software-properties
46
- silent sudo apt-get install -y git curl wget vim maven node nodejs npm unzip zsh htop
45
+ sudo apt-get install -y --force-yes software-properties-common python-software-properties
46
+ sudo apt-get install -y git curl wget vim maven nodejs npm unzip zsh htop
47
+ sudo ln -s /usr/bin/nodejs /usr/bin/node
47
48
 
48
49
  hr
49
50
  echo "Configuring shell"
@@ -108,14 +109,16 @@ rm pacer-mcfly-0.7.2.pre-java.gem pacer-model-0.6.3.pre-java.gem
108
109
 
109
110
  hr
110
111
  echo "Configuring XN"
111
- mkdir -p /opt/xn_apps
112
+ sudo mkdir -p /opt/xn_apps
113
+ sudo chown vagrant /opt/xn_apps
112
114
  cd
113
115
  wget https://www.dropbox.com/s/1j4hyrzlfgra9gp/xn.dev.1.tbz -O $HOME/xn.dev.1.tbz --quiet
114
116
  tar -xjf xn.dev.1.tbz
115
117
  cd xn.dev
116
118
  source script/setup_stack
117
119
  cd fe/xn.js
118
- npm install --loglevel silent
120
+ rm -r node_modules
121
+ sudo npm install --loglevel silent
119
122
  rake --quiet new_tb_version bundle_fe_server fresh_fe_config fe_server_db_init
120
123
 
121
124
  hr
@@ -1,3 +1,3 @@
1
1
  module Xnlogic
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,85 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xnlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darrick Wiebe
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-30 00:00:00.000000000 Z
11
+ date: 2014-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
15
  version_requirements: !ruby/object:Gem::Requirement
23
16
  requirements:
24
- - - ">="
17
+ - - '>='
25
18
  - !ruby/object:Gem::Version
26
19
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
20
  requirement: !ruby/object:Gem::Requirement
30
21
  requirements:
31
- - - "~>"
22
+ - - '>='
32
23
  - !ruby/object:Gem::Version
33
- version: '1.7'
34
- type: :development
24
+ version: '0'
35
25
  prerelease: false
26
+ type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
36
29
  version_requirements: !ruby/object:Gem::Requirement
37
30
  requirements:
38
- - - "~>"
31
+ - - ~>
39
32
  - !ruby/object:Gem::Version
40
33
  version: '1.7'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
34
  requirement: !ruby/object:Gem::Requirement
44
35
  requirements:
45
- - - "~>"
36
+ - - ~>
46
37
  - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
38
+ version: '1.7'
49
39
  prerelease: false
40
+ type: :development
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
50
43
  version_requirements: !ruby/object:Gem::Requirement
51
44
  requirements:
52
- - - "~>"
45
+ - - ~>
53
46
  - !ruby/object:Gem::Version
54
47
  version: '10.0'
55
- - !ruby/object:Gem::Dependency
56
- name: ronn
57
48
  requirement: !ruby/object:Gem::Requirement
58
49
  requirements:
59
- - - "~>"
50
+ - - ~>
60
51
  - !ruby/object:Gem::Version
61
- version: 0.7.3
62
- type: :development
52
+ version: '10.0'
63
53
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 0.7.3
54
+ type: :development
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: xn_gem_release_tasks
71
- requirement: !ruby/object:Gem::Requirement
57
+ version_requirements: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ">="
59
+ - - '>='
74
60
  - !ruby/object:Gem::Version
75
61
  version: 0.1.8
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
62
+ requirement: !ruby/object:Gem::Requirement
79
63
  requirements:
80
- - - ">="
64
+ - - '>='
81
65
  - !ruby/object:Gem::Version
82
66
  version: 0.1.8
67
+ prerelease: false
68
+ type: :development
83
69
  description: Build graph applications with XN Logic.
84
70
  email:
85
71
  - dw@xnlogic.com
@@ -88,7 +74,7 @@ executables:
88
74
  extensions: []
89
75
  extra_rdoc_files: []
90
76
  files:
91
- - ".gitignore"
77
+ - .gitignore
92
78
  - Gemfile
93
79
  - README.md
94
80
  - Rakefile
@@ -97,8 +83,6 @@ files:
97
83
  - lib/xnlogic/cli.rb
98
84
  - lib/xnlogic/cli/application.rb
99
85
  - lib/xnlogic/friendly_errors.rb
100
- - lib/xnlogic/man/xnlogic
101
- - lib/xnlogic/man/xnlogic.txt
102
86
  - lib/xnlogic/templates/application/.rspec.tt
103
87
  - lib/xnlogic/templates/application/Gemfile.tt
104
88
  - lib/xnlogic/templates/application/Readme.md.tt
@@ -129,27 +113,29 @@ files:
129
113
  - lib/xnlogic/version.rb
130
114
  - man/xnlogic.ronn
131
115
  - xnlogic.gemspec
116
+ - lib/xnlogic/man/xnlogic
117
+ - lib/xnlogic/man/xnlogic.txt
132
118
  homepage: https://xnlogic.com
133
119
  licenses: []
134
120
  metadata: {}
135
- post_install_message:
121
+ post_install_message:
136
122
  rdoc_options: []
137
123
  require_paths:
138
124
  - lib
139
125
  required_ruby_version: !ruby/object:Gem::Requirement
140
126
  requirements:
141
- - - ">="
127
+ - - '>='
142
128
  - !ruby/object:Gem::Version
143
129
  version: '0'
144
130
  required_rubygems_version: !ruby/object:Gem::Requirement
145
131
  requirements:
146
- - - ">="
132
+ - - '>='
147
133
  - !ruby/object:Gem::Version
148
134
  version: '0'
149
135
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.2.2
152
- signing_key:
136
+ rubyforge_project:
137
+ rubygems_version: 2.1.9
138
+ signing_key:
153
139
  specification_version: 4
154
140
  summary: XN Logic command-line tools
155
141
  test_files: []